Class DefaultMatchingRule<T>

java.lang.Object
com.evolveum.midpoint.prism.impl.match.DefaultMatchingRule<T>
All Implemented Interfaces:
MatchingRule<T>

public class DefaultMatchingRule<T> extends Object implements MatchingRule<T>
Default matching rule used as a fall-back if no explicit matching rule is specified. It is simply using java equals() method to match values.
Author:
Radovan Semancik
  • Constructor Details

    • DefaultMatchingRule

      public DefaultMatchingRule()
  • Method Details

    • getName

      public QName getName()
      Description copied from interface: MatchingRule
      QName that identifies the rule. This QName may be used to refer to this specific matching rule, it is an matching rule identifier.
      Specified by:
      getName in interface MatchingRule<T>
    • supports

      public boolean supports(QName xsdType)
      Description copied from interface: MatchingRule
      Returns true if the rule can be applied to the specified XSD type.
      Specified by:
      supports in interface MatchingRule<T>
    • getNormalizer

      @NotNull public @NotNull Normalizer<T> getNormalizer()
      Description copied from interface: MatchingRule
      Returns the normalizer corresponding to this rule.
      Specified by:
      getNormalizer in interface MatchingRule<T>
    • toString

      public String toString()
      Overrides:
      toString in class Object