public class VariableInstanceEntity extends Object implements VariableInstance, 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 String |
localizedDescription |
protected String |
localizedName |
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 String localizedName
protected String localizedDescription
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)
setProcessInstanceId
in interface VariableInstance
public void setExecutionId(String executionId)
setExecutionId
in interface VariableInstance
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()
getValue
in interface VariableInstance
public void setValue(Object value)
setValue
in interface VariableInstance
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 void setName(String name)
setName
in interface VariableInstance
public String getLocalizedName()
getLocalizedName
in interface VariableInstance
public void setLocalizedName(String localizedName)
setLocalizedName
in interface VariableInstance
public String getLocalizedDescription()
getLocalizedDescription
in interface VariableInstance
public void setLocalizedDescription(String localizedDescription)
setLocalizedDescription
in interface VariableInstance
public String getTypeName()
getTypeName
in interface VariableInstance
public void setTypeName(String typeName)
setTypeName
in interface VariableInstance
public VariableType getType()
public void setType(VariableType type)
public String getProcessInstanceId()
getProcessInstanceId
in interface VariableInstance
getProcessInstanceId
in interface ValueFields
public String getTaskId()
getTaskId
in interface VariableInstance
getTaskId
in interface ValueFields
public void setTaskId(String taskId)
setTaskId
in interface VariableInstance
public String getExecutionId()
getExecutionId
in interface VariableInstance
getExecutionId
in interface ValueFields
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 © 2016 Alfresco. All rights reserved.