Class DataObjectVariableEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
-
- com.flowable.dataobject.engine.impl.persistence.entity.DataObjectVariableEntityImpl
-
- All Implemented Interfaces:
DataObjectVariable,DataObjectVariableEntity,HasRevision,Entity,ValueFields
public class DataObjectVariableEntityImpl extends AbstractDataObjectEngineEntity implements DataObjectVariableEntity
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayRefbyteArrayRefprotected ObjectcachedValueprotected StringdataInstanceIdprotected booleandeletedprotected DoubledoubleValueprotected booleanforcedUpdateprotected LonglongValueprotected Stringnameprotected StringtextValueprotected StringtextValue2protected VariableTypetypeprotected StringtypeName-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description DataObjectVariableEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidensureByteArrayRefInitialized()voidforceUpdate()ByteArrayRefgetByteArrayRef()byte[]getBytes()ObjectgetCachedValue()StringgetDataInstanceId()DoublegetDoubleValue()StringgetExecutionId()LonggetLongValue()StringgetName()ObjectgetPersistentState()StringgetProcessInstanceId()StringgetScopeId()StringgetScopeType()StringgetSubScopeId()StringgetTaskId()StringgetTextValue()StringgetTextValue2()VariableTypegetType()StringgetTypeName()ObjectgetValue()voidsetBytes(byte[] bytes)voidsetCachedValue(Object cachedValue)voidsetDataInstanceId(String dataInstanceId)voidsetDoubleValue(Double doubleValue)voidsetLongValue(Long longValue)voidsetName(String name)voidsetTextValue(String textValue)voidsetTextValue2(String textValue2)voidsetType(VariableType type)voidsetTypeName(String typeName)voidsetValue(Object value)StringtoString()-
Methods inherited from class com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.flowable.dataobject.api.runtime.DataObjectVariable
getId
-
Methods inherited from interface com.flowable.dataobject.engine.impl.persistence.entity.DataObjectVariableEntity
setId
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
-
-
-
Field Detail
-
name
protected String name
-
type
protected VariableType type
-
typeName
protected String typeName
-
dataInstanceId
protected String dataInstanceId
-
longValue
protected Long longValue
-
doubleValue
protected Double doubleValue
-
textValue
protected String textValue
-
textValue2
protected String textValue2
-
byteArrayRef
protected ByteArrayRef byteArrayRef
-
cachedValue
protected Object cachedValue
-
forcedUpdate
protected boolean forcedUpdate
-
deleted
protected boolean deleted
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
forceUpdate
public void forceUpdate()
- Specified by:
forceUpdatein interfaceDataObjectVariableEntity
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceDataObjectVariable- Specified by:
getBytesin interfaceValueFields- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes)
- Specified by:
setBytesin interfaceDataObjectVariableEntity- Specified by:
setBytesin interfaceValueFields
-
getByteArrayRef
public ByteArrayRef getByteArrayRef()
- Specified by:
getByteArrayRefin interfaceDataObjectVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized()
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceDataObjectVariable
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfaceDataObjectVariableEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDataObjectVariableEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceDataObjectVariable- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getDataInstanceId
public String getDataInstanceId()
- Specified by:
getDataInstanceIdin interfaceDataObjectVariable- Returns:
- the data instance id of the variable
-
setDataInstanceId
public void setDataInstanceId(String dataInstanceId)
- Specified by:
setDataInstanceIdin interfaceDataObjectVariableEntity
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceDataObjectVariable
-
setTypeName
public void setTypeName(String typeName)
- Specified by:
setTypeNamein interfaceDataObjectVariableEntity
-
getType
public VariableType getType()
- Specified by:
getTypein interfaceDataObjectVariableEntity
-
setType
public void setType(VariableType type)
- Specified by:
setTypein interfaceDataObjectVariableEntity
-
getLongValue
public Long getLongValue()
- Specified by:
getLongValuein interfaceDataObjectVariable- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
public void setLongValue(Long longValue)
- Specified by:
setLongValuein interfaceDataObjectVariableEntity- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValuein interfaceDataObjectVariable- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
public void setDoubleValue(Double doubleValue)
- Specified by:
setDoubleValuein interfaceDataObjectVariableEntity- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
public String getTextValue()
- Specified by:
getTextValuein interfaceDataObjectVariable- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
public void setTextValue(String textValue)
- Specified by:
setTextValuein interfaceDataObjectVariableEntity- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
public String getTextValue2()
- Specified by:
getTextValue2in interfaceDataObjectVariable- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
public void setTextValue2(String textValue2)
- Specified by:
setTextValue2in interfaceDataObjectVariableEntity- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
public Object getCachedValue()
- Specified by:
getCachedValuein interfaceDataObjectVariableEntity- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
public void setCachedValue(Object cachedValue)
- Specified by:
setCachedValuein interfaceDataObjectVariableEntity- Specified by:
setCachedValuein interfaceValueFields
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceValueFields
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceValueFields
-
getScopeId
public String getScopeId()
- Specified by:
getScopeIdin interfaceValueFields
-
getSubScopeId
public String getSubScopeId()
- Specified by:
getSubScopeIdin interfaceValueFields
-
getScopeType
public String getScopeType()
- Specified by:
getScopeTypein interfaceValueFields
-
getTaskId
public String getTaskId()
- Specified by:
getTaskIdin interfaceValueFields
-
-