PATH Documentation > WebObjects

Table of Contents

EOQualifier.Comparison


(informal interface)
Package: com.webobjects.eocontrol


Interface Description


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.



Method Types


Testing value objectsdoesContainisEqualToisGreaterThanisGreaterThanisLessThanisLessThanOrEqualToisLikeisCaseInsensitiveLikeisNotEqualTo



Instance Methods



doesContain

public abstract boolean doesContain(Object anObject)

Returns true if the receiver contains anObject, false if it doesn't.



isCaseInsensitiveLike

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.



isEqualTo

public abstract boolean isEqualTo(Object anObject)

Returns true if the receiver is equal to anObject, false if it isn't.



isGreaterThan

public abstract boolean isGreaterThan(Object anObject)

Returns true if the receiver is greater than anObject, false if it isn't.



isGreaterThanOrEqualTo

public abstract boolean isGreaterThanOrEqualTo(Object anObject)

Returns true if the receiver is greater than or equal to anObject, false if it isn't.



isLessThan

public abstract boolean isLessThan(Object anObject)

Returns true if the receiver is less than anObject, false if it isn't.



isLessThanOrEqualTo

public abstract boolean isLessThanOrEqualTo(Object anObject)

Returns true if the receiver is less than or equal to anObject, false if it isn't.



isLike

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.



isNotEqualTo

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)


Table of Contents