com.jaxfront.core.rule
Class DummyCondition

java.lang.Object
  extended by com.jaxfront.core.rule.DummyCondition
All Implemented Interfaces:
Condition

public class DummyCondition
extends java.lang.Object
implements Condition


Constructor Summary
DummyCondition()
           
 
Method Summary
 boolean doesConcern(Type checkType)
          Returns true if the submitted type does concern the condition.
 boolean isTrue(Type source)
          Returns if a condition is true.
 void setSourceType(Type sourceType)
          Sets the source type (the holder) of the condition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyCondition

public DummyCondition()
Method Detail

doesConcern

public boolean doesConcern(Type checkType)
Description copied from interface: Condition
Returns true if the submitted type does concern the condition.

Specified by:
doesConcern in interface Condition
Parameters:
checkType - type which may concern this condition

isTrue

public boolean isTrue(Type source)
               throws FormulaException
Description copied from interface: Condition
Returns if a condition is true. If an error occurred during parsing a formulaExpression, an exception will be thrown.

Specified by:
isTrue in interface Condition
Parameters:
source - source of initializer
Throws:
FormulaException

setSourceType

public void setSourceType(Type sourceType)
Description copied from interface: Condition
Sets the source type (the holder) of the condition.

Specified by:
setSourceType in interface Condition
Parameters:
sourceType - the holder of the condition