org.apache.lenya.workflow.impl
Class BooleanVariableImpl

java.lang.Object
  extended by org.apache.lenya.workflow.impl.BooleanVariableImpl
All Implemented Interfaces:
BooleanVariable

public class BooleanVariableImpl
extends java.lang.Object
implements BooleanVariable

Implementation of a boolean variable.


Constructor Summary
protected BooleanVariableImpl(java.lang.String variableName, boolean initialValue)
          Creates a new instance of BooleanVariableImpl.
 
Method Summary
 boolean getInitialValue()
          Returns the initial value of this variable.
 java.lang.String getName()
          Returns the name of this variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanVariableImpl

protected BooleanVariableImpl(java.lang.String variableName,
                              boolean initialValue)
Creates a new instance of BooleanVariableImpl.

Parameters:
variableName - The variable name.
initialValue - The initial value of the corresponding variable instances.
Method Detail

getName

public java.lang.String getName()
Description copied from interface: BooleanVariable
Returns the name of this variable.

Specified by:
getName in interface BooleanVariable
Returns:
the name
See Also:
BooleanVariable.getName()

getInitialValue

public boolean getInitialValue()
Description copied from interface: BooleanVariable
Returns the initial value of this variable.

Specified by:
getInitialValue in interface BooleanVariable
Returns:
A boolean value.
See Also:
BooleanVariable.getInitialValue()


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.