Class FuzzyStringMatchFilterImpl<T>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
com.evolveum.midpoint.prism.impl.query.AbstractItemFilter
com.evolveum.midpoint.prism.impl.query.ValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
com.evolveum.midpoint.prism.impl.query.PropertyValueFilterImpl<T>
com.evolveum.midpoint.prism.impl.query.FuzzyStringMatchFilterImpl<T>
- All Implemented Interfaces:
Freezable,Itemable,FuzzyStringMatchFilter<T>,ItemFilter,ObjectFilter,PropertyValueFilter<T>,ValueFilter<PrismPropertyValue<T>,,PrismPropertyDefinition<T>> Revivable,DebugDumpable,Serializable
public class FuzzyStringMatchFilterImpl<T>
extends PropertyValueFilterImpl<T>
implements FuzzyStringMatchFilter<T>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.query.FuzzyStringMatchFilter
FuzzyStringMatchFilter.FuzzyMatchingMethod, FuzzyStringMatchFilter.Levenshtein, FuzzyStringMatchFilter.Similarity, FuzzyStringMatchFilter.ThresholdMatchingMethod<T extends Number> -
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.query.AbstractItemFilter
fullPathFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRINGFields inherited from interface com.evolveum.midpoint.prism.query.FuzzyStringMatchFilter
INCLUSIVE, LEVENSHTEIN, SIMILARITY, THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionclone()Does a SHALLOW clone.static <T> FuzzyStringMatchFilterImpl<T>create(ItemPath itemPath, PrismPropertyDefinition<T> propertyDefinition, FuzzyStringMatchFilter.FuzzyMatchingMethod method, List<PrismPropertyValue<T>> values) protected voiddebugDump(int indent, StringBuilder sb) protected String@NotNull PrismPropertyValue<T>Returns single value ornull, throws exception if multiple values are present.booleanmatch(PrismContainerValue<?> cValue, MatchingRuleRegistry matchingRuleRegistry) Methods inherited from class com.evolveum.midpoint.prism.impl.query.ValueFilterImpl
canNestInsideExists, checkConsistence, collectUsedPaths, debugDump, equals, equals, getDeclaredMatchingRule, getDefinition, getElementName, getExpression, getParentPath, getPath, getRightHandSideDefinition, getRightHandSidePath, getValues, hashCode, isRaw, performFreeze, setDefinition, setExpression, setMatchingRule, setRightHandSideDefinition, setRightHandSidePath, setValue, setValues, toString, toStringMethods inherited from class com.evolveum.midpoint.prism.impl.query.AbstractItemFilter
getFullPath, transformItemPathsMethods inherited from class com.evolveum.midpoint.prism.impl.query.ObjectFilterImpl
accept, revive, setPrismContextMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutableMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.query.ObjectFilter
accept, collectUsedPaths, revive, transformItemPaths, usedPathsMethods inherited from interface com.evolveum.midpoint.prism.query.PropertyValueFilter
getMatchingRuleMethods inherited from interface com.evolveum.midpoint.prism.query.ValueFilter
canNestInsideExists, checkConsistence, equals, getDeclaredMatchingRule, getDefinition, getElementName, getExpression, getFullPath, getParentPath, getPath, getRightHandSideDefinition, getRightHandSidePath, getValues, hasNoValue, isRaw, matchesOnly, setDefinition, setExpression, setMatchingRule, setRightHandSideDefinition, setRightHandSidePath, setValue, setValues
-
Method Details
-
getMatchingMethod
- Specified by:
getMatchingMethodin interfaceFuzzyStringMatchFilter<T>
-
clone
Description copied from interface:ObjectFilterDoes a SHALLOW clone.- Specified by:
clonein interfaceObjectFilter- Specified by:
clonein interfacePropertyValueFilter<T>- Specified by:
clonein interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
clonein classPropertyValueFilterImpl<T>
-
getSingleValue
Description copied from interface:ValueFilterReturns single value ornull, throws exception if multiple values are present.- Specified by:
getSingleValuein interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Overrides:
getSingleValuein classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
match
public boolean match(PrismContainerValue<?> cValue, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException - Specified by:
matchin interfaceObjectFilter- Specified by:
matchin interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Specified by:
matchin classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>> - Throws:
SchemaException
-
getFilterName
- Specified by:
getFilterNamein classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
debugDump
- Overrides:
debugDumpin classValueFilterImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-
create
public static <T> FuzzyStringMatchFilterImpl<T> create(ItemPath itemPath, PrismPropertyDefinition<T> propertyDefinition, FuzzyStringMatchFilter.FuzzyMatchingMethod method, List<PrismPropertyValue<T>> values) -
nested
- Specified by:
nestedin interfaceValueFilter<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
-