public class ERXAdaptorOpComparator extends NSComparator
NSComparator._NSSelectorComparator, NSComparator.ComparisonException
Modifier and Type | Field and Description |
---|---|
protected NSArray |
_context |
_CLASS, AscendingCaseInsensitiveStringComparator, AscendingNumberComparator, AscendingStringComparator, AscendingTimestampComparator, DescendingCaseInsensitiveStringComparator, DescendingNumberComparator, DescendingStringComparator, DescendingTimestampComparator, OrderedAscending, OrderedDescending, OrderedSame
Constructor and Description |
---|
ERXAdaptorOpComparator(NSArray entityNameOrdering) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object object1,
Object object2) |
protected String |
entityNameFromAdaptorOperation(EOAdaptorOperation adaptorOp)
Returns the name of EOEntity updated by adaptorOp.
|
_compareObjects
protected NSArray _context
public ERXAdaptorOpComparator(NSArray entityNameOrdering)
entityNameOrdering
- ordering of entity names to base sorting onpublic int compare(Object object1, Object object2) throws NSComparator.ComparisonException
NSComparator.ComparisonException
protected String entityNameFromAdaptorOperation(EOAdaptorOperation adaptorOp)
adaptorOp
- EOAdaptorOperation to return Entity name fromCopyright © 2002 – 2024 Project Wonder.