org.jbpm.context.def
Class VariableAccess

java.lang.Object
  extended by org.jbpm.context.def.VariableAccess
All Implemented Interfaces:
Serializable

public class VariableAccess
extends Object
implements 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  Access access
           
protected  String mappedName
           
protected  String variableName
           
 
Constructor Summary
VariableAccess()
           
VariableAccess(String variableName, String access, String mappedName)
           
 
Method Summary
 Access getAccess()
          specifies a comma separated list of access literals {read, write, required}.
 String getMappedName()
          the mapped name.
 String getVariableName()
           
 boolean isLock()
           
 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 String variableName

access

protected Access access

mappedName

protected String mappedName
Constructor Detail

VariableAccess

public VariableAccess()

VariableAccess

public VariableAccess(String variableName,
                      String access,
                      String mappedName)
Method Detail

getMappedName

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


getAccess

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


getVariableName

public String getVariableName()

isReadable

public boolean isReadable()

isWritable

public boolean isWritable()

isRequired

public boolean isRequired()

isLock

public boolean isLock()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.