Class BusinessData

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<String,​Object>

    @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class BusinessData
    extends HashMap<String,​Object>
    implements Serializable
    Retrieve business data value. Depending on the object attribute loading policy, the API returns either the full object in JSON representation or the HATEOAS links to the object attributes. Long attributes use a string representation added in 7.0.1 as a workaround for the JavaScript integer spectrum issue. Representation of object attributes with an _always load_ policy: ```json { \"persistenceId\": _number_, // <-- deprecated \"persistenceId_string\": \"_number_\" \"persistenceVersion\": _number_, // <-- deprecated \"persistenceVersion_string\": \"_number_\" \"attributeName\":_attributeType_ ... } ``` The string representation added in 7.0.1 for Long attributes is a workaround for the JavaScript integer spectrum issue. HATEOAS representation of object attribute with a _load when needed_ policy: ```json \"links\":[ { \"rel\":_string_ \"href\":_uri_ } ] ```
    See Also:
    Serialized Form
    • Field Detail

      • JSON_PROPERTY_PERSISTENCE_VERSION_STRING

        public static final String JSON_PROPERTY_PERSISTENCE_VERSION_STRING
        See Also:
        Constant Field Values
    • Constructor Detail

      • BusinessData

        public BusinessData()
    • Method Detail

      • persistenceIdString

        public BusinessData persistenceIdString​(String persistenceIdString)
      • getPersistenceIdString

        @Nullable
        public String getPersistenceIdString()
        Id of the business data object
        Returns:
        persistenceIdString
      • setPersistenceIdString

        public void setPersistenceIdString​(String persistenceIdString)
      • persistenceVersionString

        public BusinessData persistenceVersionString​(String persistenceVersionString)
      • getPersistenceVersionString

        @Nullable
        public String getPersistenceVersionString()
        Version of the business data object instance
        Returns:
        persistenceVersionString
      • setPersistenceVersionString

        public void setPersistenceVersionString​(String persistenceVersionString)