Class DetachedDataObjectInstanceVariableContainer
java.lang.Object
com.flowable.dataobject.engine.impl.runtime.DetachedDataObjectInstanceVariableContainer
- All Implemented Interfaces:
- DataObjectInstanceVariableContainer,- VariableContainer
- Direct Known Subclasses:
- DataObjectDataDictionaryTypedDetachedInstance
public class DetachedDataObjectInstanceVariableContainer
extends Object
implements DataObjectInstanceVariableContainer
- Author:
- Filip Hrisafov
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionDetachedDataObjectInstanceVariableContainer(com.fasterxml.jackson.databind.node.ObjectNode data, String lookupId, String tenantId, DataObjectDefinition dataObjectDefinition, ServiceRegistryDataObjectModel objectModel) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodegetData()Returns the id of the master data definition this instance belongs to.Returns the key of the master data definition this instance belongs to.getId()Returns the lookup id of this data object instance, which needs to be unique only within the same data object definition and source.The tenant id of the definition<T> TGet a value for the givenpropertywith the givevalueTypebooleanCheck whether the data object instance has the given propertyprotected <T> TnodeToValue(String property, com.fasterxml.jackson.databind.JsonNode valueNode, Class<T> valueType) An iterable of all the names of the properties for this data object instance.<T> TremoveValue(String property, Class<T> propertyClass) voidvoidsetTransientVariable(String variableName, Object variableValue) <T> voidtoString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.flowable.dataobject.api.runtime.DataObjectInstanceVariableContainergetBoolean, getDate, getDouble, getInteger, getLocalDate, getLong, getString, getVariable, hasVariable, removeValue, setVariable
- 
Field Details- 
dataprotected final com.fasterxml.jackson.databind.node.ObjectNode data
- 
lookupId
- 
definitionId
- 
definitionKey
- 
tenantId
- 
fieldNamesToType
 
- 
- 
Constructor Details- 
DetachedDataObjectInstanceVariableContainerpublic DetachedDataObjectInstanceVariableContainer(com.fasterxml.jackson.databind.node.ObjectNode data, String lookupId, String tenantId, DataObjectDefinition dataObjectDefinition, ServiceRegistryDataObjectModel objectModel) 
 
- 
- 
Method Details- 
getId- Specified by:
- getIdin interface- DataObjectInstanceVariableContainer
 
- 
setId- Specified by:
- setIdin interface- DataObjectInstanceVariableContainer
 
- 
getLookupIdDescription copied from interface:DataObjectInstanceVariableContainerReturns the lookup id of this data object instance, which needs to be unique only within the same data object definition and source.- Specified by:
- getLookupIdin interface- DataObjectInstanceVariableContainer
- Returns:
- the lookup id of this data object, as given and used by the data source managing this data object instance
 
- 
getDefinitionIdDescription copied from interface:DataObjectInstanceVariableContainerReturns the id of the master data definition this instance belongs to.- Specified by:
- getDefinitionIdin interface- DataObjectInstanceVariableContainer
- Returns:
- the id of the master data definition
 
- 
getDefinitionKeyDescription copied from interface:DataObjectInstanceVariableContainerReturns the key of the master data definition this instance belongs to.- Specified by:
- getDefinitionKeyin interface- DataObjectInstanceVariableContainer
- Returns:
- the key of the master data definition
 
- 
getValueDescription copied from interface:DataObjectInstanceVariableContainerGet a value for the givenpropertywith the givevalueType- Specified by:
- getValuein interface- DataObjectInstanceVariableContainer
- Type Parameters:
- T- the type of the value
- Parameters:
- property- the name of the property
- valueType- the type of the value
- Returns:
- the value for the given property
 
- 
nodeToValue
- 
hasValueDescription copied from interface:DataObjectInstanceVariableContainerCheck whether the data object instance has the given property- Specified by:
- hasValuein interface- DataObjectInstanceVariableContainer
- Parameters:
- property- the name of the property
- Returns:
- trueif this data object instance has a property with given name,- falseotherwise
 
- 
setValue- Specified by:
- setValuein interface- DataObjectInstanceVariableContainer
 
- 
removeValue- Specified by:
- removeValuein interface- DataObjectInstanceVariableContainer
 
- 
setTransientVariable- Specified by:
- setTransientVariablein interface- VariableContainer
 
- 
getTenantIdDescription copied from interface:DataObjectInstanceVariableContainerThe tenant id of the definition- Specified by:
- getTenantIdin interface- DataObjectInstanceVariableContainer
- Specified by:
- getTenantIdin interface- VariableContainer
- Returns:
- the tenant id of the definition
 
- 
propertyNamesDescription copied from interface:DataObjectInstanceVariableContainerAn iterable of all the names of the properties for this data object instance.- Specified by:
- propertyNamesin interface- DataObjectInstanceVariableContainer
- Returns:
- iterator of the properties
 
- 
getDatapublic com.fasterxml.jackson.databind.node.ObjectNode getData()- Specified by:
- getDatain interface- DataObjectInstanceVariableContainer
 
- 
toString
 
-