站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

VariableInstance (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.context.exe
Class VariableInstance

java.lang.Object
  extended byorg.jbpm.context.exe.VariableInstance
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ByteArrayInstance, DateInstance, DoubleInstance, HibernateLongInstance, HibernateStringInstance, LongInstance, StringInstance

public abstract class VariableInstance
extends java.lang.Object
implements java.io.Serializable

is a jbpm-internal class that serves as a base class for classes that store variable values in the database.

See Also:
Serialized Form

Field Summary
protected  Converter converter
           
protected  java.lang.String name
           
protected  ProcessInstance processInstance
           
protected  Token token
           
protected  TokenVariableMap tokenVariableMap
           
 
Constructor Summary
VariableInstance()
           
 
Method Summary
static VariableInstance create(TokenVariableMap tokenVariableMap, java.lang.String name, java.lang.Class valueClass)
           
static VariableInstance createVariableInstance(java.lang.Class javaType)
           
 java.lang.String getName()
           
protected abstract  java.lang.Object getObject()
          is the value, stored by this variable instance.
 ProcessInstance getProcessInstance()
           
 Token getToken()
           
 java.lang.Object getValue()
           
 void removeTokenVariableMapReference()
           
protected abstract  void setObject(java.lang.Object value)
          stores the value in this variable instance.
 void setValue(java.lang.Object value)
           
protected abstract  boolean supports(java.lang.Class clazz)
          is true if this variable-instance supports the given type, false otherwise.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

token

protected Token token

tokenVariableMap

protected TokenVariableMap tokenVariableMap

processInstance

protected ProcessInstance processInstance

converter

protected Converter converter
Constructor Detail

VariableInstance

public VariableInstance()
Method Detail

create

public static VariableInstance create(TokenVariableMap tokenVariableMap,
                                      java.lang.String name,
                                      java.lang.Class valueClass)

supports

protected abstract boolean supports(java.lang.Class clazz)
is true if this variable-instance supports the given type, false otherwise.


getObject

protected abstract java.lang.Object getObject()
is the value, stored by this variable instance.


setObject

protected abstract void setObject(java.lang.Object value)
stores the value in this variable instance.


createVariableInstance

public static VariableInstance createVariableInstance(java.lang.Class javaType)

setValue

public void setValue(java.lang.Object value)

getValue

public java.lang.Object getValue()

removeTokenVariableMapReference

public void removeTokenVariableMapReference()

toString

public java.lang.String toString()

getName

public java.lang.String getName()

getProcessInstance

public ProcessInstance getProcessInstance()

getToken

public Token getToken()


Version : jbpm-3.0.4