Class HistoricVariableInstanceEntityImpl
java.lang.Object
org.activiti.engine.impl.persistence.entity.AbstractEntity
org.activiti.engine.impl.persistence.entity.HistoricVariableInstanceEntityImpl
- All Implemented Interfaces:
Serializable,HistoricData,HistoricVariableInstance,BulkDeleteable,HasRevision,Entity,HistoricVariableInstanceEntity,ValueFields
public class HistoricVariableInstanceEntityImpl
extends AbstractEntity
implements HistoricVariableInstanceEntity, BulkDeleteable, Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArrayRefprotected Objectprotected Dateprotected Doubleprotected Stringprotected Dateprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected VariableTypeFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Returns the time when the variable was created.Returns the time when the value of the variable was last updated.getName()Returns a representation of the object, as would be stored in the database.The process instance reference.getTime()getValue()voidsetBytes(byte[] bytes) Sets the byte array value.voidsetCachedValue(Object cachedValue) voidsetCreateTime(Date createTime) voidsetDoubleValue(Double doubleValue) Sets the double value.voidsetExecutionId(String executionId) voidsetLastUpdatedTime(Date lastUpdatedTime) 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.voidsetVariableType(VariableType variableType) toString()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, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.activiti.engine.history.HistoricVariableInstance
getId
-
Field Details
-
name
-
variableType
-
processInstanceId
-
executionId
-
taskId
-
createTime
-
lastUpdatedTime
-
longValue
-
doubleValue
-
textValue
-
textValue2
-
byteArrayRef
-
cachedValue
-
-
Constructor Details
-
HistoricVariableInstanceEntityImpl
public HistoricVariableInstanceEntityImpl()
-
-
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
-
getValue
- Specified by:
getValuein interfaceHistoricVariableInstance
-
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
-
getVariableTypeName
- Specified by:
getVariableTypeNamein interfaceHistoricVariableInstance
-
getVariableName
- Specified by:
getVariableNamein interfaceHistoricVariableInstance
-
getVariableType
- Specified by:
getVariableTypein interfaceHistoricVariableInstanceEntity
-
getName
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
setName
- Specified by:
setNamein interfaceHistoricVariableInstanceEntity
-
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
-
setVariableType
- Specified by:
setVariableTypein interfaceHistoricVariableInstanceEntity
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceHistoricVariableInstanceEntity
-
getProcessInstanceId
Description copied from interface:HistoricVariableInstanceThe process instance reference.- Specified by:
getProcessInstanceIdin interfaceHistoricVariableInstance- Specified by:
getProcessInstanceIdin interfaceValueFields- Returns:
- the process instance id of the variable
-
getTaskId
- Specified by:
getTaskIdin interfaceHistoricVariableInstance- Specified by:
getTaskIdin interfaceValueFields- Returns:
- the task id of the variable
-
setTaskId
- Specified by:
setTaskIdin interfaceHistoricVariableInstanceEntity
-
getCreateTime
Description copied from interface:HistoricVariableInstanceReturns the time when the variable was created.- Specified by:
getCreateTimein interfaceHistoricVariableInstance
-
setCreateTime
- Specified by:
setCreateTimein interfaceHistoricVariableInstanceEntity
-
getLastUpdatedTime
Description copied from interface:HistoricVariableInstanceReturns the time when the value of the variable was last updated. Note that aHistoricVariableInstanceonly contains the latest value of the variable. The actual different value and value changes are recorded inHistoricVariableUpdateinstances, which are captured onHistoryLevelFULL.- Specified by:
getLastUpdatedTimein interfaceHistoricVariableInstance
-
setLastUpdatedTime
- Specified by:
setLastUpdatedTimein interfaceHistoricVariableInstanceEntity
-
getExecutionId
- Specified by:
getExecutionIdin interfaceHistoricVariableInstanceEntity- Specified by:
getExecutionIdin interfaceValueFields- Returns:
- the execution id of the variable
-
setExecutionId
- Specified by:
setExecutionIdin interfaceHistoricVariableInstanceEntity
-
getTime
- Specified by:
getTimein interfaceHistoricData
-
getByteArrayRef
- Specified by:
getByteArrayRefin interfaceHistoricVariableInstanceEntity
-
toString
-