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
Modifier and TypeFieldDescriptionprotected ByteArrayRef
protected Object
protected String
protected boolean
protected Double
protected boolean
protected Long
protected String
protected String
protected String
protected VariableType
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
byte[]
getBytes()
getName()
getType()
getValue()
void
setBytes
(byte[] bytes) void
setCachedValue
(Object cachedValue) void
setDataInstanceId
(String dataInstanceId) void
setDoubleValue
(Double doubleValue) void
setLongValue
(Long longValue) void
void
setTextValue
(String textValue) void
setTextValue2
(String textValue2) void
setType
(VariableType type) void
setTypeName
(String typeName) void
toString()
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 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:
getPersistentState
in interfaceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdate
in interfaceDataObjectVariableEntity
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceDataObjectVariable
- Specified by:
getBytes
in interfaceValueFields
- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes) - Specified by:
setBytes
in interfaceDataObjectVariableEntity
- Specified by:
setBytes
in interfaceValueFields
-
getByteArrayRef
- Specified by:
getByteArrayRef
in interfaceDataObjectVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValue
in interfaceDataObjectVariable
-
setValue
- Specified by:
setValue
in interfaceDataObjectVariableEntity
-
setName
- Specified by:
setName
in interfaceDataObjectVariableEntity
-
getName
- Specified by:
getName
in interfaceDataObjectVariable
- Specified by:
getName
in interfaceValueFields
- Returns:
- the name of the variable
-
getDataInstanceId
- Specified by:
getDataInstanceId
in interfaceDataObjectVariable
- Returns:
- the data instance id of the variable
-
setDataInstanceId
- Specified by:
setDataInstanceId
in interfaceDataObjectVariableEntity
-
getTypeName
- Specified by:
getTypeName
in interfaceDataObjectVariable
-
setTypeName
- Specified by:
setTypeName
in interfaceDataObjectVariableEntity
-
getType
- Specified by:
getType
in interfaceDataObjectVariableEntity
-
setType
- Specified by:
setType
in interfaceDataObjectVariableEntity
-
getLongValue
- Specified by:
getLongValue
in interfaceDataObjectVariable
- Specified by:
getLongValue
in interfaceValueFields
- Returns:
- the long value, if any, or null.
-
setLongValue
- Specified by:
setLongValue
in interfaceDataObjectVariableEntity
- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValue
in interfaceDataObjectVariable
- Specified by:
getDoubleValue
in interfaceValueFields
- Returns:
- the double value, if any, or null.
-
setDoubleValue
- Specified by:
setDoubleValue
in interfaceDataObjectVariableEntity
- Specified by:
setDoubleValue
in interfaceValueFields
-
getTextValue
- Specified by:
getTextValue
in interfaceDataObjectVariable
- Specified by:
getTextValue
in interfaceValueFields
- Returns:
- the first text value, if any, or null.
-
setTextValue
- Specified by:
setTextValue
in interfaceDataObjectVariableEntity
- Specified by:
setTextValue
in interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2
in interfaceDataObjectVariable
- Specified by:
getTextValue2
in interfaceValueFields
- Returns:
- the second text value, if any, or null.
-
setTextValue2
- Specified by:
setTextValue2
in interfaceDataObjectVariableEntity
- Specified by:
setTextValue2
in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValue
in interfaceDataObjectVariableEntity
- Specified by:
getCachedValue
in interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValue
in interfaceDataObjectVariableEntity
- Specified by:
setCachedValue
in interfaceValueFields
-
toString
-
getProcessInstanceId
- Specified by:
getProcessInstanceId
in interfaceValueFields
-
getExecutionId
- Specified by:
getExecutionId
in interfaceValueFields
-
getScopeId
- Specified by:
getScopeId
in interfaceValueFields
-
getSubScopeId
- Specified by:
getSubScopeId
in interfaceValueFields
-
getScopeType
- Specified by:
getScopeType
in interfaceValueFields
-
getTaskId
- Specified by:
getTaskId
in interfaceValueFields
-