public class ValueMatcher<T> extends Object
Constructor and Description |
---|
ValueMatcher(MatchingRule<T> matchingRule) |
Modifier and Type | Method and Description |
---|---|
static <T> ValueMatcher<T> |
createDefaultMatcher(QName type,
MatchingRuleRegistry matchingRuleRegistry) |
static <T> ValueMatcher<T> |
createMatcher(RefinedAttributeDefinition rAttrDef,
MatchingRuleRegistry matchingRuleRegistry) |
boolean |
hasRealValue(PrismProperty<T> property,
PrismPropertyValue<T> pValue) |
boolean |
isRealValueToAdd(PropertyDelta<T> delta,
PrismPropertyValue<T> pValue) |
boolean |
match(T realA,
T realB) |
boolean |
matches(T realValue,
String regex) |
String |
toString() |
public ValueMatcher(MatchingRule<T> matchingRule)
public static <T> ValueMatcher<T> createMatcher(RefinedAttributeDefinition rAttrDef, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
SchemaException
public static <T> ValueMatcher<T> createDefaultMatcher(QName type, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
SchemaException
public boolean match(T realA, T realB) throws SchemaException
SchemaException
public boolean matches(T realValue, String regex) throws SchemaException
SchemaException
public boolean hasRealValue(PrismProperty<T> property, PrismPropertyValue<T> pValue)
public boolean isRealValueToAdd(PropertyDelta<T> delta, PrismPropertyValue<T> pValue)
Copyright © 2016 evolveum. All rights reserved.