Class AppVariableEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntity
-
- com.flowable.app.engine.impl.persistence.entity.AbstractAppEngineEntity
-
- com.flowable.app.engine.impl.persistence.entity.AppVariableEntityImpl
-
- All Implemented Interfaces:
AppVariableEntity
,AppVariable
,Serializable
,HasRevision
,Entity
,ValueFields
public class AppVariableEntityImpl extends AbstractAppEngineEntity implements AppVariableEntity, ValueFields, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
appKey
protected ByteArrayRef
byteArrayRef
protected Object
cachedValue
protected boolean
deleted
protected Double
doubleValue
protected boolean
forcedUpdate
protected Long
longValue
protected String
name
protected String
tenantId
protected String
textValue
protected VariableType
type
protected String
typeName
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
-
Constructor Summary
Constructors Constructor Description AppVariableEntityImpl()
-
Method Summary
-
Methods inherited from class com.flowable.app.engine.impl.persistence.entity.AbstractAppEngineEntity
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.core.app.api.AppVariable
getId
-
Methods inherited from interface com.flowable.app.engine.impl.persistence.entity.AppVariableEntity
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
-
appKey
protected String appKey
-
tenantId
protected String tenantId
-
longValue
protected Long longValue
-
doubleValue
protected Double doubleValue
-
textValue
protected String textValue
-
byteArrayRef
protected ByteArrayRef byteArrayRef
-
cachedValue
protected Object cachedValue
-
forcedUpdate
protected boolean forcedUpdate
-
deleted
protected boolean deleted
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
forceUpdate
public void forceUpdate()
- Specified by:
forceUpdate
in interfaceAppVariableEntity
-
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interfaceValueFields
-
setBytes
public void setBytes(byte[] bytes)
- Specified by:
setBytes
in interfaceAppVariableEntity
- Specified by:
setBytes
in interfaceValueFields
-
getByteArrayRef
public ByteArrayRef getByteArrayRef()
- Specified by:
getByteArrayRef
in interfaceAppVariableEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized()
-
getValue
public Object getValue()
- Specified by:
getValue
in interfaceAppVariable
-
setValue
public void setValue(Object value)
- Specified by:
setValue
in interfaceAppVariable
- Specified by:
setValue
in interfaceAppVariableEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceAppVariableEntity
-
getName
public String getName()
Description copied from interface:AppVariable
variable name- Specified by:
getName
in interfaceAppVariable
- Specified by:
getName
in interfaceValueFields
-
getAppKey
public String getAppKey()
Description copied from interface:AppVariable
reference to the app definition key- Specified by:
getAppKey
in interfaceAppVariable
-
setAppKey
public void setAppKey(String appKey)
- Specified by:
setAppKey
in interfaceAppVariableEntity
-
getTenantId
public String getTenantId()
Description copied from interface:AppVariable
the tenant identifier of this app variable- Specified by:
getTenantId
in interfaceAppVariable
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceAppVariableEntity
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceAppVariable
-
setTypeName
public void setTypeName(String typeName)
- Specified by:
setTypeName
in interfaceAppVariable
- Specified by:
setTypeName
in interfaceAppVariableEntity
-
getType
public VariableType getType()
- Specified by:
getType
in interfaceAppVariableEntity
-
setType
public void setType(VariableType type)
- Specified by:
setType
in interfaceAppVariableEntity
-
getLongValue
public Long getLongValue()
- Specified by:
getLongValue
in interfaceValueFields
-
setLongValue
public void setLongValue(Long longValue)
- Specified by:
setLongValue
in interfaceAppVariableEntity
- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValue
in interfaceValueFields
-
setDoubleValue
public void setDoubleValue(Double doubleValue)
- Specified by:
setDoubleValue
in interfaceAppVariableEntity
- Specified by:
setDoubleValue
in interfaceValueFields
-
getTextValue
public String getTextValue()
- Specified by:
getTextValue
in interfaceValueFields
-
setTextValue
public void setTextValue(String textValue)
- Specified by:
setTextValue
in interfaceAppVariableEntity
- Specified by:
setTextValue
in interfaceValueFields
-
getCachedValue
public Object getCachedValue()
- Specified by:
getCachedValue
in interfaceAppVariableEntity
- Specified by:
getCachedValue
in interfaceValueFields
-
setCachedValue
public void setCachedValue(Object cachedValue)
- Specified by:
setCachedValue
in interfaceAppVariableEntity
- Specified by:
setCachedValue
in interfaceValueFields
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceId
in interfaceValueFields
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionId
in interfaceValueFields
-
getScopeId
public String getScopeId()
- Specified by:
getScopeId
in interfaceValueFields
-
getSubScopeId
public String getSubScopeId()
- Specified by:
getSubScopeId
in interfaceValueFields
-
getScopeType
public String getScopeType()
- Specified by:
getScopeType
in interfaceValueFields
-
getTaskId
public String getTaskId()
- Specified by:
getTaskId
in interfaceValueFields
-
getTextValue2
public String getTextValue2()
- Specified by:
getTextValue2
in interfaceValueFields
-
setTextValue2
public void setTextValue2(String textValue2)
- Specified by:
setTextValue2
in interfaceValueFields
-
-