| 
 |   | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.directory.Entry
public class Entry
The Entry class is used to encapsulate a directory entry.
| Constructor Summary | |
|---|---|
| Entry(java.lang.String dn)Default constructor. | |
| Method Summary | |
|---|---|
|  java.util.Enumeration | getAttributeNames()Get attribute names. | 
|  java.lang.Object | getAttributeValue(java.lang.String name)Get the first value of the specified attribute. | 
|  java.util.Enumeration | getAttributeValues(java.lang.String name)Get attribute values. | 
|  java.util.Vector | getAttributeValuesVector(java.lang.String name)Get the attribute in Vector form. | 
|  java.lang.String | getDN()Get dn. | 
|  void | print(java.io.PrintStream out)Print the entry. | 
|  void | putAttribute(java.lang.String name,
             java.io.Serializable value)Put attribute. | 
|  void | removeAttribute(java.lang.String name)Remove the specified attribute. | 
|  void | replaceAttribute(java.lang.String name,
                 java.io.Serializable value)Replaces all attributes under the given name with the new value | 
|  void | setDN(java.lang.String dn)Set the dn. | 
|  java.lang.String | toString()Override the default Object.toString(). | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Entry(java.lang.String dn)
dn - | Method Detail | 
|---|
public void putAttribute(java.lang.String name,
                         java.io.Serializable value)
name - value - 
public void replaceAttribute(java.lang.String name,
                             java.io.Serializable value)
name - The name of the attribute to replacevalue - The new value for the attributepublic void removeAttribute(java.lang.String name)
public java.util.Enumeration getAttributeNames()
public java.util.Enumeration getAttributeValues(java.lang.String name)
name - The attribute name.
public java.util.Vector getAttributeValuesVector(java.lang.String name)
name - The attribute name.
public java.lang.Object getAttributeValue(java.lang.String name)
name - The attribute name.
public java.lang.String getDN()
public void setDN(java.lang.String dn)
public java.lang.String toString()
toString in class java.lang.Objectpublic void print(java.io.PrintStream out)
| 
 | Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.