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,org.flowable.common.engine.impl.db.HasRevision,org.flowable.common.engine.impl.persistence.entity.Entity,org.flowable.variable.api.types.ValueFields
public class DataObjectVariableEntityImpl
extends AbstractDataObjectEngineEntity
implements DataObjectVariableEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.common.engine.impl.persistence.entity.ByteArrayRefprotected Objectprotected Stringprotected booleanprotected Doubleprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected org.flowable.variable.api.types.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 voidvoidorg.flowable.common.engine.impl.persistence.entity.ByteArrayRefbyte[]getBytes()getName()org.flowable.variable.api.types.VariableTypegetType()getValue()voidsetBytes(byte[] bytes) voidsetCachedValue(Object cachedValue) voidsetDataInstanceId(String dataInstanceId) voidsetDoubleValue(Double doubleValue) voidsetLongValue(Long longValue) voidvoidsetTextValue(String textValue) voidsetTextValue2(String textValue2) voidsetType(org.flowable.variable.api.types.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
protected org.flowable.variable.api.types.VariableType type -
typeName
-
dataInstanceId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
protected org.flowable.common.engine.impl.persistence.entity.ByteArrayRef byteArrayRef -
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
DataObjectVariableEntityImpl
public DataObjectVariableEntityImpl()
-
-
Method Details
-
getPersistentState
- Specified by:
getPersistentStatein interfaceorg.flowable.common.engine.impl.persistence.entity.Entity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceDataObjectVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceDataObjectVariable- Specified by:
getBytesin interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytesin interfaceDataObjectVariableEntity- Specified by:
setBytesin interfaceorg.flowable.variable.api.types.ValueFields
-
getByteArrayRef
public org.flowable.common.engine.impl.persistence.entity.ByteArrayRef 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 interfaceorg.flowable.variable.api.types.ValueFields- 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
public org.flowable.variable.api.types.VariableType getType()- Specified by:
getTypein interfaceDataObjectVariableEntity
-
setType
public void setType(org.flowable.variable.api.types.VariableType type) - Specified by:
setTypein interfaceDataObjectVariableEntity
-
getLongValue
- Specified by:
getLongValuein interfaceDataObjectVariable- Specified by:
getLongValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValuein interfaceDataObjectVariableEntity- Specified by:
setLongValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceDataObjectVariable- Specified by:
getDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValuein interfaceDataObjectVariableEntity- Specified by:
setDoubleValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceDataObjectVariable- Specified by:
getTextValuein interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValuein interfaceDataObjectVariableEntity- Specified by:
setTextValuein interfaceorg.flowable.variable.api.types.ValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceDataObjectVariable- Specified by:
getTextValue2in interfaceorg.flowable.variable.api.types.ValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2in interfaceDataObjectVariableEntity- Specified by:
setTextValue2in interfaceorg.flowable.variable.api.types.ValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceDataObjectVariableEntity- Specified by:
getCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceDataObjectVariableEntity- Specified by:
setCachedValuein interfaceorg.flowable.variable.api.types.ValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getExecutionId
- Specified by:
getExecutionIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeId
- Specified by:
getScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getSubScopeId
- Specified by:
getSubScopeIdin interfaceorg.flowable.variable.api.types.ValueFields
-
getScopeType
- Specified by:
getScopeTypein interfaceorg.flowable.variable.api.types.ValueFields
-
getTaskId
- Specified by:
getTaskIdin interfaceorg.flowable.variable.api.types.ValueFields
-