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

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


org.jbpm.context.def
Class VariableAccess

java.lang.Object
  extended byorg.jbpm.context.def.VariableAccess
All Implemented Interfaces:
java.io.Serializable

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

specifies access to a variable. Variable access is used in 3 situations: 1) process-state 2) script 3) task controllers

See Also:
Serialized Form

Field Summary
protected  java.lang.String access
           
protected  java.lang.String mappedName
           
protected  java.lang.String variableName
           
 
Constructor Summary
VariableAccess()
           
VariableAccess(java.lang.String variableName, java.lang.String access, java.lang.String mappedName)
           
 
Method Summary
 java.lang.String getAccess()
          specifies a comma separated list of access literals {read, write, required}.
 java.lang.String getMappedName()
          the mapped name.
 java.lang.String getVariableName()
           
 boolean hasAccess(java.lang.String accessLiteral)
          verifies if the given accessLiteral is included in the access text.
 boolean isReadable()
           
 boolean isRequired()
           
 boolean isWritable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableName

protected java.lang.String variableName

access

protected java.lang.String access

mappedName

protected java.lang.String mappedName
Constructor Detail

VariableAccess

public VariableAccess()

VariableAccess

public VariableAccess(java.lang.String variableName,
                      java.lang.String access,
                      java.lang.String mappedName)
Method Detail

getMappedName

public java.lang.String getMappedName()
the mapped name. The mappedName defaults to the variableName in case no mapped name is specified.


getAccess

public java.lang.String getAccess()
specifies a comma separated list of access literals {read, write, required}.


getVariableName

public java.lang.String getVariableName()

isReadable

public boolean isReadable()

isWritable

public boolean isWritable()

isRequired

public boolean isRequired()

hasAccess

public boolean hasAccess(java.lang.String accessLiteral)
verifies if the given accessLiteral is included in the access text.



Version : jbpm-3.0.4