Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


oracle.ldap.ospf
Class LdapEntry

java.lang.Object
  extended byoracle.ldap.ospf.Entry
      extended byoracle.ldap.ospf.LdapEntry


public final class LdapEntry
extends oracle.ldap.ospf.Entry

Defines the entry information that need to pass from the Oracle directory server to the Java plug-in. Contains the following information:

Since:
10g Release 3 (10.1.4)

Constructor Summary
LdapEntry(java.lang.String dn, javax.naming.directory.Attributes attrs)
          Constructor

 

Method Summary
 java.util.Enumeration getAllAttributeNames()
          Gets all the attribute names in the LdapEntry
 java.util.Enumeration getAllAttributeValues(java.lang.String attrName)
          Gets all the values of an attribute for a given attribute name
 javax.naming.directory.Attribute getAttribute(java.lang.String attrName)
          Gets the Attribute for the attribute name
 javax.naming.directory.Attributes getAttributes()
          Gets all the Attributes
 java.lang.String getDN()
          Gets the DN of the LdapEntry
 void setDN(java.lang.String dn)
          Sets the DN of the LdapEntry

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LdapEntry

public LdapEntry(java.lang.String dn,
                 javax.naming.directory.Attributes attrs)
Constructor
Parameters:
dn - - DN of the LdapEntry
attrs - - Attributes of the LdapEntry

Method Detail

setDN

public void setDN(java.lang.String dn)
Sets the DN of the LdapEntry
Parameters:
dn - - DN of the LdapEntry

getDN

public java.lang.String getDN()
Gets the DN of the LdapEntry
Returns:
dn - DN of the LdapEntry

getAttributes

public javax.naming.directory.Attributes getAttributes()
Gets all the Attributes
Returns:
attrs - Attributes

getAttribute

public javax.naming.directory.Attribute getAttribute(java.lang.String attrName)
Gets the Attribute for the attribute name
Parameters:
attrName - - Attribute name
Returns:
attr - Attribute

getAllAttributeNames

public java.util.Enumeration getAllAttributeNames()
Gets all the attribute names in the LdapEntry
Returns:
attrNames - The attribute names present in the LdapEntry

getAllAttributeValues

public java.util.Enumeration getAllAttributeValues(java.lang.String attrName)
                                            throws javax.naming.NamingException
Gets all the values of an attribute for a given attribute name
Parameters:
attrName - - Attribute name
Returns:
attrVals - Attribute values
Throws:
javax.naming.NamingException

Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


Copyright © 1999, 2006 Oracle. All Rights Reserved.