org.apache.lenya.workflow.impl
Class AbstractCondition

java.lang.Object
  extended by org.apache.lenya.workflow.impl.AbstractCondition
All Implemented Interfaces:
Condition
Direct Known Subclasses:
BooleanVariableCondition, RoleCondition

public abstract class AbstractCondition
extends java.lang.Object
implements Condition

Abstract base class for workflow conditions.


Constructor Summary
AbstractCondition()
           
 
Method Summary
 java.lang.String getExpression()
          Returns the expression of this condition.
 void setExpression(java.lang.String expression)
          Sets the expression for this condition.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.lenya.workflow.Condition
isComplied
 

Constructor Detail

AbstractCondition

public AbstractCondition()
Method Detail

setExpression

public void setExpression(java.lang.String expression)
                   throws WorkflowException
Description copied from interface: Condition
Sets the expression for this condition.

Specified by:
setExpression in interface Condition
Parameters:
expression - The expression.
Throws:
WorkflowException - when the expression is not valid.
See Also:
setExpression(java.lang.String)

getExpression

public java.lang.String getExpression()
Returns the expression of this condition.

Returns:
A string.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


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