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()
PersistentObject
getPersistentState
in interface PersistentObject
public int getRevisionNext()
getRevisionNext
in interface HasRevision
public boolean isDeleted()
public void setProcessInstanceId(String processInstanceId)
public void setExecutionId(String executionId)
public byte[] getBytes()
getBytes
in interface ValueFields
public void setBytes(byte[] bytes)
ValueFields
setBytes
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 ValueFields
public Object getValue()
public void setValue(Object value)
public String getId()
getId
in interface PersistentObject
public void setId(String id)
setId
in interface PersistentObject
public int getRevision()
getRevision
in interface HasRevision
public void setRevision(int revision)
setRevision
in interface HasRevision
public String getName()
getName
in interface ValueFields
public 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 ValueFields
public void setLongValue(Long longValue)
ValueFields
setLongValue
in interface ValueFields
public Double getDoubleValue()
getDoubleValue
in interface ValueFields
public void setDoubleValue(Double doubleValue)
ValueFields
setDoubleValue
in interface ValueFields
public String getTextValue()
getTextValue
in interface ValueFields
public void setTextValue(String textValue)
ValueFields
setTextValue
in interface ValueFields
public String getTextValue2()
getTextValue2
in interface ValueFields
public void setTextValue2(String textValue2)
ValueFields
setTextValue2
in interface ValueFields
public Object getCachedValue()
getCachedValue
in interface ValueFields
public void setCachedValue(Object cachedValue)
setCachedValue
in interface ValueFields
Copyright © 2015 Alfresco. All rights reserved.