java.lang.Object
org.apache.lenya.workflow.impl.BooleanVariableImpl
- All Implemented Interfaces:
- org.apache.lenya.workflow.BooleanVariable
- public class BooleanVariableImpl
- extends java.lang.Object
- implements org.apache.lenya.workflow.BooleanVariable
Implementation of a boolean variable.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
initialValue
private boolean initialValue
BooleanVariableImpl
protected BooleanVariableImpl(java.lang.String variableName,
boolean initialValue)
- Creates a new instance of BooleanVariableImpl.
getName
public java.lang.String getName()
- Description copied from interface:
org.apache.lenya.workflow.BooleanVariable
- Returns the name of this variable.
- Specified by:
getName in interface org.apache.lenya.workflow.BooleanVariable
getInitialValue
public boolean getInitialValue()
- Description copied from interface:
org.apache.lenya.workflow.BooleanVariable
- Returns the initial value of this variable.
- Specified by:
getInitialValue in interface org.apache.lenya.workflow.BooleanVariable