Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.types
Interface AVA


public interface AVA

An attribute value assertion (AVA) as defined in RFC 4512 section 2.3 consists of an attribute type and an attribute value.

The following are examples of string representations of AVAs:

 uid=12345
 ou=Engineering
 cn=Kurt Zeilenga
 

Creation of AVA is provided by newAttributeValueAssertion(AttributeType, Object)

See Also:
RFC 4512 - Lightweight Directory Access Protocol (LDAP): Directory Information Models

Method Summary
 int compareTo(AVA ava)
          Compares this attribute value assertion to the provided attribute value assertion.
 boolean equals(java.lang.Object obj)
          
 AttributeType getAttributeType()
          Returns the attribute type associated with this AVA.
 AttributeValue getAttributeValue()
          Returns the attribute value associated with this AVA.
 int hashCode()
          
 java.lang.String toString()
          

 

Method Detail

compareTo

int compareTo(AVA ava)
              throws PluginException,
                     java.lang.NullPointerException
Compares this attribute value assertion to the provided attribute value assertion. The attribute types are compared first and then, if equal, the attribute values are compared.
Parameters:
ava - The attribute value assertion to be compared.
Returns:
A negative integer, zero, or a positive integer as this attribute value assertion is less than, equal to, or greater than the specified attribute value assertion.
Throws:
java.lang.NullPointerException - If name was null.
PluginException - in case the normalized value of this attribute value could not be retrieved.

equals

boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getAttributeType

AttributeType getAttributeType()
Returns the attribute type associated with this AVA.
Returns:
The attribute type associated with this AVA.

getAttributeValue

AttributeValue getAttributeValue()
Returns the attribute value associated with this AVA.
Returns:
The attribute value associated with this AVA.

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.