org.apache.lenya.workflow
Interface BooleanVariable


public interface BooleanVariable

Boolean state variable.

A workflow schema can contain a set of state variables. For each instance, the state variables hold certain values. Values can be assigned during transitions, so a variable can change its value when a transition fires. Currently, the workflow supports only boolean state variables.


Method Summary
 boolean getInitialValue()
          Returns the initial value of this variable.
 java.lang.String getName()
          Returns the name of this variable.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this variable.

Returns:
the name

getInitialValue

boolean getInitialValue()
Returns the initial value of this variable.

Returns:
A boolean value.


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