|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.eocontrol.EOQualifier
com.webobjects.eocontrol.EOKeyValueQualifier
er.extensions.qualifiers.ERXKeyValueQualifier
er.extensions.eof.qualifiers.ERXBetweenQualifier
public class 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/interfaces inherited from class com.webobjects.eocontrol.EOQualifier |
|---|
EOQualifier.Comparison, EOQualifier.ComparisonSupport, EOQualifier.QualifierVariableSubstitutionException |
| Nested classes/interfaces inherited from interface 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/interfaces inherited from interface 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. |
String |
toString()
|
void |
validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
This qualifier does not perform validation. |
| Methods inherited from class er.extensions.qualifiers.ERXKeyValueQualifier |
|---|
and, filter, filtered, first, not, one, or, requiredOne |
| Methods inherited from class com.webobjects.eocontrol.EOKeyValueQualifier |
|---|
_accept, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, equals, selector, 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 key| Method Detail |
|---|
public String key()
key in class EOKeyValueQualifierpublic 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 EOKeyValueQualifieraSet - to add the qualification key to.
public EOQualifier qualifierWithBindings(NSDictionary someBindings,
boolean requiresAll)
qualifierWithBindings in class EOKeyValueQualifiersomeBindings - some bindingsrequiresAll - tells if the qualifier requires all bindings
public void validateKeysWithRootClassDescription(EOClassDescription aClassDescription)
validateKeysWithRootClassDescription in class EOKeyValueQualifieraClassDescription - 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 EOQualifierEvaluationevaluateWithObject in class EOKeyValueQualifierpublic Object clone()
clone in class EOQualifierpublic String toString()
toString in class EOKeyValueQualifier
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||