@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public final class DITStructureRule extends Object implements SchemaFileElement
Constructor and Description |
---|
DITStructureRule(String definition,
Map<String,String> names,
int ruleID,
String description,
boolean isObsolete,
NameForm nameForm,
Set<DITStructureRule> superiorRules,
Map<String,List<String>> extraProperties)
Creates a new DIT structure rule with the provided information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether the provided object is equal to this DIT
structure rule.
|
String |
getDescription()
Retrieves the description for this DIT structure rule.
|
Map<String,List<String>> |
getExtraProperties()
Retrieves a mapping between the names of any extra non-standard
properties that may be associated with this DIT structure rule
and the value for that property.
|
NameForm |
getNameForm()
Retrieves the name form for this DIT structure rule.
|
String |
getNameOrRuleID()
Retrieves the name or rule ID for this DIT structure rule.
|
Map<String,String> |
getNames()
Retrieves the set of names that may be used to reference this DIT
structure rule.
|
int |
getRuleID()
Retrieves the rule ID for this DIT structure rule.
|
ObjectClass |
getStructuralClass()
Retrieves the structural objectclass for the name form with which
this DIT structure rule is associated.
|
Set<DITStructureRule> |
getSuperiorRules()
Retrieves the set of superior rules for this DIT structure rule.
|
int |
hashCode()
Retrieves the hash code for this DIT structure rule.
|
boolean |
hasName(String lowerName)
Indicates whether this DIT structure rule has the specified name.
|
boolean |
isObsolete()
Indicates whether this DIT structure rule is declared "obsolete".
|
String |
toString()
Retrieves the string representation of this attribute type in the
form specified in RFC 2252.
|
public DITStructureRule(String definition, Map<String,String> names, int ruleID, String description, boolean isObsolete, NameForm nameForm, Set<DITStructureRule> superiorRules, Map<String,List<String>> extraProperties)
definition
- The definition string used to create
this DIT structure rule. It must not be
null
.names
- The set of names for this DIT structure
rule, mapping the lowercase names to the
user-defined values.ruleID
- The rule ID for this DIT structure rule.description
- The description for this DIT structure
rule.isObsolete
- Indicates whether this DIT structure
rule is declared "obsolete".nameForm
- The name form for this DIT structure
rule.superiorRules
- References to the superior rules for
this DIT structure rule.extraProperties
- The set of "extra" properties associated
with this DIT structure rules.public Map<String,String> getNames()
public boolean hasName(String lowerName)
lowerName
- The lowercase name for which to make the
determination.true
if the specified name is assigned to this
DIT structure rule, or false
if not.public int getRuleID()
public String getNameOrRuleID()
public String getDescription()
public NameForm getNameForm()
public ObjectClass getStructuralClass()
public Set<DITStructureRule> getSuperiorRules()
public boolean isObsolete()
true
if this DIT structure rule is declared
"obsolete", or false
if not.public Map<String,List<String>> getExtraProperties()
getExtraProperties
in interface SchemaFileElement
public boolean equals(Object o)
public int hashCode()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.