|
Project Wonder 5.0 | |||||||||||
| 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 |
|---|
com.webobjects.eocontrol.EOQualifier.Comparison, com.webobjects.eocontrol.EOQualifier.ComparisonSupport, com.webobjects.eocontrol.EOQualifier.QualifierVariableSubstitutionException |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding |
|---|
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 |
| Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
|---|
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 |
| 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(java.lang.String aKey,
java.lang.Object aMinimumValue,
java.lang.Object aMaximumValue)
Creates a qualifier for a given key with a min and max value specified. |
|
| Method Summary | |
|---|---|
void |
addQualifierKeysToSet(com.webobjects.foundation.NSMutableSet aSet)
Adds the qualification key of the qualifier to the given set. |
java.lang.Object |
clone()
Implementation of the Clonable interface. |
protected com.webobjects.foundation.NSComparator |
comparatorForObject(java.lang.Object anObject)
Determines the comparator to use for a given object based on the object's class. |
boolean |
evaluateWithObject(java.lang.Object anObject)
Compares an object to determine if it is within the between qualification of the current qualifier. |
java.lang.String |
key()
Gets the key to qualify against. |
java.lang.Object |
maximumValue()
Gets the maximum value. |
java.lang.Object |
minimumValue()
Gets the minimum value. |
com.webobjects.eocontrol.EOQualifier |
qualifierWithBindings(com.webobjects.foundation.NSDictionary someBindings,
boolean requiresAll)
Creates another qualifier after replacing the values of the bindings. |
void |
setKey(java.lang.String aValue)
Sets the qualification key. |
void |
setMaximumValue(java.lang.Object aValue)
Sets the maximum value. |
void |
setMinimumValue(java.lang.Object aValue)
Sets the minimum value. |
java.lang.String |
toString()
|
void |
validateKeysWithRootClassDescription(com.webobjects.eocontrol.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(java.lang.String aKey,
java.lang.Object aMinimumValue,
java.lang.Object aMaximumValue)
aKey - key to qualify againstaMinimumValue - minimum value of the keyaMaximumValue - maximum value of the key| Method Detail |
|---|
public java.lang.String key()
key in class com.webobjects.eocontrol.EOKeyValueQualifierpublic void setKey(java.lang.String aValue)
aValue - for the qualification key.public java.lang.Object minimumValue()
public void setMinimumValue(java.lang.Object aValue)
aValue - new minimum valuepublic java.lang.Object maximumValue()
public void setMaximumValue(java.lang.Object aValue)
aValue - new maximum valuepublic void addQualifierKeysToSet(com.webobjects.foundation.NSMutableSet aSet)
addQualifierKeysToSet in class com.webobjects.eocontrol.EOKeyValueQualifieraSet - to add the qualification key to.
public com.webobjects.eocontrol.EOQualifier qualifierWithBindings(com.webobjects.foundation.NSDictionary someBindings,
boolean requiresAll)
qualifierWithBindings in class com.webobjects.eocontrol.EOKeyValueQualifiersomeBindings - some bindingsrequiresAll - tells if the qualifier requires all bindings
public void validateKeysWithRootClassDescription(com.webobjects.eocontrol.EOClassDescription aClassDescription)
validateKeysWithRootClassDescription in class com.webobjects.eocontrol.EOKeyValueQualifieraClassDescription - to validation the qualifier keys
against.protected com.webobjects.foundation.NSComparator comparatorForObject(java.lang.Object anObject)
anObject - to find the comparator for
public boolean evaluateWithObject(java.lang.Object anObject)
evaluateWithObject in interface com.webobjects.eocontrol.EOQualifierEvaluationevaluateWithObject in class com.webobjects.eocontrol.EOKeyValueQualifierpublic java.lang.Object clone()
clone in class com.webobjects.eocontrol.EOQualifierpublic java.lang.String toString()
toString in class com.webobjects.eocontrol.EOKeyValueQualifier
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||