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

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


org.jbpm.context.exe
Class TokenVariableMap

java.lang.Object
  extended byorg.jbpm.context.exe.TokenVariableMap
All Implemented Interfaces:
java.io.Serializable

public class TokenVariableMap
extends java.lang.Object
implements java.io.Serializable

is a jbpm-internal map of variables related to one Token. Each token has it's own map of variables, thereby creating hierarchy and scoping of process variables.

See Also:
Serialized Form

Field Summary
protected  ContextInstance contextInstance
           
protected  Token token
           
protected  java.util.Map variableInstances
           
 
Constructor Summary
TokenVariableMap()
           
TokenVariableMap(Token token, ContextInstance contextInstance)
           
 
Method Summary
 void addVariableInstance(VariableInstance variableInstance)
           
 void addVariables(java.util.Map variables)
           
 void createVariableInstance(java.lang.String name, java.lang.Object value)
           
 void deleteVariable(java.lang.String name)
           
 ContextInstance getContextInstance()
           
 Token getToken()
           
 java.lang.Object getVariable(java.lang.String name)
           
 java.util.Map getVariableInstances()
           
 boolean hasVariable(java.lang.String name)
           
 void setVariable(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

protected Token token

contextInstance

protected ContextInstance contextInstance

variableInstances

protected java.util.Map variableInstances
Constructor Detail

TokenVariableMap

public TokenVariableMap()

TokenVariableMap

public TokenVariableMap(Token token,
                        ContextInstance contextInstance)
Method Detail

createVariableInstance

public void createVariableInstance(java.lang.String name,
                                   java.lang.Object value)

addVariableInstance

public void addVariableInstance(VariableInstance variableInstance)

getVariable

public java.lang.Object getVariable(java.lang.String name)

setVariable

public void setVariable(java.lang.String name,
                        java.lang.Object value)

hasVariable

public boolean hasVariable(java.lang.String name)

addVariables

public void addVariables(java.util.Map variables)

deleteVariable

public void deleteVariable(java.lang.String name)

getContextInstance

public ContextInstance getContextInstance()

getToken

public Token getToken()

getVariableInstances

public java.util.Map getVariableInstances()


Version : jbpm-3.0.4