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:
- EOKeyValueArchiving, EOQualifierEvaluation, NSCoding, IERXChainableQualifier, 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.
- Author:
- ak
- See Also:
- Serialized Form
| 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 |
| 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 |
MatchesSelectorName
public static String MatchesSelectorName
MatchesSelector
public static NSSelector MatchesSelector
ERXRegExQualifier
public ERXRegExQualifier(String aKey,
String aValue)
evaluateWithObject
public boolean evaluateWithObject(Object object)
- Specified by:
evaluateWithObject in interface EOQualifierEvaluation- Overrides:
evaluateWithObject in class EOKeyValueQualifier
Copyright © 2002 – 2007 Project Wonder.