@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface AttributeType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Indicates whether the provided object is equal to this attribute type.
|
ApproximateMatchingRule |
getApproximateMatchingRule()
Retrieves the approximate matching rule for this attribute type, if any.
|
java.lang.String |
getDescription()
Retrieves the description for this attribute type, if any.
|
EqualityMatchingRule |
getEqualityMatchingRule()
Retrieves the equality matching rule for this attribute type, if any.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExtensions()
Retrieves a map of all defined extensions for this attribute type.
|
java.lang.String |
getNameOrOID()
Retrieves the primary name for this attribute type, or the numeric OID if
no names are defined.
|
java.util.List<java.lang.String> |
getNames()
Retrieves the list of names for this attribute type, if any.
|
java.lang.String |
getOID()
Retrieves the numeric OID for this attribute type.
|
OrderingMatchingRule |
getOrderingMatchingRule()
Retrieves the ordering matching rule for this attribute type, if any.
|
java.lang.String |
getSchemaFileName()
Retrieves the name of the schema file in which this attribute type is
defined.
|
SubstringMatchingRule |
getSubstringMatchingRule()
Retrieves the substring matching rule for this attribute type, if any.
|
AttributeType |
getSuperiorType()
Retrieves the superior type for this attribute type, if any.
|
AttributeSyntax |
getSyntax()
Retrieves the attribute syntax for this attribute type.
|
AttributeUsage |
getUsage()
Retrieves the usage for this attribute type.
|
int |
hashCode()
Retrieves a hash code for this attribute type.
|
boolean |
hasNameOrOID(java.lang.String name)
Indicates whether the provided string is equal to the OID or any of the
defined names for this attribute type.
|
boolean |
isCollective()
Indicates whether this attribute type is declared collective in the server
schema.
|
boolean |
isNoUserModification()
Indicates whether this attribute type is declared NO-USER-MODIFICATION in
the server schema.
|
boolean |
isObsolete()
Indicates whether this attribute type is declared obsolete in the server
schema.
|
boolean |
isOperational()
Indicates whether this attribute type has an operational usage.
|
boolean |
isSingleValued()
Indicates whether this attribute type is declared single-valued in the
server schema.
|
java.lang.String |
toString()
Retrieves a string representation of this attribute type definition.
|
java.lang.String getOID()
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 the OID or one of the
names for this attribute type, or false
if not.java.lang.String getDescription()
null
if it
does not have a description.AttributeType getSuperiorType()
null
if this
attribute type does not have a superior type.AttributeSyntax getSyntax()
EqualityMatchingRule getEqualityMatchingRule()
null
if there is no equality matching rule for this
attribute type.OrderingMatchingRule getOrderingMatchingRule()
null
if there is no ordering matching rule for this
attribute type.SubstringMatchingRule getSubstringMatchingRule()
null
if there is no substring matching rule for this
attribute type.ApproximateMatchingRule getApproximateMatchingRule()
null
if there is no approximate matching rule for this
attribute type.AttributeUsage getUsage()
boolean isOperational()
true
if this attribute type has an operational usage, or
false
if not.boolean isSingleValued()
true
if this attribute type is declared single-valued in
the server schema, or false
if not.boolean isCollective()
true
if this attribute type is declared collective in the
server schema, or false
if not.boolean isObsolete()
true
if this attribute type is declared obsolete in the
server schema, or false
if not.boolean isNoUserModification()
true
if this attribute type is declared
NO-USER-MODIFICATION 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 attribute
type, or false
if not.int hashCode()
hashCode
in class java.lang.Object
java.lang.String toString()
toString
in class java.lang.Object