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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected booleanprotected Doubleprotected Stringprotected booleanprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected VariableTypeprotected StringFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidbyte[]getBytes()getName()Returns a representation of the object, as would be stored in the database.getType()getValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetExecution(ExecutionEntity execution) voidsetExecutionId(String executionId) voidsetLongValue(Long longValue) Sets the long value.voidvoidsetProcessInstanceId(String processInstanceId) voidvoidsetTextValue(String textValue) Sets the first text value.voidsetTextValue2(String textValue2) Sets second text value.voidsetType(VariableType type) voidsetTypeName(String typeName) voidtoString()Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isInserted, isUpdated, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.activiti.engine.impl.persistence.entity.VariableInstanceEntity
isDeleted, setDeleted
-
Field Details
-
name
-
type
-
typeName
-
processInstanceId
-
executionId
-
taskId
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
cachedValue
-
forcedUpdate
protected boolean forcedUpdate -
deleted
protected boolean deleted
-
-
Constructor Details
-
VariableInstanceEntityImpl
public VariableInstanceEntityImpl()
-
-
Method Details
-
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
- Specified by:
setExecutionin interfaceVariableInstanceEntity
-
forceUpdate
public void forceUpdate()- Specified by:
forceUpdatein interfaceVariableInstanceEntity
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceVariableInstance
-
setExecutionId
- 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
- Specified by:
getByteArrayRefin interfaceVariableInstanceEntity
-
ensureByteArrayRefInitialized
protected void ensureByteArrayRefInitialized() -
getValue
- Specified by:
getValuein interfaceVariableInstance
-
setValue
- Specified by:
setValuein interfaceVariableInstance
-
setName
- Specified by:
setNamein interfaceVariableInstance
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
getTypeName
- Specified by:
getTypeNamein interfaceVariableInstance
-
setTypeName
- Specified by:
setTypeNamein interfaceVariableInstance
-
getType
- Specified by:
getTypein interfaceVariableInstanceEntity
-
setType
- Specified by:
setTypein interfaceVariableInstanceEntity
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceValueFields- Specified by:
getProcessInstanceIdin interfaceVariableInstance- Returns:
- the process instance id of the variable
-
getTaskId
- Specified by:
getTaskIdin interfaceValueFields- Specified by:
getTaskIdin interfaceVariableInstance- Returns:
- the task id of the variable
-
setTaskId
- Specified by:
setTaskIdin interfaceVariableInstance
-
getExecutionId
- Specified by:
getExecutionIdin interfaceValueFields- Specified by:
getExecutionIdin interfaceVariableInstance- Returns:
- the execution id of the variable
-
getLongValue
- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
Description copied from interface:ValueFieldsSets the long value. A value of null is allowed.- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
Description copied from interface:ValueFieldsSets the double value. A value of null is allowed.- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
Description copied from interface:ValueFieldsSets the first text value. A value of null is allowed.- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
Description copied from interface:ValueFieldsSets second text value. A value of null is allowed.- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
- Specified by:
setCachedValuein interfaceValueFields
-
toString
-