com.jaxfront.core.rule
Class AbstractCondition

java.lang.Object
  extended by com.jaxfront.core.rule.AbstractCondition
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
ConditionExpression

public class AbstractCondition
extends java.lang.Object
implements java.lang.Cloneable


Constructor Summary
AbstractCondition()
           
 
Method Summary
 Message getMessage()
           
 Type getSource()
          Returns the holder of this condition.
 boolean isShowingError()
          Indicates if this condition should show an error if it is not true.
 boolean isUsingDefaultToggle()
          Indicates if a condition is able to toggle (flip flop).
 void setSource(Type source)
          Sets the holder of this condition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCondition

public AbstractCondition()
Method Detail

getSource

public Type getSource()
Returns the holder of this condition.


isShowingError

public boolean isShowingError()
Indicates if this condition should show an error if it is not true.


isUsingDefaultToggle

public boolean isUsingDefaultToggle()
Indicates if a condition is able to toggle (flip flop). If a condition is able to toggle, the inverse action (if possible) gets invoket if the condition returns false.


setSource

public void setSource(Type source)
Sets the holder of this condition.

Parameters:
source - holder of this condition

getMessage

public Message getMessage()