public class ERXBetweenQualifier extends ERXKeyValueQualifier implements com.webobjects.eocontrol.EOQualifierEvaluation, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ERXBetweenQualifier.BetweenQualifierSQLGenerationSupport |
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, _lowercaseCache, _selector, _value
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual
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 com.webobjects.foundation.NSComparator |
comparatorForObject(Object anObject)
Determines the comparator to use for a given object based
on the object's class.
|
static Object |
decodeObject(com.webobjects.foundation.NSCoder coder) |
static Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver) |
void |
encodeWithCoder(com.webobjects.foundation.NSCoder coder) |
void |
encodeWithKeyValueArchiver(com.webobjects.eocontrol.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.
|
com.webobjects.eocontrol.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(com.webobjects.eocontrol.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 com.webobjects.eocontrol.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 com.webobjects.eocontrol.EOKeyValueQualifier
aSet
- to add the qualification key to.public com.webobjects.eocontrol.EOQualifier qualifierWithBindings(NSDictionary someBindings, boolean requiresAll)
qualifierWithBindings
in class com.webobjects.eocontrol.EOKeyValueQualifier
someBindings
- some bindingsrequiresAll
- tells if the qualifier requires all bindingspublic void validateKeysWithRootClassDescription(com.webobjects.eocontrol.EOClassDescription aClassDescription)
validateKeysWithRootClassDescription
in class com.webobjects.eocontrol.EOKeyValueQualifier
aClassDescription
- to validation the qualifier keys
against.protected com.webobjects.foundation.NSComparator comparatorForObject(Object anObject)
anObject
- to find the comparator forpublic boolean evaluateWithObject(Object anObject)
evaluateWithObject
in interface com.webobjects.eocontrol.EOQualifierEvaluation
evaluateWithObject
in class ERXKeyValueQualifier
public Object clone()
clone
in class com.webobjects.eocontrol.EOQualifier
public String toString()
toString
in class com.webobjects.eocontrol.EOKeyValueQualifier
public Class classForCoder()
classForCoder
in interface com.webobjects.foundation.NSCoding
classForCoder
in class com.webobjects.eocontrol.EOKeyValueQualifier
public static Object decodeObject(com.webobjects.foundation.NSCoder coder)
public void encodeWithCoder(com.webobjects.foundation.NSCoder coder)
encodeWithCoder
in interface com.webobjects.foundation.NSCoding
encodeWithCoder
in class com.webobjects.eocontrol.EOKeyValueQualifier
public void encodeWithKeyValueArchiver(com.webobjects.eocontrol.EOKeyValueArchiver archiver)
encodeWithKeyValueArchiver
in interface com.webobjects.eocontrol.EOKeyValueArchiving
encodeWithKeyValueArchiver
in class com.webobjects.eocontrol.EOKeyValueQualifier
public static Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver)
Copyright © 2002 – 2020 Project Wonder.