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
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected Stringprotected booleanprotected Doubleprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected VariableTypeprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidbyte[]getBytes()getName()getType()getValue()voidsetBytes(byte[] bytes) voidsetCachedValue(Object cachedValue) voidsetDataInstanceId(String dataInstanceId) voidsetDoubleValue(Double doubleValue) voidsetLongValue(Long longValue) voidvoidsetTextValue(String textValue) voidsetTextValue2(String textValue2) voidsetType(VariableType type) voidsetTypeName(String typeName) voidtoString()Methods inherited from class com.flowable.dataobject.engine.impl.persistence.entity.AbstractDataObjectEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.flowable.dataobject.api.runtime.DataObjectVariable
getIdMethods inherited from interface com.flowable.dataobject.engine.impl.persistence.entity.DataObjectVariableEntity
setIdMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
name
-
type
-
typeName
-
dataInstanceId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
DataObjectVariableEntityImpl
public DataObjectVariableEntityImpl()
-
-
Method Details
-
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
- Specified by:
getByteArrayRefin interfaceDataObjectVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValuein interfaceDataObjectVariable
-
setValue
- Specified by:
setValuein interfaceDataObjectVariableEntity
-
setName
- Specified by:
setNamein interfaceDataObjectVariableEntity
-
getName
- Specified by:
getNamein interfaceDataObjectVariable- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getDataInstanceId
- Specified by:
getDataInstanceIdin interfaceDataObjectVariable- Returns:
- the data instance id of the variable
-
setDataInstanceId
- Specified by:
setDataInstanceIdin interfaceDataObjectVariableEntity
-
getTypeName
- Specified by:
getTypeNamein interfaceDataObjectVariable
-
setTypeName
- Specified by:
setTypeNamein interfaceDataObjectVariableEntity
-
getType
- Specified by:
getTypein interfaceDataObjectVariableEntity
-
setType
- Specified by:
setTypein interfaceDataObjectVariableEntity
-
getLongValue
- Specified by:
getLongValuein interfaceDataObjectVariable- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValuein interfaceDataObjectVariableEntity- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceDataObjectVariable- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceDataObjectVariableEntity- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceDataObjectVariable- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValuein interfaceDataObjectVariableEntity- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceDataObjectVariable- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2in interfaceDataObjectVariableEntity- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceDataObjectVariableEntity- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceDataObjectVariableEntity- Specified by:
setCachedValuein interfaceValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceValueFields
-