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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.apache.lenya.workflow.impl.BooleanVariableAssignmentImpl
All Implemented Interfaces:
org.apache.lenya.workflow.Action, org.apache.lenya.workflow.BooleanVariableAssignment

public class BooleanVariableAssignmentImpl
extends java.lang.Object
implements org.apache.lenya.workflow.BooleanVariableAssignment

Implementation of a boolean variable assignment.


Field Summary
private  boolean value
           
private  BooleanVariableImpl variable
           
 
Constructor Summary
protected BooleanVariableAssignmentImpl(BooleanVariableImpl variable, boolean value)
          Ctor.
 
Method Summary
 void execute(org.apache.lenya.workflow.WorkflowInstance instance)
          Executes this action for a given workflow instance.
 boolean getValue()
          Returns the value of this assignment.
 BooleanVariableImpl getVariable()
          Returns the variable of this assignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variable

private BooleanVariableImpl variable

value

private boolean value
Constructor Detail

BooleanVariableAssignmentImpl

protected BooleanVariableAssignmentImpl(BooleanVariableImpl variable,
                                        boolean value)
Ctor.

Method Detail

execute

public void execute(org.apache.lenya.workflow.WorkflowInstance instance)
             throws org.apache.lenya.workflow.WorkflowException
Description copied from interface: org.apache.lenya.workflow.Action
Executes this action for a given workflow instance.

Specified by:
execute in interface org.apache.lenya.workflow.Action

getValue

public boolean getValue()
Returns the value of this assignment.


getVariable

public BooleanVariableImpl getVariable()
Returns the variable of this assignment.