Class HistoricVariableInstanceEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.HistoricVariableInstanceEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,HistoricData,HistoricVariableInstance,BulkDeleteable,HasRevision,Entity,HistoricVariableInstanceEntity,ValueFields
public class HistoricVariableInstanceEntityImpl extends AbstractEntity implements HistoricVariableInstanceEntity, BulkDeleteable, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayRefbyteArrayRefprotected java.lang.ObjectcachedValueprotected java.util.DatecreateTimeprotected java.lang.DoubledoubleValueprotected java.lang.StringexecutionIdprotected java.util.DatelastUpdatedTimeprotected java.lang.LonglongValueprotected java.lang.Stringnameprotected java.lang.StringprocessInstanceIdprotected java.lang.StringtaskIdprotected java.lang.StringtextValueprotected java.lang.StringtextValue2protected VariableTypevariableType-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
-
Constructor Summary
Constructors Constructor Description HistoricVariableInstanceEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArrayRefgetByteArrayRef()byte[]getBytes()java.lang.ObjectgetCachedValue()java.util.DategetCreateTime()Returns the time when the variable was created.java.lang.DoublegetDoubleValue()java.lang.StringgetExecutionId()java.util.DategetLastUpdatedTime()Returns the time when the value of the variable was last updated.java.lang.LonggetLongValue()java.lang.StringgetName()java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.lang.StringgetProcessInstanceId()The process instance reference.java.lang.StringgetTaskId()java.lang.StringgetTextValue()java.lang.StringgetTextValue2()java.util.DategetTime()java.lang.ObjectgetValue()java.lang.StringgetVariableName()VariableTypegetVariableType()java.lang.StringgetVariableTypeName()voidsetBytes(byte[] bytes)Sets the byte array value.voidsetCachedValue(java.lang.Object cachedValue)voidsetCreateTime(java.util.Date createTime)voidsetDoubleValue(java.lang.Double doubleValue)Sets the double value.voidsetExecutionId(java.lang.String executionId)voidsetLastUpdatedTime(java.util.Date lastUpdatedTime)voidsetLongValue(java.lang.Long longValue)Sets the long value.voidsetName(java.lang.String name)voidsetProcessInstanceId(java.lang.String processInstanceId)voidsetTaskId(java.lang.String taskId)voidsetTextValue(java.lang.String textValue)Sets the first text value.voidsetTextValue2(java.lang.String textValue2)Sets second text value.voidsetVariableType(VariableType variableType)java.lang.StringtoString()-
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, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.history.HistoricVariableInstance
getId
-
-
-
-
Field Detail
-
name
protected java.lang.String name
-
variableType
protected VariableType variableType
-
processInstanceId
protected java.lang.String processInstanceId
-
executionId
protected java.lang.String executionId
-
taskId
protected java.lang.String taskId
-
createTime
protected java.util.Date createTime
-
lastUpdatedTime
protected java.util.Date lastUpdatedTime
-
longValue
protected java.lang.Long longValue
-
doubleValue
protected java.lang.Double doubleValue
-
textValue
protected java.lang.String textValue
-
textValue2
protected java.lang.String textValue2
-
byteArrayRef
protected ByteArrayRef byteArrayRef
-
cachedValue
protected java.lang.Object cachedValue
-
-
Method Detail
-
getPersistentState
public java.lang.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
-
getValue
public java.lang.Object 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
public java.lang.String getVariableTypeName()
- Specified by:
getVariableTypeNamein interfaceHistoricVariableInstance
-
getVariableName
public java.lang.String getVariableName()
- Specified by:
getVariableNamein interfaceHistoricVariableInstance
-
getVariableType
public VariableType getVariableType()
- Specified by:
getVariableTypein interfaceHistoricVariableInstanceEntity
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceValueFields- Returns:
- the name of the variable
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceHistoricVariableInstanceEntity
-
getLongValue
public java.lang.Long getLongValue()
- Specified by:
getLongValuein interfaceValueFields- Returns:
- the long value, if any, or null.
-
setLongValue
public void setLongValue(java.lang.Long longValue)
Description copied from interface:ValueFieldsSets the long value. A value of null is allowed.- Specified by:
setLongValuein interfaceValueFields
-
getDoubleValue
public java.lang.Double getDoubleValue()
- Specified by:
getDoubleValuein interfaceValueFields- Returns:
- the double value, if any, or null.
-
setDoubleValue
public void setDoubleValue(java.lang.Double doubleValue)
Description copied from interface:ValueFieldsSets the double value. A value of null is allowed.- Specified by:
setDoubleValuein interfaceValueFields
-
getTextValue
public java.lang.String getTextValue()
- Specified by:
getTextValuein interfaceValueFields- Returns:
- the first text value, if any, or null.
-
setTextValue
public void setTextValue(java.lang.String textValue)
Description copied from interface:ValueFieldsSets the first text value. A value of null is allowed.- Specified by:
setTextValuein interfaceValueFields
-
getTextValue2
public java.lang.String getTextValue2()
- Specified by:
getTextValue2in interfaceValueFields- Returns:
- the second text value, if any, or null.
-
setTextValue2
public void setTextValue2(java.lang.String textValue2)
Description copied from interface:ValueFieldsSets second text value. A value of null is allowed.- Specified by:
setTextValue2in interfaceValueFields
-
getCachedValue
public java.lang.Object getCachedValue()
- Specified by:
getCachedValuein interfaceValueFields
-
setCachedValue
public void setCachedValue(java.lang.Object cachedValue)
- Specified by:
setCachedValuein interfaceValueFields
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableTypein interfaceHistoricVariableInstanceEntity
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceHistoricVariableInstanceEntity
-
getProcessInstanceId
public java.lang.String 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
public java.lang.String getTaskId()
- Specified by:
getTaskIdin interfaceHistoricVariableInstance- Specified by:
getTaskIdin interfaceValueFields- Returns:
- the task id of the variable
-
setTaskId
public void setTaskId(java.lang.String taskId)
- Specified by:
setTaskIdin interfaceHistoricVariableInstanceEntity
-
getCreateTime
public java.util.Date getCreateTime()
Description copied from interface:HistoricVariableInstanceReturns the time when the variable was created.- Specified by:
getCreateTimein interfaceHistoricVariableInstance
-
setCreateTime
public void setCreateTime(java.util.Date createTime)
- Specified by:
setCreateTimein interfaceHistoricVariableInstanceEntity
-
getLastUpdatedTime
public java.util.Date 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
public void setLastUpdatedTime(java.util.Date lastUpdatedTime)
- Specified by:
setLastUpdatedTimein interfaceHistoricVariableInstanceEntity
-
getExecutionId
public java.lang.String getExecutionId()
- Specified by:
getExecutionIdin interfaceHistoricVariableInstanceEntity- Specified by:
getExecutionIdin interfaceValueFields- Returns:
- the execution id of the variable
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
- Specified by:
setExecutionIdin interfaceHistoricVariableInstanceEntity
-
getTime
public java.util.Date getTime()
- Specified by:
getTimein interfaceHistoricData
-
getByteArrayRef
public ByteArrayRef getByteArrayRef()
- Specified by:
getByteArrayRefin interfaceHistoricVariableInstanceEntity
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-