public class DatabaseSchemaDataObjectInstanceEntityImpl extends org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision implements DatabaseSchemaDataObjectInstanceEntity
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
data |
protected String |
definitionId |
protected String |
definitionKey |
protected String |
lookupIdProperty |
Constructor and Description |
---|
DatabaseSchemaDataObjectInstanceEntityImpl(Map<String,Object> data,
String lookupIdProperty,
String definitionId,
String definitionKey) |
Modifier and Type | Method and Description |
---|---|
String |
getDefinitionId()
Returns the id of the master data definition this instance belongs to.
|
String |
getDefinitionKey()
Returns the key of the master data definition this instance belongs to.
|
String |
getId() |
String |
getIdPrefix() |
String |
getLookupId()
Returns the lookup id of this data object instance, which needs to be unique only within the same data object definition and source.
|
Object |
getPersistentState() |
<T> T |
getValue(String property,
Class<T> valueType) |
boolean |
hasValue(String property) |
Iterator<String> |
propertyNames() |
void |
setId(String id) |
void |
setTransientVariable(String variableName,
Object variableValue) |
<T> void |
setValue(String property,
T value) |
String |
toString() |
getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setVariable
getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
getBoolean, getDate, getDouble, getInteger, getLong, getString, getVariable, hasVariable
protected final String lookupIdProperty
protected final String definitionId
protected final String definitionKey
public String getLookupId()
DataObjectInstance
getLookupId
in interface DataObjectInstance
public String getDefinitionId()
DataObjectInstance
getDefinitionId
in interface DataObjectInstance
public String getDefinitionKey()
DataObjectInstance
getDefinitionKey
in interface DataObjectInstance
public <T> T getValue(String property, Class<T> valueType)
getValue
in interface DatabaseSchemaDataObjectInstance
public boolean hasValue(String property)
hasValue
in interface DatabaseSchemaDataObjectInstance
public <T> void setValue(String property, T value)
setValue
in interface DatabaseSchemaDataObjectInstanceEntity
public Iterator<String> propertyNames()
propertyNames
in interface DatabaseSchemaDataObjectInstanceEntity
public void setTransientVariable(String variableName, Object variableValue)
setTransientVariable
in interface org.flowable.common.engine.api.variable.VariableContainer
public String getId()
getId
in interface org.flowable.common.engine.impl.persistence.entity.Entity
getId
in class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
public void setId(String id)
setId
in interface org.flowable.common.engine.impl.persistence.entity.Entity
setId
in class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
public String getIdPrefix()
getIdPrefix
in interface org.flowable.common.engine.impl.persistence.entity.Entity
public Object getPersistentState()
getPersistentState
in interface org.flowable.common.engine.impl.persistence.entity.Entity
Copyright © 2019. All rights reserved.