Class JsonSchemaCfgDefn


  • public final class JsonSchemaCfgDefn
    extends ManagedObjectDefinition<JsonSchemaCfgClient,​JsonSchemaCfg>
    An interface for querying the Json Schema managed object definition meta information.

    The JSON Schema Provider provides the ability to configure customized JSON query matching rules.

    • Method Detail

      • getInstance

        public static JsonSchemaCfgDefn getInstance()
        Get the Json Schema configuration definition singleton.
        Returns:
        Returns the Json Schema 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 Schema 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.
      • getIndexedFieldPropertyDefinition

        public StringPropertyDefinition getIndexedFieldPropertyDefinition()
        Get the "indexed-field" property definition.

        Specifies which JSON fields should be indexed.

        A field will be indexed if it matches any of the configured field patterns.

        Returns:
        Returns the "indexed-field" 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 Schema implementation.

        Returns:
        Returns the "java-class" 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.