Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.ospf
Class LdapEntry

java.lang.Object
  extended by oracle.ldap.ospf.LdapEntry


public final class LdapEntry
extends java.lang.Object

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)

Field Summary
protected  javax.naming.directory.Attributes m_attrs
           
protected  java.lang.String m_dn
           

 

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_dn

protected java.lang.String m_dn

m_attrs

protected javax.naming.directory.Attributes m_attrs

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
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.