- Package:
- com.apple.client.eocontrol
The EOQualifierComparison interface defines methods for comparing values. These methods are used for evaluating qualifiers in memory.
| Note: This interface doesn't exist in the Yellow Box package, com.apple.yellow.eocontrol |
In Java Client, support for these methods is provided for String, Number, and Date using EOQualifier.ComparisonSupport. You should implement this interface for any value classes you write that you want to be evaluated in memory by EOQualifier instances.
- Testing value objects
- doesContain
- isEqualTo
- isGreaterThan
- isGreaterThan
- isLessThan
- isLessThanOrEqualTo
- isLike
- isCaseInsensitiveLike
- isNotEqualTo
public abstract boolean doesContain(Object anObject)
true if
the receiver contains anObject, false if
it doesn't.public abstract boolean isCaseInsensitiveLike(Object anObject)
true if
the receiver is a case-insensitive match for anObject, false if
it isn't. See "Using Wildcards and the like Operator" on page 299 for the wildcard characters allowed.public abstract boolean isEqualTo(Object anObject)
true if
the receiver is equal to anObject, false if
it isn't.public abstract boolean isGreaterThan(Object anObject)
true if
the receiver is greater than anObject, false if
it isn't.public abstract boolean isGreaterThanOrEqualTo(Object anObject)
true if
the receiver is greater than or equal to anObject, false if
it isn't.public abstract boolean isLessThan(Object anObject)
true if
the receiver is less than anObject, false if
it isn't.public abstract boolean isLessThanOrEqualTo(Object anObject)
true if
the receiver is less than or equal to anObject, false if
it isn't.public abstract boolean isLike(Object anObject)
true if
the receiver matches aString according
to the semantics of the SQL like comparison operator, false if
it doesn't. See "Using Wildcards and the like Operator" on page 299 for the wildcard characters allowed.public abstract boolean isNotEqualTo(Object anObject)
true if
the receiver is not equal to anObject, false if
it is.