Annotation Type PreferenceEntity


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface PreferenceEntity
    Marks a class as an SharedPreference data. This class will have a mapping SharedPreference with Upper camel case.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Preference entity name of the SharedPreference persistence. w
    • Element Detail

      • value

        java.lang.String value
        Preference entity name of the SharedPreference persistence. w

        If not used, the class generated entity class name will be upper camel case of the class name.

        Returns:
        The Preference name of the SharedPreference entity.
        Default:
        ""