public class VariableInstanceEntity extends Object implements ValueFields, PersistentObject, HasRevision, BulkDeleteable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayRef |
byteArrayRef |
protected Object |
cachedValue |
protected boolean |
deleted |
protected Double |
doubleValue |
protected String |
executionId |
protected boolean |
forcedUpdate |
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 |
protected String |
typeName |
| Modifier | Constructor and Description |
|---|---|
protected |
VariableInstanceEntity() |
protected String id
protected int revision
protected String name
protected VariableType type
protected String typeName
protected String processInstanceId
protected String executionId
protected String taskId
protected Long longValue
protected Double doubleValue
protected String textValue
protected String textValue2
protected final ByteArrayRef byteArrayRef
protected Object cachedValue
protected boolean forcedUpdate
protected boolean deleted
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 forceUpdate()
public void delete()
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic int getRevisionNext()
getRevisionNext in interface HasRevisionpublic boolean isDeleted()
public void setProcessInstanceId(String processInstanceId)
public void setExecutionId(String executionId)
public byte[] getBytes()
getBytes in interface ValueFieldspublic void setBytes(byte[] bytes)
ValueFieldssetBytes in interface ValueFields@Deprecated public ByteArrayEntity getByteArrayValue()
getByteArrayValue in interface ValueFields@Deprecated public String getByteArrayValueId()
getByteArrayValueId in interface ValueFields@Deprecated public void setByteArrayValue(byte[] bytes)
setByteArrayValue in interface ValueFieldspublic Object getValue()
public void setValue(Object value)
public String getId()
getId in interface PersistentObjectpublic void setId(String id)
setId in interface PersistentObjectpublic int getRevision()
getRevision in interface HasRevisionpublic void setRevision(int revision)
setRevision in interface HasRevisionpublic String getName()
getName in interface ValueFieldspublic String getTypeName()
public void setTypeName(String typeName)
public VariableType getType()
public void setType(VariableType type)
public String getProcessInstanceId()
public String getTaskId()
public void setTaskId(String taskId)
public String getExecutionId()
public Long getLongValue()
getLongValue in interface ValueFieldspublic void setLongValue(Long longValue)
ValueFieldssetLongValue in interface ValueFieldspublic Double getDoubleValue()
getDoubleValue in interface ValueFieldspublic void setDoubleValue(Double doubleValue)
ValueFieldssetDoubleValue in interface ValueFieldspublic String getTextValue()
getTextValue in interface ValueFieldspublic void setTextValue(String textValue)
ValueFieldssetTextValue in interface ValueFieldspublic String getTextValue2()
getTextValue2 in interface ValueFieldspublic void setTextValue2(String textValue2)
ValueFieldssetTextValue2 in interface ValueFieldspublic Object getCachedValue()
getCachedValue in interface ValueFieldspublic void setCachedValue(Object cachedValue)
setCachedValue in interface ValueFieldsCopyright © 2015 Alfresco. All rights reserved.