Class VariableInstanceEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.VariableInstanceEntityImpl
-
- All Implemented Interfaces:
Serializable,BulkDeleteable,HasRevision,Entity,VariableInstance,VariableInstanceEntity,ValueFields
public class VariableInstanceEntityImpl extends AbstractEntity implements VariableInstanceEntity, ValueFields, BulkDeleteable, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayRefbyteArrayRefprotected ObjectcachedValueprotected booleandeletedprotected DoubledoubleValueprotected StringexecutionIdprotected booleanforcedUpdateprotected LonglongValueprotected Stringnameprotected StringprocessInstanceIdprotected StringtaskIdprotected StringtextValueprotected StringtextValue2protected VariableTypetypeprotected StringtypeName-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
-
Constructor Summary
Constructors Constructor Description VariableInstanceEntityImpl()
-
Method Summary
-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isInserted, isUpdated, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.VariableInstanceEntity
isDeleted, setDeleted
-
-
-
-
Field Detail
-
name
protected String name
-
type
protected VariableType type
-
typeName
protected String typeName
-
processInstanceId
protected String processInstanceId
-
executionId
protected String executionId
-
taskId
protected String taskId
-
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()
Description copied from interface:EntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceEntity
-
setExecution
public void setExecution(ExecutionEntity execution)
- Specified by:
setExecutionin interfaceVariableInstanceEntity
-
forceUpdate
public void forceUpdate()
- Specified by:
forceUpdatein interfaceVariableInstanceEntity
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceVariableInstance
-
setExecutionId
public void setExecutionId(String executionId)
- Specified by:
setExecutionIdin interfaceVariableInstance
-
getBytes
public byte[] getBytes()
- Specified by:
getBytesin interfaceValueFields- Returns:
- the byte array value, if any, or null.
-
setBytes
public void setBytes(byte[] bytes)
Description copied from interface:ValueFieldsSets the byte array value. A value of null is allowed.- Specified by:
setBytesin interfaceValueFields
-
getByteArrayRef
public ByteArrayRef getByteArrayRef()
- Specified by:
getByteArrayRefin interfaceVariableInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized()
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceVariableInstance
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfaceVariableInstance
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceVariableInstance
-
getName
public String getName()
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceVariableInstance
-
setTypeName
public void setTypeName(String typeName)
- Specified by:
setTypeNamein interfaceVariableInstance
-
getType
public VariableType getType()
- Specified by:
getTypein interfaceVariableInstanceEntity
-
setType
public void setType(VariableType type)
- Specified by:
setTypein interfaceVariableInstanceEntity
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceValueFields- Specified by:
getProcessInstanceIdin interfaceVariableInstance- Returns:
- the process instance id of the variable
-
getTaskId
public String getTaskId()
- Specified by:
getTaskIdin interfaceValueFields- Specified by:
getTaskIdin interfaceVariableInstance- Returns:
- the task id of the variable
-
setTaskId
public void setTaskId(String taskId)
- Specified by:
setTaskIdin interfaceVariableInstance
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceValueFields- Specified by:
getExecutionIdin interfaceVariableInstance- Returns:
- the execution id of the variable
-
getLongValue
public Long getLongValue()
- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
public void setLongValue(Long longValue)
Description copied from interface:ValueFieldsSets the long value. A value of null is allowed.- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
public Double getDoubleValue()
- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
public void setDoubleValue(Double doubleValue)
Description copied from interface:ValueFieldsSets the double value. A value of null is allowed.- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
public String getTextValue()
- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
public void setTextValue(String textValue)
Description copied from interface:ValueFieldsSets the first text value. A value of null is allowed.- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
public String getTextValue2()
- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
public void setTextValue2(String textValue2)
Description copied from interface:ValueFieldsSets second text value. A value of null is allowed.- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
public Object getCachedValue()
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
public void setCachedValue(Object cachedValue)
- Specified by:
setCachedValuein interfaceValueFields
-
-