Class JsonSchemaCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<JsonSchemaCfgClient,JsonSchemaCfg>
-
- org.forgerock.opendj.server.config.meta.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonSchemaCfgClientcreateClientConfiguration(ManagedObject<? extends JsonSchemaCfgClient> impl)Creates a client configuration view of the provided managed object.JsonSchemaCfgcreateServerConfiguration(ServerManagedObject<? extends JsonSchemaCfg> impl)Creates a server configuration view of the provided server managed object.BooleanPropertyDefinitiongetCaseSensitiveStringsPropertyDefinition()Get the "case-sensitive-strings" property definition.BooleanPropertyDefinitiongetEnabledPropertyDefinition()Get the "enabled" property definition.BooleanPropertyDefinitiongetIgnoreWhiteSpacePropertyDefinition()Get the "ignore-white-space" property definition.StringPropertyDefinitiongetIndexedFieldPropertyDefinition()Get the "indexed-field" property definition.static JsonSchemaCfgDefngetInstance()Get the Json Schema configuration definition singleton.ClassPropertyDefinitiongetJavaClassPropertyDefinition()Get the "java-class" property definition.StringPropertyDefinitiongetMatchingRuleNamePropertyDefinition()Get the "matching-rule-name" property definition.StringPropertyDefinitiongetMatchingRuleOidPropertyDefinition()Get the "matching-rule-oid" property definition.Class<JsonSchemaCfg>getServerConfigurationClass()Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static JsonSchemaCfgDefn getInstance()
Get the Json Schema configuration definition singleton.- Returns:
- Returns the Json Schema configuration definition singleton.
-
createClientConfiguration
public JsonSchemaCfgClient createClientConfiguration(ManagedObject<? extends JsonSchemaCfgClient> impl)
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfigurationin classManagedObjectDefinition<JsonSchemaCfgClient,JsonSchemaCfg>- Parameters:
impl- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public JsonSchemaCfg createServerConfiguration(ServerManagedObject<? extends JsonSchemaCfg> impl)
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfigurationin classManagedObjectDefinition<JsonSchemaCfgClient,JsonSchemaCfg>- Parameters:
impl- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<JsonSchemaCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClassin classManagedObjectDefinition<JsonSchemaCfgClient,JsonSchemaCfg>- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
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.
-
-