Interface DITStructureRule
- 
 @NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface DITStructureRule This interface defines a set of methods that may be used to obtain information about a DIT structure rule defined in the server schema.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether the provided object is equal to this DIT structure rule.java.lang.StringgetDescription()Retrieves the description for this DIT content rule, if any.java.util.Map<java.lang.String,java.util.List<java.lang.String>>getExtensions()Retrieves a map of all defined extensions for this DIT structure rule.NameFormgetNameForm()Retrieves the name form for this DIT structure rule.java.lang.StringgetNameOrRuleID()Retrieves the primary name for this DIT structure rule, or the rule ID if no names are defined.java.util.List<java.lang.String>getNames()Retrieves the list of names for this DIT structure rule, if any.intgetRuleID()Retrieves the rule ID for this DIT structure rule.java.lang.StringgetSchemaFileName()Retrieves the name of the schema file in which this DIT structure rule is defined.ObjectClassgetStructuralClass()Retrieves the structural object class for this DIT content rule.java.util.Set<DITStructureRule>getSuperiorRules()Retrieves the set of superior DIT structure rules for this rule, if any.inthashCode()Retrieves a hash code for this DIT structure rule.booleanhasNameOrRuleID(java.lang.String name)Indicates whether the provided string is equal to any of the defined names or the rule ID for this DIT structure rule.booleanisObsolete()Indicates whether this DIT structure rule is declared obsolete in the server schema.java.lang.StringtoString()Retrieves a string representation of this DIT structure rule definition.
 
- 
- 
- 
Method Detail- 
getRuleIDint getRuleID() Retrieves the rule ID for this DIT structure rule.- Returns:
- The rule ID for this DIT structure rule.
 
 - 
getNamesjava.util.List<java.lang.String> getNames() Retrieves the list of names for this DIT structure rule, if any.- Returns:
- The list of names for this DIT structure rule, or an empty list if there are no user-defined names.
 
 - 
getNameOrRuleIDjava.lang.String getNameOrRuleID() Retrieves the primary name for this DIT structure rule, or the rule ID if no names are defined.- Returns:
- The primary name or rule ID for this DIT structure rule.
 
 - 
hasNameOrRuleIDboolean hasNameOrRuleID(java.lang.String name) Indicates whether the provided string is equal to any of the defined names or the rule ID for this DIT structure rule.- Parameters:
- name- The name for which to make the determination.
- Returns:
- trueif the provided string matches one of the names or the rule ID for this DIT structure rule, or- falseif not.
 
 - 
getDescriptionjava.lang.String getDescription() Retrieves the description for this DIT content rule, if any.- Returns:
- The description for this DIT content rule, or nullif it does not have a description.
 
 - 
getNameFormNameForm getNameForm() Retrieves the name form for this DIT structure rule.- Returns:
- The name form for this DIT structure rule.
 
 - 
getStructuralClassObjectClass getStructuralClass() Retrieves the structural object class for this DIT content rule.- Returns:
- The structural object class for this DIT content rule.
 
 - 
getSuperiorRulesjava.util.Set<DITStructureRule> getSuperiorRules() Retrieves the set of superior DIT structure rules for this rule, if any.- Returns:
- The set of superior DIT structure rules, or an empty set if there are no superior rules.
 
 - 
isObsoleteboolean isObsolete() Indicates whether this DIT structure rule is declared obsolete in the server schema.- Returns:
- trueif this DIT structure rule is declared obsolete in the server schema, or- falseif not.
 
 - 
getExtensionsjava.util.Map<java.lang.String,java.util.List<java.lang.String>> getExtensions() Retrieves a map of all defined extensions for this DIT structure rule.- Returns:
- A map of all defined extensions for this DIT structure rule.
 
 - 
getSchemaFileNamejava.lang.String getSchemaFileName() Retrieves the name of the schema file in which this DIT structure rule is defined.- Returns:
- The name of the schema file in which this DIT structure rule is defined.
 
 - 
equalsboolean equals(java.lang.Object o) Indicates whether the provided object is equal to this DIT structure rule.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- o- The object for which to make the determination.
- Returns:
- trueif the provided object is equal to this DIT structure rule, or- falseif not.
 
 - 
hashCodeint hashCode() Retrieves a hash code for this DIT structure rule.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- A hash code for this DIT structure rule.
 
 - 
toStringjava.lang.String toString() Retrieves a string representation of this DIT structure rule definition.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of this DIT structure rule definition.
 
 
- 
 
-