- Inherits from:
- Object
- Package:
- com.apple.client.eocontrol
The com.apple.client.eocontrol EOQualifier.ComparisonSupport class provides default implementations of the EOQualifierComparison interface.
Note: This class doesn't exist in the com.apple.yellow.eocontrol package. |
The com.apple.client.eocontrol EOCustomObject uses EOQualifier.ComparisonSupport's default implementations. Typically your custom enterprise object classes inherit from EOCustomObject and inherit the default implementations. If your custom enterprise object class doesn't inherit from EOCustomObject, you should implement the EOQualifierComparison interface directly.
- Setting up automatic support
- setSupportForClass
- supportForClass
- Comparing two objects
- compareValues
- EOQualifierComparison methods
- doesContain
- isCaseInsensitiveLike
- isEqualTo
- isGreaterThan
- isGreaterThanOrEqualTo
- isLessThan
- isLessThanOrEqualTo
- isLike
- isNotEqualTo
public static int
compareValues
(
Object anObject,
Object anotherObject,
NSSelector selector)
public static void
setSupportForClass
(
EOSortOrdering.ComparisonSupport supportClass,
Class aClass)
public static EOSortOrdering.ComparisonSupport
supportForClass
(Class aClass)
public boolean
doesContain
(
Object receiver,
Object anObject)
true
if receiver contains anObject, false
if
it doesn't. NSObject's implementation of this method returns true
only
if receiver is a kind of NSArray
and contains anObject. In all other
cases it returns false
.
This method is used in the Framework only by EOQualifier for in-memory
evaluation.public boolean
isCaseInsensitiveLike
(
Object receiver,
Object anObject)
true
if receiver is
a case-insensitive match for anObject, false
if
it isn't. See "Using Wildcards and the like Operator" for the wildcard characters allowed. This method
is used in the Framework only by EOQualifier for in-memory evaluation.public boolean
isEqualTo
(
Object receiver,
Object anObject)
equals
and
returns the result. This method is used in the Framework only by
EOQualifier for in-memory evaluation.public boolean
isGreaterThan
(
Object receiver,
Object anObject)
compare
and
returns true
if the result
is NSComparitor.OrderedDescending
.
This method is used in the Framework only by EOQualifier for in-memory
evaluation.public boolean
isGreaterThanOrEqualTo
(
Object receiver,
Object anObject)
compare
and
returns true
if the result
is NSComparitor.OrderedDescending
or NSComparitor.OrderedSame
.
This method is used in the Framework only by EOQualifier for in-memory
evaluation.public boolean
isLessThan
(
Object receiver,
Object anObject)
compare
and
returns true
if the result
is NSComparator.OrderedAscending
.
This method is used in the Framework only by EOQualifier for in-memory
evaluation.public boolean
isLessThanOrEqualTo
(
Object receiver,
Object anObject)
compare
and
returns true
if the result
is NSComparator.OrderedAscending
or NSComparator.OrderedSame
.
This method is used in the Framework only by EOQualifier for in-memory evaluation.public boolean
isLike
(
Object receiver,
Object anObject)
true
if receiver matches anObject according
to the semantics of the SQL like
comparison operator, false
if
it doesn't. See "Using Wildcards and the like Operator" for the wildcard characters allowed. This method
is used in the Framework only by EOQualifier for in-memory evaluation.public boolean
isNotEqualTo
(
Object receiver,
Object anObject)
equals
, inverts
the result, and returns it. This method is used in the Framework
only by EOQualifier for in-memory evaluation.