public class ERXKeyValueQualifier extends com.webobjects.eocontrol.EOKeyValueQualifier implements IERXChainableQualifier
com.webobjects.eocontrol.EOQualifier.Comparison, com.webobjects.eocontrol.EOQualifier.ComparisonSupport, com.webobjects.eocontrol.EOQualifier.QualifierVariableSubstitutionException
com.webobjects.foundation.NSCoding._BigDecimalSupport, com.webobjects.foundation.NSCoding._BigIntegerSupport, com.webobjects.foundation.NSCoding._BooleanSupport, com.webobjects.foundation.NSCoding._ByteSupport, com.webobjects.foundation.NSCoding._CharacterSupport, com.webobjects.foundation.NSCoding._DateSupport, com.webobjects.foundation.NSCoding._DoubleSupport, com.webobjects.foundation.NSCoding._FloatSupport, com.webobjects.foundation.NSCoding._IntegerSupport, com.webobjects.foundation.NSCoding._LongSupport, com.webobjects.foundation.NSCoding._NumberSupport, com.webobjects.foundation.NSCoding._ShortSupport, com.webobjects.foundation.NSCoding._StringSupport, com.webobjects.foundation.NSCoding.Support
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support
_CLASS, _key, _lowercaseCache, _selector, _value
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
Constructor and Description |
---|
ERXKeyValueQualifier(String key,
com.webobjects.foundation.NSSelector selector,
Object value) |
Modifier and Type | Method and Description |
---|---|
ERXAndQualifier |
and(com.webobjects.eocontrol.EOQualifier... qualifiers)
Returns a new qualifier that represents this qualifier and'd to the given
list of qualifiers.
|
boolean |
evaluateWithObject(Object object)
Overridden to handle case of in-memory evaluation of QualifierOperatorContains selector and a keyPath that has multiple toMany and/or manyToMany-flattened relationships resulting in arrays of arrays rather than
an array of discrete objects.
|
void |
filter(NSMutableArray<?> array)
Equivalent to EOQualifier.filterArrayWithQualifier(NSMutableArray,
EOQualfier)
|
<T> NSArray<T> |
filtered(NSArray<T> array)
Equivalent to EOQualifier.filteredArrayWithQualifier(NSArray,
EOQualifier)
|
<T> T |
first(NSArray<T> array)
Equivalent to EOQualifier.first(NSMutableArray, EOQualfier)
|
ERXNotQualifier |
not()
Returns a new qualifier that represents this qualifier not'd.
|
<T> T |
one(NSArray<T> array)
Equivalent to EOQualifier.one(NSMutableArray, EOQualfier)
|
ERXOrQualifier |
or(com.webobjects.eocontrol.EOQualifier... qualifiers)
Returns a new qualifier that represents this qualifier or'd with the
given list of qualifiers.
|
<T> T |
requiredOne(NSArray<T> array)
Equivalent to EOQualifier.requiredOne(NSArray, EOQualfier)
|
_accept, addQualifierKeysToSet, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, equals, key, qualifierWithBindings, selector, toString, validateKeysWithRootClassDescription, value
_isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, clone, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector
public ERXAndQualifier and(com.webobjects.eocontrol.EOQualifier... qualifiers)
IERXChainableQualifier
and
in interface IERXChainableQualifier
qualifiers
- the qualifiers to and with this qualifierpublic ERXNotQualifier not()
IERXChainableQualifier
not
in interface IERXChainableQualifier
public ERXOrQualifier or(com.webobjects.eocontrol.EOQualifier... qualifiers)
IERXChainableQualifier
or
in interface IERXChainableQualifier
qualifiers
- the qualifiers to or with this qualifierpublic void filter(NSMutableArray<?> array)
IERXChainableQualifier
filter
in interface IERXChainableQualifier
array
- the array to filter (in place)public <T> NSArray<T> filtered(NSArray<T> array)
IERXChainableQualifier
filtered
in interface IERXChainableQualifier
T
- the type of the arrayarray
- the array to filterpublic <T> T first(NSArray<T> array)
IERXChainableQualifier
first
in interface IERXChainableQualifier
T
- the type of the arrayarray
- the array to filter (in place)public <T> T one(NSArray<T> array)
IERXChainableQualifier
one
in interface IERXChainableQualifier
T
- the type of the arrayarray
- the array to filter (in place)public <T> T requiredOne(NSArray<T> array)
IERXChainableQualifier
requiredOne
in interface IERXChainableQualifier
T
- the type of the arrayarray
- the array to filter (in place)public boolean evaluateWithObject(Object object)
er.extensions.ERXKeyValueQualifier.Contains.flatten
to false
evaluateWithObject
in interface com.webobjects.eocontrol.EOQualifierEvaluation
evaluateWithObject
in class com.webobjects.eocontrol.EOKeyValueQualifier
Copyright © 2002 – 2020 Project Wonder.