Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.lenya.workflow.impl
Class BooleanVariableImpl  view BooleanVariableImpl download BooleanVariableImpl.java

java.lang.Object
  extended byorg.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.


Field Summary
private  boolean initialValue
           
private  java.lang.String name
           
 
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
 

Field Detail

name

private java.lang.String name

initialValue

private boolean initialValue
Constructor Detail

BooleanVariableImpl

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

Method Detail

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