|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eocontrol.EOQualifier com.webobjects.eocontrol.EOKeyValueQualifier er.extensions.ERXBetweenQualifier
The between qualifier allows qualification on an attribute that is between two values. This qualifier supports both in-memory and sql based qualification. The SQL generated is of the form: "FOO BETWEEN 1 AND 3" Note this qualifier supports qualifing against String, Number and NSTimestamp values.
Nested Class Summary | |
static class |
ERXBetweenQualifier.BetweenQualifierSQLGenerationSupport
|
Nested classes inherited from class com.webobjects.eocontrol.EOQualifier |
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionException |
Nested classes inherited from class com.webobjects.foundation.NSCoding |
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 |
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueArchiving |
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support |
Field Summary |
Fields inherited from class com.webobjects.eocontrol.EOKeyValueQualifier |
_CLASS, _lowercaseCache, _selector, _value |
Fields inherited from class com.webobjects.eocontrol.EOQualifier |
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual |
Fields inherited from interface com.webobjects.eocontrol.EOQualifierEvaluation |
_CLASS |
Constructor Summary | |
ERXBetweenQualifier(String aKey,
Object aMinimumValue,
Object aMaximumValue)
Creates a qualifier for a given key with a min and max value specified. |
Method Summary | |
void |
addQualifierKeysToSet(NSMutableSet aSet)
Adds the qualification key of the qualifier to the given set. |
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. |
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. |
void |
validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
This qualifier does not perform validation. |
Methods inherited from class com.webobjects.eocontrol.EOKeyValueQualifier |
_accept, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, equals, selector, toString, value |
Methods inherited from class com.webobjects.eocontrol.EOQualifier |
_isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, filterArrayWithQualifier, filteredArrayWithQualifier, keyPathForBindingKey, operatorSelectorForSelectorNamed, operatorSelectorForString, qualifierToMatchAllValues, qualifierToMatchAnyValue, qualifierWithQualifierFormat, relationalQualifierOperators, stringForOperatorSelector |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ERXBetweenQualifier(String aKey, Object aMinimumValue, Object aMaximumValue)
aKey
- key to qualify againstaMinimumValue
- minimum value of the keyaMaximumValue
- maximum value of the keyMethod Detail |
public String key()
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)
aSet
- to add the qualification key to.public EOQualifier qualifierWithBindings(NSDictionary someBindings, boolean requiresAll)
someBindings
- some bindingsrequiresAll
- tells if the qualifier requires all bindings
public void validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
aClassDescription
- to validation the qualifier keys
against.protected NSComparator comparatorForObject(Object anObject)
anObject
- to find the comparator for
public boolean evaluateWithObject(Object anObject)
evaluateWithObject
in interface EOQualifierEvaluation
public Object clone()
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |