Class ValueMatcher<T>
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.ValueMatcher<T>
-
public class ValueMatcher<T> extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description ValueMatcher(MatchingRule<T> matchingRule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> ValueMatcher<T>
createDefaultMatcher(QName type, MatchingRuleRegistry matchingRuleRegistry)
static <T> ValueMatcher<T>
createMatcher(RefinedAttributeDefinition rAttrDef, MatchingRuleRegistry matchingRuleRegistry)
PrismPropertyValue<T>
findValue(PrismProperty<T> property, PrismPropertyValue<T> pValue)
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()
-
-
-
Constructor Detail
-
ValueMatcher
public ValueMatcher(MatchingRule<T> matchingRule)
-
-
Method Detail
-
createMatcher
public static <T> ValueMatcher<T> createMatcher(RefinedAttributeDefinition rAttrDef, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
- Throws:
SchemaException
-
createDefaultMatcher
public static <T> ValueMatcher<T> createDefaultMatcher(QName type, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
- Throws:
SchemaException
-
match
public boolean match(T realA, T realB) throws SchemaException
- Throws:
SchemaException
-
matches
public boolean matches(T realValue, String regex) throws SchemaException
- Throws:
SchemaException
-
hasRealValue
public boolean hasRealValue(PrismProperty<T> property, PrismPropertyValue<T> pValue)
-
findValue
@Experimental public PrismPropertyValue<T> findValue(PrismProperty<T> property, PrismPropertyValue<T> pValue)
-
isRealValueToAdd
public boolean isRealValueToAdd(PropertyDelta<T> delta, PrismPropertyValue<T> pValue)
-
-