Package org.bonitasoft.web.client.model
Class BusinessData
java.lang.Object
org.bonitasoft.web.client.model.BusinessData
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.12.0")
public class BusinessData
extends 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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the additional (undeclared) properties.Return the additional (undeclared) property with the specified name.Id of the business data objectVersion of the business data object instanceinthashCode()persistenceIdString(String persistenceIdString) persistenceVersionString(String persistenceVersionString) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPersistenceIdString(String persistenceIdString) voidsetPersistenceVersionString(String persistenceVersionString) toString()
-
Field Details
-
JSON_PROPERTY_PERSISTENCE_ID_STRING
- See Also:
-
JSON_PROPERTY_PERSISTENCE_VERSION_STRING
- See Also:
-
-
Constructor Details
-
BusinessData
public BusinessData()
-
-
Method Details
-
persistenceIdString
-
getPersistenceIdString
Id of the business data object- Returns:
- persistenceIdString
-
setPersistenceIdString
-
persistenceVersionString
-
getPersistenceVersionString
Version of the business data object instance- Returns:
- persistenceVersionString
-
setPersistenceVersionString
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- the name of the propertyvalue- the value of the property- Returns:
- self reference
-
getAdditionalProperties
Return the additional (undeclared) properties.- Returns:
- the additional (undeclared) properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- the name of the property- Returns:
- the additional (undeclared) property with the specified name
-
equals
-
hashCode
public int hashCode() -
toString
-