public class HistoricVariableInstanceEntity extends Object implements ValueFields, HistoricVariableInstance, PersistentObject, HasRevision, Serializable
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
activityInstanceId  | 
protected String | 
byteArrayId  | 
protected ByteArrayEntity | 
byteArrayValue  | 
protected Object | 
cachedValue  | 
protected Double | 
doubleValue  | 
protected String | 
errorMessage  | 
protected String | 
executionId  | 
protected String | 
id  | 
protected Long | 
longValue  | 
protected String | 
name  | 
protected String | 
processInstanceId  | 
protected int | 
revision  | 
protected String | 
taskId  | 
protected String | 
textValue  | 
protected String | 
textValue2  | 
protected VariableType | 
variableType  | 
protected String | 
variableTypeName  | 
| Constructor and Description | 
|---|
HistoricVariableInstanceEntity()  | 
HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
delete()  | 
protected void | 
deleteByteArrayValue()  | 
String | 
getActivtyInstanceId()
Returns the corresponding activity instance id. 
 | 
String | 
getByteArrayId()  | 
ByteArrayEntity | 
getByteArrayValue()  | 
String | 
getByteArrayValueId()  | 
Object | 
getCachedValue()  | 
Double | 
getDoubleValue()  | 
String | 
getErrorMessage()
If the variable value could not be loaded, this returns the error message. 
 | 
String | 
getExecutionId()  | 
String | 
getId()  | 
Long | 
getLongValue()  | 
String | 
getName()  | 
Object | 
getPersistentState()
Returns a representation of the object,
  as would be stored in the database. 
 | 
String | 
getProcessInstanceId()
The process instance reference. 
 | 
int | 
getRevision()  | 
int | 
getRevisionNext()  | 
String | 
getTaskId()
Return the corresponding task id. 
 | 
String | 
getTextValue()  | 
String | 
getTextValue2()  | 
Object | 
getValue()
Returns the value of  
this variable instance. | 
String | 
getVariableName()
Returns the name of  
this variable instance. | 
VariableType | 
getVariableType()  | 
String | 
getVariableTypeName()
Returns the name of the type of  
this variable instance | 
void | 
setActivtyInstanceId(String activityInstanceId)  | 
void | 
setByteArrayId(String byteArrayId)  | 
void | 
setByteArrayValue(byte[] bytes)  | 
void | 
setByteArrayValue(ByteArrayEntity byteArrayValue)  | 
void | 
setCachedValue(Object cachedValue)  | 
void | 
setDoubleValue(Double doubleValue)  | 
void | 
setExecutionId(String executionId)  | 
void | 
setId(String id)  | 
void | 
setLongValue(Long longValue)  | 
void | 
setName(String name)  | 
void | 
setProcessInstanceId(String processInstanceId)  | 
void | 
setRevision(int revision)  | 
void | 
setTaskId(String taskId)  | 
void | 
setTextValue(String textValue)  | 
void | 
setTextValue2(String textValue2)  | 
void | 
setVariableType(VariableType variableType)  | 
String | 
toString()  | 
void | 
updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)  | 
protected String id
protected String processInstanceId
protected String taskId
protected String executionId
protected String activityInstanceId
protected String name
protected int revision
protected String variableTypeName
protected VariableType variableType
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected ByteArrayEntity byteArrayValue
protected String byteArrayId
protected Object cachedValue
protected String errorMessage
public HistoricVariableInstanceEntity()
public HistoricVariableInstanceEntity(HistoricVariableUpdateEventEntity historyEvent)
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent)
public void delete()
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic Object getValue()
HistoricVariableInstancethis variable instance.getValue in interface HistoricVariableInstancepublic String getByteArrayValueId()
getByteArrayValueId in interface ValueFieldspublic String getByteArrayId()
public void setByteArrayId(String byteArrayId)
public ByteArrayEntity getByteArrayValue()
getByteArrayValue in interface ValueFieldspublic void setByteArrayValue(byte[] bytes)
setByteArrayValue in interface ValueFieldsprotected void deleteByteArrayValue()
public String getVariableTypeName()
HistoricVariableInstancethis variable instancegetVariableTypeName in interface HistoricVariableInstancepublic String getVariableName()
HistoricVariableInstancethis variable instance.getVariableName in interface HistoricVariableInstancepublic VariableType getVariableType()
public int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic String getName()
getName in interface ValueFieldspublic void setName(String name)
public Long getLongValue()
getLongValue in interface ValueFieldspublic void setLongValue(Long longValue)
setLongValue in interface ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface ValueFieldspublic void setDoubleValue(Double doubleValue)
setDoubleValue in interface ValueFieldspublic String getTextValue()
getTextValue in interface ValueFieldspublic void setTextValue(String textValue)
setTextValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
setTextValue2 in interface ValueFieldspublic void setByteArrayValue(ByteArrayEntity byteArrayValue)
public Object getCachedValue()
getCachedValue in interface ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface ValueFieldspublic void setVariableType(VariableType variableType)
public void setProcessInstanceId(String processInstanceId)
public String getId()
getId in interface HistoricVariableInstancegetId in interface PersistentObjectpublic void setId(String id)
setId in interface PersistentObjectpublic String getProcessInstanceId()
HistoricVariableInstancegetProcessInstanceId in interface HistoricVariableInstancepublic String getTaskId()
HistoricVariableInstancegetTaskId in interface HistoricVariableInstancepublic void setTaskId(String taskId)
public String getExecutionId()
public void setExecutionId(String executionId)
public String getActivtyInstanceId()
HistoricVariableInstancegetActivtyInstanceId in interface HistoricVariableInstancepublic void setActivtyInstanceId(String activityInstanceId)
public String getErrorMessage()
HistoricVariableInstancegetErrorMessage in interface HistoricVariableInstanceCopyright © 2015. All rights reserved.