PATH |
(informal interface)
Package: com.webobjects.eocontrol
The EOQualifierComparison interface defines methods for comparing values. These methods are used for evaluating qualifiers in memory.
You should implement this interface for any value classes you write that you want to be evaluated in memory by EOQualifier instances.
Testing value objectsdoesContainisEqualToisGreaterThanisGreaterThanisLessThanisLessThanOrEqualToisLikeisCaseInsensitiveLikeisNotEqualTo
public abstract boolean doesContain(Object anObject)
Returns true
if the receiver contains anObject, false
if it doesn't.
public abstract boolean isCaseInsensitiveLike(Object anObject)
Returns true
if the receiver is a case-insensitive match for anObject, false
if it isn't. See "Using Wildcards and the like Operator" (page 99) for the wildcard characters allowed.
public abstract boolean isEqualTo(Object anObject)
Returns true
if the receiver is equal to anObject, false
if it isn't.
public abstract boolean isGreaterThan(Object anObject)
Returns true
if the receiver is greater than anObject, false
if it isn't.
public abstract boolean isGreaterThanOrEqualTo(Object anObject)
Returns true
if the receiver is greater than or equal to anObject, false
if it isn't.
public abstract boolean isLessThan(Object anObject)
Returns true
if the receiver is less than anObject, false
if it isn't.
public abstract boolean isLessThanOrEqualTo(Object anObject)
Returns true
if the receiver is less than or equal to anObject, false
if it isn't.
public abstract boolean isLike(Object anObject)
Returns 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" (page 99) for the wildcard characters allowed.
public abstract boolean isNotEqualTo(Object anObject)
Returns true
if the receiver is not equal to anObject, false
if it is.
© 2001 Apple Computer, Inc. (Last Published April 19, 2001)