|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity
public class VariableInstanceEntity
| Field Summary | |
|---|---|
protected String |
activityInstanceId
|
protected ByteArrayEntity |
byteArrayValue
|
protected String |
byteArrayValueId
|
protected Object |
cachedValue
|
protected String |
caseExecutionId
|
protected String |
caseInstanceId
|
protected String |
configuration
|
protected String |
dataFormatId
|
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 |
type
|
| Constructor Summary | |
|---|---|
VariableInstanceEntity()
|
|
| Method Summary | |
|---|---|
static VariableInstanceEntity |
create(String name,
VariableType type,
Object value)
|
static VariableInstanceEntity |
createAndInsert(String name,
VariableType type,
Object value)
|
void |
delete()
|
protected void |
deleteByteArrayValue()
|
String |
getActivityInstanceId()
Returns the corresponding activity instance id. |
ByteArrayEntity |
getByteArrayValue()
|
String |
getByteArrayValueId()
|
Object |
getCachedValue()
|
String |
getCaseExecutionId()
Returns the corresponding case execution id. |
String |
getCaseInstanceId()
Returns the corresponding case instance id. |
String |
getDataFormatId()
|
Double |
getDoubleValue()
|
String |
getErrorMessage()
If the variable value could not be loaded, this returns the error message. |
String |
getExecutionId()
Returns the corresponding execution id. |
String |
getId()
|
Long |
getLongValue()
|
String |
getName()
Returns the name of this variable instance. |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database. |
String |
getProcessInstanceId()
Returns the corresponding process instance id. |
Object |
getRawValue()
|
int |
getRevision()
|
int |
getRevisionNext()
|
String |
getTaskId()
Returns the corresponding task id. |
String |
getTextValue()
|
String |
getTextValue2()
|
VariableType |
getType()
|
String |
getTypeName()
Returns the name of the type of this variable instance |
Object |
getValue()
Returns the value of this variable instance. |
String |
getVariableScope()
|
boolean |
isAbleToStore(Object value)
|
void |
setActivityInstanceId(String acitivtyInstanceId)
|
void |
setByteArrayValue(byte[] bytes)
|
void |
setByteArrayValueId(String byteArrayValueId)
|
void |
setCachedValue(Object cachedValue)
|
void |
setCaseExecutionId(String caseExecutionId)
|
void |
setCaseInstanceId(String caseInstanceId)
|
void |
setDataFormatId(String dataFormatId)
|
void |
setDoubleValue(Double doubleValue)
|
void |
setExecution(ExecutionEntity execution)
|
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 |
setType(VariableType type)
|
void |
setValue(Object value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected int revision
protected String name
protected String processInstanceId
protected String executionId
protected String taskId
protected String caseInstanceId
protected String caseExecutionId
protected String activityInstanceId
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected ByteArrayEntity byteArrayValue
protected String byteArrayValueId
protected Object cachedValue
protected VariableType type
protected String errorMessage
protected String dataFormatId
protected String configuration
| Constructor Detail |
|---|
public VariableInstanceEntity()
| Method Detail |
|---|
public static VariableInstanceEntity createAndInsert(String name,
VariableType type,
Object value)
public static VariableInstanceEntity create(String name,
VariableType type,
Object value)
public void setExecution(ExecutionEntity execution)
public void delete()
public Object getPersistentState()
PersistentObject
getPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic void setProcessInstanceId(String processInstanceId)
public void setExecutionId(String executionId)
public void setCaseInstanceId(String caseInstanceId)
public void setCaseExecutionId(String caseExecutionId)
public String getByteArrayValueId()
getByteArrayValueId in interface ValueFieldspublic void setByteArrayValueId(String byteArrayValueId)
public ByteArrayEntity getByteArrayValue()
getByteArrayValue in interface ValueFieldspublic void setByteArrayValue(byte[] bytes)
setByteArrayValue in interface ValueFieldsprotected void deleteByteArrayValue()
public Object getValue()
VariableInstancethis variable instance.
getValue in interface CoreVariableInstancegetValue in interface VariableInstancepublic void setValue(Object value)
public boolean isAbleToStore(Object value)
isAbleToStore in interface CoreVariableInstancepublic String getId()
getId in interface PersistentObjectgetId in interface VariableInstancepublic void setId(String id)
setId in interface PersistentObjectpublic String getTextValue()
getTextValue in interface ValueFieldspublic String getProcessInstanceId()
VariableInstance
getProcessInstanceId in interface VariableInstancepublic String getExecutionId()
VariableInstance
getExecutionId in interface VariableInstancepublic String getCaseInstanceId()
VariableInstance
getCaseInstanceId in interface VariableInstancepublic String getCaseExecutionId()
VariableInstance
getCaseExecutionId in interface VariableInstancepublic 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 void setName(String name)
public void setTextValue(String textValue)
setTextValue in interface ValueFieldspublic String getName()
VariableInstancethis variable instance.
getName in interface CoreVariableInstancegetName in interface ValueFieldsgetName in interface VariableInstancepublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic void setType(VariableType type)
public VariableType getType()
public Object getCachedValue()
getCachedValue in interface ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
setTextValue2 in interface ValueFieldspublic String getTaskId()
VariableInstance
getTaskId in interface VariableInstancepublic void setTaskId(String taskId)
public String getActivityInstanceId()
VariableInstance
getActivityInstanceId in interface VariableInstancepublic void setActivityInstanceId(String acitivtyInstanceId)
public String getTypeName()
VariableInstancethis variable instance
getTypeName in interface VariableInstancepublic String getErrorMessage()
VariableInstance
getErrorMessage in interface VariableInstancepublic Object getRawValue()
public String getDataFormatId()
getDataFormatId in interface ValueFieldspublic void setDataFormatId(String dataFormatId)
setDataFormatId in interface ValueFieldspublic String getVariableScope()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||