EOQualifier.Comparison
- Package:
- com.apple.client.eocontrol
Interface Description
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.
Method Types
- Testing value objects
- doesContain
- isEqualTo
- isGreaterThan
- isGreaterThan
- isLessThan
- isLessThanOrEqualTo
- isLike
- isCaseInsensitiveLike
- isNotEqualTo
Instance Methods
doesContain
public abstract boolean
doesContain
(Object anObject)
true
if
the receiver contains anObject, false
if
it doesn't.isCaseInsensitiveLike
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.isEqualTo
public abstract boolean
isEqualTo
(Object anObject)
true
if
the receiver is equal to anObject, false
if
it isn't.isGreaterThan
public abstract boolean
isGreaterThan
(Object anObject)
true
if
the receiver is greater than anObject, false
if
it isn't.isGreaterThanOrEqualTo
public abstract boolean
isGreaterThanOrEqualTo
(Object anObject)
true
if
the receiver is greater than or equal to anObject, false
if
it isn't.isLessThan
public abstract boolean
isLessThan
(Object anObject)
true
if
the receiver is less than anObject, false
if
it isn't.isLessThanOrEqualTo
public abstract boolean
isLessThanOrEqualTo
(Object anObject)
true
if
the receiver is less than or equal to anObject, false
if
it isn't.isLike
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.isNotEqualTo
public abstract boolean
isNotEqualTo
(Object anObject)
true
if
the receiver is not equal to anObject, false
if
it is.