public class ERXBetweenQualifier extends ERXKeyValueQualifier implements EOQualifierEvaluation, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ERXBetweenQualifier.BetweenQualifierSQLGenerationSupport |
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionException
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
_CLASS, _lowercaseCache, _selector, _value
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
_CLASS
Constructor and Description |
---|
ERXBetweenQualifier(String aKey,
Object aMinimumValue,
Object aMaximumValue)
Creates a qualifier for a given key with a
min and max value specified.
|
Modifier and Type | Method and Description |
---|---|
void |
addQualifierKeysToSet(NSMutableSet aSet)
Adds the qualification key of the qualifier to
the given set.
|
Class |
classForCoder() |
Object |
clone()
Implementation of the Clonable interface.
|
protected NSComparator |
comparatorForObject(Object anObject)
Determines the comparator to use for a given object based
on the object's class.
|
static Object |
decodeObject(NSCoder coder) |
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver) |
void |
encodeWithCoder(NSCoder coder) |
void |
encodeWithKeyValueArchiver(EOKeyValueArchiver archiver) |
boolean |
evaluateWithObject(Object anObject)
Compares an object to determine if it is within the
between qualification of the current qualifier.
|
String |
key()
Gets the key to qualify against.
|
Object |
maximumValue()
Gets the maximum value.
|
Object |
minimumValue()
Gets the minimum value.
|
EOQualifier |
qualifierWithBindings(NSDictionary someBindings,
boolean requiresAll)
Creates another qualifier after replacing the values of the bindings.
|
void |
setKey(String aValue)
Sets the qualification key.
|
void |
setMaximumValue(Object aValue)
Sets the maximum value.
|
void |
setMinimumValue(Object aValue)
Sets the minimum value.
|
String |
toString() |
void |
validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
This qualifier does not perform validation.
|
and, filter, filtered, first, not, one, or, requiredOne
_accept, equals, selector, value
_isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector
public String key()
key
in class EOKeyValueQualifier
public void setKey(String aValue)
aValue
- for the qualification key.public Object minimumValue()
public void setMinimumValue(Object aValue)
aValue
- new minimum valuepublic Object maximumValue()
public void setMaximumValue(Object aValue)
aValue
- new maximum valuepublic void addQualifierKeysToSet(NSMutableSet aSet)
addQualifierKeysToSet
in class EOKeyValueQualifier
aSet
- to add the qualification key to.public EOQualifier qualifierWithBindings(NSDictionary someBindings, boolean requiresAll)
qualifierWithBindings
in class EOKeyValueQualifier
someBindings
- some bindingsrequiresAll
- tells if the qualifier requires all bindingspublic void validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
validateKeysWithRootClassDescription
in class EOKeyValueQualifier
aClassDescription
- to validation the qualifier keys
against.protected NSComparator comparatorForObject(Object anObject)
anObject
- to find the comparator forpublic boolean evaluateWithObject(Object anObject)
evaluateWithObject
in interface EOQualifierEvaluation
evaluateWithObject
in class ERXKeyValueQualifier
public Object clone()
clone
in class EOQualifier
public String toString()
toString
in class EOKeyValueQualifier
public Class classForCoder()
classForCoder
in interface NSCoding
classForCoder
in class EOKeyValueQualifier
public void encodeWithCoder(NSCoder coder)
encodeWithCoder
in interface NSCoding
encodeWithCoder
in class EOKeyValueQualifier
public void encodeWithKeyValueArchiver(EOKeyValueArchiver archiver)
encodeWithKeyValueArchiver
in interface EOKeyValueArchiving
encodeWithKeyValueArchiver
in class EOKeyValueQualifier
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
Copyright © 2002 – 2024 Project Wonder.