|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface DITContentRule
This interface defines a set of methods that may be used to obtain information about a DIT content rule defined in the server schema.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Indicates whether the provided object is equal to this DIT content rule. |
java.util.Set<ObjectClass> |
getAuxiliaryClasses()
Retrieves the set of allowed auxiliary classes for this DIT content rule, if any. |
java.lang.String |
getDescription()
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 content rule. |
java.lang.String |
getNameOrOID()
Retrieves the primary name for this DIT content rule, or the numeric OID of the structural object class no names are defined. |
java.util.List<java.lang.String> |
getNames()
Retrieves the list of names for this DIT content rule, if any. |
java.util.Set<AttributeType> |
getOptionalAttributes()
Retrieves the set of optional attributes for this DIT content rule, if any. |
java.util.Set<AttributeType> |
getProhibitedAttributes()
Retrieves the set of prohibited attributes for this DIT content rule, if any. |
java.util.Set<AttributeType> |
getRequiredAttributes()
Retrieves the set of required attributes for this DIT content rule, if any. |
java.lang.String |
getSchemaFileName()
Retrieves the name of the schema file in which this DIT content rule is defined. |
ObjectClass |
getStructuralClass()
Retrieves the structural object class for this DIT content rule. |
int |
hashCode()
Retrieves a hash code for this DIT content rule. |
boolean |
hasNameOrOID(java.lang.String name)
Indicates whether the provided string is equal to any of the defined names or the OID of the structural class for this DIT content rule. |
boolean |
isObsolete()
Indicates whether this DIT content rule is declared obsolete in the server schema. |
boolean |
isOptional(AttributeType t)
Indicates whether the provided attribute type is optional for this DIT content rule. |
boolean |
isProhibited(AttributeType t)
Indicates whether the provided attribute type is prohibited for this DIT content rule. |
boolean |
isRequired(AttributeType t)
Indicates whether the provided attribute type is required by this DIT content rule. |
boolean |
isRequiredOrOptional(AttributeType t)
Indicates whether the provided attribute type is allowed for use with this DIT content rule as either a required or optional type. |
java.lang.String |
toString()
Retrieves a string representation of this DIT content rule definition. |
Method Detail |
---|
java.util.List<java.lang.String> getNames()
java.lang.String getNameOrOID()
boolean hasNameOrOID(java.lang.String name)
name
- The name for which to make the determination.
true
if the provided string matches one of the names or
the structural class OID for this DIT content rule, or
false
if not.java.lang.String getDescription()
null
if it
does not have a description.ObjectClass getStructuralClass()
java.util.Set<ObjectClass> getAuxiliaryClasses()
java.util.Set<AttributeType> getRequiredAttributes()
boolean isRequired(AttributeType t)
t
- The attribute type for which to make the determination.
true
if the provided attribute type is required by this
DIT content rule, or false
if not.java.util.Set<AttributeType> getOptionalAttributes()
boolean isOptional(AttributeType t)
t
- The attribute type for which to make the determination.
true
if the provided attribute type is optional for this
DIT content rule, or false
if not.boolean isRequiredOrOptional(AttributeType t)
t
- The attribute type for which to make the determination.
true
if the provided attribute type is allowed for use
with this DIT content rule, or false
if not.java.util.Set<AttributeType> getProhibitedAttributes()
boolean isProhibited(AttributeType t)
t
- The attribute type for which to make the determination.
true
if the provided attribute type is prohibited for this
DIT content rule, or false
if not.boolean isObsolete()
true
if this DIT content rule is declared obsolete in the
server schema, or false
if not.java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExtensions()
java.lang.String getSchemaFileName()
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object for which to make the determination.
true
if the provided object is equal to this DIT content
rule, or false
if not.int hashCode()
hashCode
in class java.lang.Object
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |