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

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

public class VariableInstanceEntity
extends Object
implements ValueFields, PersistentObject, HasRevision, Serializable

作者:
Tom Baeyens, Marcus Klimstra (CGI)
另请参见:
序列化表格

字段摘要
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 VariableInstanceEntity()
           
 
方法摘要
static VariableInstanceEntity create(String name, VariableType type, Object value)
           
static VariableInstanceEntity createAndInsert(String name, VariableType type, Object value)
           
 void delete()
           
 void forceUpdate()
           
 ByteArrayEntity getByteArrayValue()
          已过时。 
 String getByteArrayValueId()
          已过时。 
 byte[] getBytes()
           
 Object getCachedValue()
           
 Double getDoubleValue()
           
 String getExecutionId()
           
 String getId()
           
 Long getLongValue()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 String getProcessInstanceId()
           
 int getRevision()
           
 int getRevisionNext()
           
 String getTaskId()
           
 String getTextValue()
           
 String getTextValue2()
           
 VariableType getType()
           
 Object getValue()
           
 boolean isDeleted()
           
 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 setExecution(ExecutionEntity execution)
           
 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 setType(VariableType type)
           
 void setValue(Object value)
           
 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

type

protected VariableType type

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

forcedUpdate

protected boolean forcedUpdate

deleted

protected boolean deleted
构造方法详细信息

VariableInstanceEntity

protected VariableInstanceEntity()
方法详细信息

createAndInsert

public static VariableInstanceEntity createAndInsert(String name,
                                                     VariableType type,
                                                     Object value)

create

public static VariableInstanceEntity create(String name,
                                            VariableType type,
                                            Object value)

setExecution

public void setExecution(ExecutionEntity execution)

forceUpdate

public void forceUpdate()

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

isDeleted

public boolean isDeleted()

setProcessInstanceId

public void setProcessInstanceId(String processInstanceId)

setExecutionId

public void setExecutionId(String executionId)

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

getValue

public Object getValue()

setValue

public void setValue(Object value)

getId

public String getId()
指定者:
接口 PersistentObject 中的 getId

setId

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

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

getType

public VariableType getType()

setType

public void setType(VariableType type)

getProcessInstanceId

public String getProcessInstanceId()

getTaskId

public String getTaskId()

setTaskId

public void setTaskId(String taskId)

getExecutionId

public String getExecutionId()

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

toString

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


Copyright © 2013 Alfresco. All rights reserved.