er.extensions.eof.qualifiers
Class ERXRegExQualifier
java.lang.Object
com.webobjects.eocontrol.EOQualifier
com.webobjects.eocontrol.EOKeyValueQualifier
er.extensions.qualifiers.ERXKeyValueQualifier
er.extensions.eof.qualifiers.ERXRegExQualifier
- All Implemented Interfaces:
- com.webobjects.eocontrol.EOKeyValueArchiving, com.webobjects.eocontrol.EOQualifierEvaluation, com.webobjects.foundation.NSCoding, IERXChainableQualifier, java.io.Serializable
public class ERXRegExQualifier
- extends ERXKeyValueQualifier
Provides regular expression matching of attributes. You can also bind a WODisplayGroup queryOperator to
matches
and yoiu should be able to have qualifier strings with "foo matches bar".
This class does not do any conversion of the regular expression, so you'd need to have your syntax in
a way that is understood by both the java code and the DB.
- See Also:
- Serialized Form
- Author:
- ak
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 |
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 |
Fields inherited from class com.webobjects.eocontrol.EOKeyValueQualifier |
_CLASS, _key, _lowercaseCache, _selector, _value |
Fields inherited from class com.webobjects.eocontrol.EOQualifier |
QualifierOperatorCaseInsensitiveLike, QualifierOperatorContains, QualifierOperatorEqual, QualifierOperatorGreaterThan, QualifierOperatorGreaterThanOrEqualTo, QualifierOperatorLessThan, QualifierOperatorLessThanOrEqualTo, QualifierOperatorLike, QualifierOperatorNotEqual |
Constructor Summary |
ERXRegExQualifier(java.lang.String aKey,
java.lang.String aValue)
|
Methods inherited from class com.webobjects.eocontrol.EOKeyValueQualifier |
_accept, addQualifierKeysToSet, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, equals, key, qualifierWithBindings, selector, toString, validateKeysWithRootClassDescription, value |
Methods inherited from class com.webobjects.eocontrol.EOQualifier |
_isEmpty, allQualifierKeys, allQualifierOperators, bindingKeys, clone, 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 |
MatchesSelectorName
public static final java.lang.String MatchesSelectorName
- See Also:
- Constant Field Values
MatchesSelector
public static final com.webobjects.foundation.NSSelector MatchesSelector
ERXRegExQualifier
public ERXRegExQualifier(java.lang.String aKey,
java.lang.String aValue)
evaluateWithObject
public boolean evaluateWithObject(java.lang.Object object)
- Specified by:
evaluateWithObject
in interface com.webobjects.eocontrol.EOQualifierEvaluation
- Overrides:
evaluateWithObject
in class com.webobjects.eocontrol.EOKeyValueQualifier
Copyright © 2002 – 2007 Project Wonder.