org.activiti.engine.impl.persistence.entity
类 HistoricVariableInstanceEntity

java.lang.Object
  继承者 org.activiti.engine.impl.persistence.entity.HistoricVariableInstanceEntity
所有已实现的接口:
Serializable, HistoricVariableInstance, HasRevision, PersistentObject, ValueFields

public class HistoricVariableInstanceEntity
extends Object
implements ValueFields, HistoricVariableInstance, PersistentObject, HasRevision, Serializable

作者:
Christian Lipphardt (camunda)
另请参见:
序列化表格

字段摘要
protected  ByteArrayRef byteArrayRef
           
protected  Object cachedValue
           
protected  Double doubleValue
           
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 HistoricVariableInstanceEntity()
           
 
方法摘要
static HistoricVariableInstanceEntity copyAndInsert(VariableInstanceEntity variableInstance)
           
 void copyValue(VariableInstanceEntity variableInstance)
           
 void delete()
           
 ByteArrayEntity getByteArrayValue()
          已过时。 
 String getByteArrayValueId()
          已过时。 
 byte[] getBytes()
           
 Object getCachedValue()
           
 Double getDoubleValue()
           
 String getExecutionId()
           
 String getId()
          The unique DB id
 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()
           
 String getTextValue()
           
 String getTextValue2()
           
 Object getValue()
           
 String getVariableName()
           
 VariableType getVariableType()
           
 String getVariableTypeName()
           
 void setByteArrayValue(byte[] bytes)
          已过时。 
 void setBytes(byte[] bytes)
          Sets the byte array value.
 void setCachedValue(Object cachedValue)
           
 void setDoubleValue(Double doubleValue)
          Sets the double value.
 void setExecutionId(String executionId)
           
 void setId(String id)
           
 void setLongValue(Long longValue)
          Sets the long value.
 void setProcessInstanceId(String processInstanceId)
           
 void setRevision(int revision)
           
 void setTaskId(String taskId)
           
 void setTextValue(String textValue)
          Sets the first text value.
 void setTextValue2(String textValue2)
          Sets second text value.
 void setVariableType(VariableType variableType)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

id

protected String id

revision

protected int revision

name

protected String name

variableType

protected VariableType variableType

processInstanceId

protected String processInstanceId

executionId

protected String executionId

taskId

protected String taskId

longValue

protected Long longValue

doubleValue

protected Double doubleValue

textValue

protected String textValue

textValue2

protected String textValue2

byteArrayRef

protected final ByteArrayRef byteArrayRef

cachedValue

protected Object cachedValue
构造方法详细信息

HistoricVariableInstanceEntity

protected HistoricVariableInstanceEntity()
方法详细信息

copyAndInsert

public static HistoricVariableInstanceEntity copyAndInsert(VariableInstanceEntity variableInstance)

copyValue

public void copyValue(VariableInstanceEntity variableInstance)

delete

public void delete()

getPersistentState

public Object getPersistentState()
从接口 PersistentObject 复制的描述
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.

指定者:
接口 PersistentObject 中的 getPersistentState

getRevisionNext

public int getRevisionNext()
指定者:
接口 HasRevision 中的 getRevisionNext

getValue

public Object getValue()
指定者:
接口 HistoricVariableInstance 中的 getValue

getBytes

public byte[] getBytes()
指定者:
接口 ValueFields 中的 getBytes
返回:
the byte array value, if any, or null.

setBytes

public void setBytes(byte[] bytes)
从接口 ValueFields 复制的描述
Sets the byte array value. A value of null is allowed.

指定者:
接口 ValueFields 中的 setBytes

getByteArrayValue

@Deprecated
public ByteArrayEntity getByteArrayValue()
已过时。 

指定者:
接口 ValueFields 中的 getByteArrayValue
返回:
the ByteArrayEntity that contains the byte array value, or null if the byte array value is null.

getByteArrayValueId

@Deprecated
public String getByteArrayValueId()
已过时。 

指定者:
接口 ValueFields 中的 getByteArrayValueId
返回:
the id of the byte array entity value, or null if the byte array value is null.

setByteArrayValue

@Deprecated
public void setByteArrayValue(byte[] bytes)
已过时。 

指定者:
接口 ValueFields 中的 setByteArrayValue

getId

public String getId()
从接口 HistoricVariableInstance 复制的描述
The unique DB id

指定者:
接口 HistoricVariableInstance 中的 getId
指定者:
接口 PersistentObject 中的 getId

setId

public void setId(String id)
指定者:
接口 PersistentObject 中的 setId

getVariableTypeName

public String getVariableTypeName()
指定者:
接口 HistoricVariableInstance 中的 getVariableTypeName

getVariableName

public String getVariableName()
指定者:
接口 HistoricVariableInstance 中的 getVariableName

getVariableType

public VariableType getVariableType()

getRevision

public int getRevision()
指定者:
接口 HasRevision 中的 getRevision

setRevision

public void setRevision(int revision)
指定者:
接口 HasRevision 中的 setRevision

getName

public String getName()
指定者:
接口 ValueFields 中的 getName
返回:
the name of the variable

getLongValue

public Long getLongValue()
指定者:
接口 ValueFields 中的 getLongValue
返回:
the long value, if any, or null.

setLongValue

public void setLongValue(Long longValue)
从接口 ValueFields 复制的描述
Sets the long value. A value of null is allowed.

指定者:
接口 ValueFields 中的 setLongValue

getDoubleValue

public Double getDoubleValue()
指定者:
接口 ValueFields 中的 getDoubleValue
返回:
the double value, if any, or null.

setDoubleValue

public void setDoubleValue(Double doubleValue)
从接口 ValueFields 复制的描述
Sets the double value. A value of null is allowed.

指定者:
接口 ValueFields 中的 setDoubleValue

getTextValue

public String getTextValue()
指定者:
接口 ValueFields 中的 getTextValue
返回:
the first text value, if any, or null.

setTextValue

public void setTextValue(String textValue)
从接口 ValueFields 复制的描述
Sets the first text value. A value of null is allowed.

指定者:
接口 ValueFields 中的 setTextValue

getTextValue2

public String getTextValue2()
指定者:
接口 ValueFields 中的 getTextValue2
返回:
the second text value, if any, or null.

setTextValue2

public void setTextValue2(String textValue2)
从接口 ValueFields 复制的描述
Sets second text value. A value of null is allowed.

指定者:
接口 ValueFields 中的 setTextValue2

getCachedValue

public Object getCachedValue()
指定者:
接口 ValueFields 中的 getCachedValue

setCachedValue

public void setCachedValue(Object cachedValue)
指定者:
接口 ValueFields 中的 setCachedValue

setVariableType

public void setVariableType(VariableType variableType)

setProcessInstanceId

public void setProcessInstanceId(String processInstanceId)

getProcessInstanceId

public String getProcessInstanceId()
从接口 HistoricVariableInstance 复制的描述
The process instance reference.

指定者:
接口 HistoricVariableInstance 中的 getProcessInstanceId

getTaskId

public String getTaskId()
指定者:
接口 HistoricVariableInstance 中的 getTaskId
返回:
the task id of the task, in case this variable instance has been set locally on a task. Returns null, if this variable is not related to a task.

setTaskId

public void setTaskId(String taskId)

getExecutionId

public String getExecutionId()

setExecutionId

public void setExecutionId(String executionId)

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013 Alfresco. All rights reserved.