Class PolyStringOrigNormalizer
java.lang.Object
com.evolveum.midpoint.prism.impl.polystring.PolyStringOrigNormalizer
- All Implemented Interfaces:
Normalizer<PolyString>
Special normalizer that keeps only the `orig` value of
PolyString instances.
It has no particular value besides making sure that MatchingRule.normalize(Object) contract holds.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull QNamegetName()Returns the qualified name identifying this normalizer.static <T> @NotNull PolyStringOrigNormalizerinstance()boolean`true` if the normalizer is known to be the default one, i.e., one that does no transformations.booleanmatch(@Nullable PolyString a, @Nullable PolyString b) Matches two values.booleanmatchRegex(PolyString a, String regex) Matches a value against regular expression (if supported).normalize(PolyString orig) Returns a normalized version of the value.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.normalization.Normalizer
normalizeString
-
Constructor Details
-
PolyStringOrigNormalizer
public PolyStringOrigNormalizer()
-
-
Method Details
-
normalize
Description copied from interface:NormalizerReturns a normalized version of the value.- Specified by:
normalizein interfaceNormalizer<PolyString>- Throws:
SchemaException
-
match
public boolean match(@Nullable @Nullable PolyString a, @Nullable @Nullable PolyString b) throws SchemaException Description copied from interface:NormalizerMatches two values.- Specified by:
matchin interfaceNormalizer<PolyString>- Throws:
SchemaException
-
matchRegex
Description copied from interface:NormalizerMatches a value against regular expression (if supported).- Specified by:
matchRegexin interfaceNormalizer<PolyString>
-
getName
Description copied from interface:NormalizerReturns the qualified name identifying this normalizer.- Specified by:
getNamein interfaceNormalizer<PolyString>
-
isIdentity
public boolean isIdentity()Description copied from interface:Normalizer`true` if the normalizer is known to be the default one, i.e., one that does no transformations.- Specified by:
isIdentityin interfaceNormalizer<PolyString>
-
instance
-
toString
-