Class JsonEqualityMatchingRuleCfgDefn

    • Method Detail

      • getInstance

        public static JsonEqualityMatchingRuleCfgDefn getInstance()
        Get the JSON Equality Matching Rule configuration definition singleton.
        Returns:
        Returns the JSON Equality Matching Rule configuration definition singleton.
      • getCaseSensitiveStringsPropertyDefinition

        public BooleanPropertyDefinition getCaseSensitiveStringsPropertyDefinition()
        Get the "case-sensitive-strings" property definition.

        Indicates whether JSON string comparisons should be case-sensitive.

        Returns:
        Returns the "case-sensitive-strings" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the JSON Equality Matching Rule is enabled for use.

        Returns:
        Returns the "enabled" property definition.
      • getIgnoreWhiteSpacePropertyDefinition

        public BooleanPropertyDefinition getIgnoreWhiteSpacePropertyDefinition()
        Get the "ignore-white-space" property definition.

        Indicates whether JSON string comparisons should ignore white space.

        When enabled, all leading and trailing white space will be removed and intermediate white space will be reduced to a single character.

        Returns:
        Returns the "ignore-white-space" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the JSON Equality Matching Rule implementation.

        Returns:
        Returns the "java-class" property definition.
      • getJsonKeysPropertyDefinition

        public StringPropertyDefinition getJsonKeysPropertyDefinition()
        Get the "json-keys" property definition.

        Specifies which JSON fields should be compared in order to determine whether two JSON objects are equivalent.

        This parameter is a list of space-delimited JSON pointers.

        Returns:
        Returns the "json-keys" property definition.
      • getMatchingRuleNamePropertyDefinition

        public StringPropertyDefinition getMatchingRuleNamePropertyDefinition()
        Get the "matching-rule-name" property definition.

        The name of the custom JSON matching rule.

        Returns:
        Returns the "matching-rule-name" property definition.
      • getMatchingRuleOidPropertyDefinition

        public StringPropertyDefinition getMatchingRuleOidPropertyDefinition()
        Get the "matching-rule-oid" property definition.

        The numeric OID of the custom JSON matching rule.

        Returns:
        Returns the "matching-rule-oid" property definition.