|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is the starting point for the implementation of the Composite design pattern.
The composite will contain other Conditionals (possibly even other ConditionalComposites). For example col1=4 && (col2 like .jsp and col3!=true)
View Code
| Method Summary | |
void |
addConditional(Conditional conditional)
Add another Conditional to the composite. |
void |
addNot()
negate the isTrue(...) method |
boolean |
isTrue(java.lang.Object[] row)
Returns true if the row passed in should be kept |
| Methods inherited from interface com.fdsapi.arrays.Conditional |
getType |
| Method Detail |
public boolean isTrue(java.lang.Object[] row)
isTrue in interface Conditionalpublic void addConditional(Conditional conditional)
public void addNot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||