Class CustomSettingsEntity

  • All Implemented Interfaces:

    @Serializable() 
    public abstract class CustomSettingsEntity
    extends AbstractSettingsEntity
                        

    Represents the parent class for custom settings entity. For each custom setting entity, it could be treated like a property in a JSON object, for example:

    { "customSettingOffline": { "key1": "value1", "key2": "value2" } }

    'customSettingOffline' is one custom setting entity, the configurationName is 'customSettingOffline', toJsonString should return the string format of the value: "{"key1": "value1","key2": "value2"}.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final transient String configurationName
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomSettingsEntity(String configurationName)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getConfigurationName()
      final String getKeyPath()
      • Methods inherited from class com.sap.cloud.mobile.foundation.settings.policies.AbstractSettingsEntity

        toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomSettingsEntity

        CustomSettingsEntity(String configurationName)