se.js.jesdob.query.condition
Interface ICondition

All Known Implementing Classes:
AttrContainsCondition, AttrContainsNotCondition, BiggerOrEqualToCondition, BiggerThanCondition, EqualsCondition, HasAttributeCondition, HasNotAttributeCondition, IsCondition, IsNotCondition, IsNotNumericCondition, IsNumericCondition, LesserOrEqualToCondition, LesserThanCondition, NotEqualsCondition

public interface ICondition

An ICondition encapsulates some kind of condition, or rule, that is either true or false for a IDob-object. A ICondition can be used for testing IDobs.


Method Summary
 boolean isTrue(IDob dob)
          Returns true or false, depending on if the supplied IDob-object is fullfilling the condition/rule or not.
 

Method Detail

isTrue

boolean isTrue(IDob dob)
Returns true or false, depending on if the supplied IDob-object is fullfilling the condition/rule or not.

Parameters:
dob - The IDob to test.
Returns:
True or false, depending on if the condition is true for the IDob-object or not.