Package org.bonitasoft.web.client.model
Class BusinessData
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.bonitasoft.web.client.model.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PERSISTENCE_ID_STRINGstatic StringJSON_PROPERTY_PERSISTENCE_VERSION_STRING
-
Constructor Summary
Constructors Constructor Description BusinessData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPersistenceIdString()Id of the business data objectStringgetPersistenceVersionString()Version of the business data object instanceinthashCode()BusinessDatapersistenceIdString(String persistenceIdString)BusinessDatapersistenceVersionString(String persistenceVersionString)voidsetPersistenceIdString(String persistenceIdString)voidsetPersistenceVersionString(String persistenceVersionString)StringtoString()-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
JSON_PROPERTY_PERSISTENCE_ID_STRING
public static final String JSON_PROPERTY_PERSISTENCE_ID_STRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERSISTENCE_VERSION_STRING
public static final String JSON_PROPERTY_PERSISTENCE_VERSION_STRING
- See Also:
- Constant Field Values
-
-
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)
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
- Overrides:
toStringin classAbstractMap<String,Object>
-
-