Enum MatchingRule.MatchingRuleType

    • Enum Constant Detail

      • EQUALITY

        public static final MatchingRule.MatchingRuleType EQUALITY
        A rule suitable for use as the equality matching rule (EQUALITY) of an attribute type. Note that we consider approximate matching rules to be EQUALITY matching rules: although they implement a "fuzzy" type of equality, they are trying to decide if two values are equal.
      • ORDERING

        public static final MatchingRule.MatchingRuleType ORDERING
        A rule suitable for use as the ordering matching rule (ORDERING) of an attribute type.
      • SUBSTRING

        public static final MatchingRule.MatchingRuleType SUBSTRING
        A rule suitable for use as the substrings matching rule (SUBSTR) of an attribute type.
    • Method Detail

      • values

        public static MatchingRule.MatchingRuleType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MatchingRule.MatchingRuleType c : MatchingRule.MatchingRuleType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MatchingRule.MatchingRuleType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null