Class PolyStringOrigMatchingRule
- java.lang.Object
- 
- com.evolveum.midpoint.prism.impl.match.PolyStringOrigMatchingRule
 
- 
- All Implemented Interfaces:
- MatchingRule<PolyString>
 
 public class PolyStringOrigMatchingRule extends Object implements MatchingRule<PolyString> - Author:
- semancik
 
- 
- 
Constructor SummaryConstructors Constructor Description PolyStringOrigMatchingRule()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetName()QName that identifies the rule.booleanisSupported(QName xsdType)Returns true if the rule can be applied to the specified XSD type.booleanmatch(PolyString a, PolyString b)Matches two objects.booleanmatchRegex(PolyString a, String regex)Matches value against given regex.PolyStringnormalize(PolyString original)Returns a normalized version of the value.
 
- 
- 
- 
Method Detail- 
getNamepublic QName getName() Description copied from interface:MatchingRuleQName that identifies the rule. This QName may be used to refer to this specific matching rule, it is an matching rule identifier.- Specified by:
- getNamein interface- MatchingRule<PolyString>
 
 - 
isSupportedpublic boolean isSupported(QName xsdType) Description copied from interface:MatchingRuleReturns true if the rule can be applied to the specified XSD type.- Specified by:
- isSupportedin interface- MatchingRule<PolyString>
 
 - 
matchpublic boolean match(PolyString a, PolyString b) Description copied from interface:MatchingRuleMatches two objects.- Specified by:
- matchin interface- MatchingRule<PolyString>
 
 - 
normalizepublic PolyString normalize(PolyString original) Description copied from interface:MatchingRuleReturns a normalized version of the value. For normalized version the following holds: if A matches B then normalize(A) == normalize(B)- Specified by:
- normalizein interface- MatchingRule<PolyString>
 
 - 
matchRegexpublic boolean matchRegex(PolyString a, String regex) Description copied from interface:MatchingRuleMatches value against given regex.- Specified by:
- matchRegexin interface- MatchingRule<PolyString>
 
 
- 
 
-