All LDAP Classes
Internal LDAP Classes

org.ietf.ldap
Class LDAPEntry

java.lang.Object
  extended byorg.ietf.ldap.LDAPEntry
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
LDAPSchema

public class LDAPEntry
extends java.lang.Object
implements java.lang.Comparable

Represents a single entry in a directory, consisting of a distinguished name (DN) and zero or more attributes.

See Also:
com.novell.ldap.LDAPEntry

Field Summary
private  LDAPEntry entry
           
 
Constructor Summary
  LDAPEntry()
          Constructs an empty entry.
(package private) LDAPEntry(LDAPEntry entry)
          Constructs an Entry from com.novell.ldap.LDAPEntry
  LDAPEntry(java.lang.String dn)
          Constructs a new entry with the specified distinguished name and with an empty attribute set.
  LDAPEntry(java.lang.String dn, LDAPAttributeSet attrs)
          Constructs a new entry with the specified distinguished name and set of attributes.
 
Method Summary
 int compareTo(java.lang.Object entry)
          Compares this object to the specified object for order.
 LDAPAttribute getAttribute(java.lang.String attrName)
          Returns the attributes matching the specified attrName.
 LDAPAttributeSet getAttributeSet()
          Returns the attribute set of the entry.
 LDAPAttributeSet getAttributeSet(java.lang.String subtype)
          Returns an attribute set from the entry, consisting of only those attributes matching the specified subtypes.
 java.lang.String getDN()
          Returns the distinguished name of the entry.
(package private)  LDAPEntry getWrappedObject()
          Gets the com.novell.ldap.LDAPEntry object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entry

private LDAPEntry entry
Constructor Detail

LDAPEntry

LDAPEntry(LDAPEntry entry)
Constructs an Entry from com.novell.ldap.LDAPEntry


LDAPEntry

public LDAPEntry()
Constructs an empty entry.

See Also:
com.novell.ldap.LDAPEntry.LDAPEntry()

LDAPEntry

public LDAPEntry(java.lang.String dn)
Constructs a new entry with the specified distinguished name and with an empty attribute set.

See Also:
com.novell.ldap.LDAPEntry.LDAPEntry(String)

LDAPEntry

public LDAPEntry(java.lang.String dn,
                 LDAPAttributeSet attrs)
Constructs a new entry with the specified distinguished name and set of attributes.

See Also:
com.novell.ldap.LDAPEntry.LDAPEntry(String, LDAPAttributeSet)
Method Detail

getWrappedObject

LDAPEntry getWrappedObject()
Gets the com.novell.ldap.LDAPEntry object


getAttribute

public LDAPAttribute getAttribute(java.lang.String attrName)
Returns the attributes matching the specified attrName.

See Also:
com.novell.ldap.LDAPEntry.getAttribute(String)

getAttributeSet

public LDAPAttributeSet getAttributeSet()
Returns the attribute set of the entry.

See Also:
com.novell.ldap.LDAPEntry.getAttributeSet()

getAttributeSet

public LDAPAttributeSet getAttributeSet(java.lang.String subtype)
Returns an attribute set from the entry, consisting of only those attributes matching the specified subtypes.

See Also:
com.novell.ldap.LDAPEntry.getAttributeSet(String)

getDN

public java.lang.String getDN()
Returns the distinguished name of the entry.

See Also:
com.novell.ldap.LDAPEntry.getDN()

compareTo

public int compareTo(java.lang.Object entry)
Compares this object to the specified object for order.

Specified by:
compareTo in interface java.lang.Comparable
See Also:
com.novell.ldap.LDAPEntry.compareTo(Object)

All LDAP Classes
Internal LDAP Classes

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000