|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeDescription
An attribute description as defined in RFC 4512 section 2.5. Attribute descriptions are used to identify an attribute in an entry and are composed of an attribute type and a set of zero or more attribute options.
Creation of AttributeDescription is provided by newAttributeDescription(String)
Method Summary | |
---|---|
int |
compareTo(AttributeDescription other) Compares this attribute description to the provided attribute description. |
boolean |
containsOption(java.lang.String option) Indicates whether or not this attribute description contains the provided option. |
boolean |
equals(java.lang.Object o) Indicates whether the provided object is an attribute description which is equal to this attribute description. |
AttributeType |
getAttributeType() Returns the attribute type associated with this attribute description. |
java.lang.Iterable<java.lang.String> |
getOptions() Returns an Iterable containing the options contained in this attribute description. |
int |
hashCode() Returns the hash code for this attribute description. |
boolean |
hasOptions() Indicates whether or not this attribute description has any options. |
boolean |
isObjectClass() Indicates whether or not this attribute description is the objectClass attribute description with no options. |
boolean |
isSubTypeOf(AttributeDescription other) Indicates whether or not this attribute description is a sub-type of the provided attribute description as defined in RFC 4512 section 2.5. |
boolean |
isSuperTypeOf(AttributeDescription other) Indicates whether or not this attribute description is a super-type of the provided attribute description as defined in RFC 4512 section 2.5. |
java.lang.String |
toString() Returns the string representation of this attribute description as defined in RFC4512 section 2.5. |
Method Detail |
---|
int compareTo(AttributeDescription other) throws java.lang.NullPointerException
compareTo
in interface java.lang.Comparable<AttributeDescription>
other
- The attribute description to be compared.java.lang.NullPointerException
- If name
was null
.boolean containsOption(java.lang.String option) throws java.lang.NullPointerException
option
- The option for which to make the determination.true
if this attribute description has the provided option, or false
if not.java.lang.NullPointerException
- If option
was null
.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 an attribute description that is equal to this attribute description, or false
if not.AttributeType getAttributeType()
java.lang.Iterable<java.lang.String> getOptions()
Iterable
containing the options contained in this attribute description. Attempts to remove options using an iterator's remove()
method are not permitted and will result in an UnsupportedOperationException
being thrown.Iterable
containing the options.boolean hasOptions()
true
if this attribute description has any options, or false
if not.int hashCode()
hashCode
in class java.lang.Object
boolean isObjectClass()
objectClass
attribute description with no options.true
if this attribute description is the objectClass
attribute description with no options, or false
if not.boolean isSubTypeOf(AttributeDescription other) throws java.lang.NullPointerException
true
if and only if the following conditions are both true
:
true
if this attribute description is equal to the provided attribute description.other
- The attribute description for which to make the determination.true
if this attribute description is a sub-type of the provided attribute description, or false
if not.java.lang.NullPointerException
- If name
was null
.boolean isSuperTypeOf(AttributeDescription other) throws java.lang.NullPointerException
true
if and only if the following conditions are both true
:
true
if this attribute description is equal to the provided attribute description.other
- The attribute description for which to make the determination.true
if this attribute description is a super-type of the provided attribute description, or false
if not.java.lang.NullPointerException
- If name
was null
.java.lang.String toString()
toString
in class java.lang.Object
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |