|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Condition
A condition Interface for any user defined condition. The method isTrue() will be called to check if a condition is true for the passing type.
ConditionExpression
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. |
Method Detail |
---|
boolean isTrue(Type source) throws FormulaException
source
- source of initializer
FormulaException
boolean doesConcern(Type checkType)
checkType
- type which may concern this conditionvoid setSourceType(Type sourceType)
sourceType
- the holder of the condition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |