com.novell.admin.ns.ldap
Class NameAndUIDFacade

java.lang.Object
  extended bycom.novell.admin.ns.ValueListFacade
      extended bycom.novell.admin.ns.ldap.NameAndUIDFacade

public final class NameAndUIDFacade
extends ValueListFacade

Facade for the LDAP Name And Optional UID syntax.


Field Summary
 
Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
NameAndUIDFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(java.lang.String dn, java.lang.String bitString)
          Creates an LDAP NameAndUID ValueList.
 java.lang.String getBitString()
          Returns the bitString.
 java.lang.String getDN()
          Returns the DN name.
 void setBitString(java.lang.String bitString)
          Sets the BitString.
 void setDN(java.lang.String dn)
          Sets the DN name.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameAndUIDFacade

public NameAndUIDFacade(ValueList comp)
                 throws IncompatibleComponentException
Facade constructor

Parameters:
comp - The ValueList that represents the Name And Optional UID data.
Throws:
IncompatibleComponentException - Thrown if the ValueList syntax is not "Name And Optional UID".
Method Detail

createValueList

public static ValueList createValueList(java.lang.String dn,
                                        java.lang.String bitString)
Creates an LDAP NameAndUID ValueList.

Parameters:
dn - Refer to NDS Schema Reference.
bitString - in the format '0101'B. May be null.
Returns:
A new NameAndUID ValueList.

getBitString

public java.lang.String getBitString()
Returns the bitString.

Returns:
The bitString component of the object, if it exists. Otherwise, returns an empty string.

getDN

public java.lang.String getDN()
Returns the DN name.

Returns:
The name of the DN component of the object.

setBitString

public void setBitString(java.lang.String bitString)
Sets the BitString.

Parameters:
bitString - The BitString.

setDN

public void setDN(java.lang.String dn)
Sets the DN name.

Parameters:
dn - The DN name.
Throws:
FacadeParameterException - Thrown when the object name cannot be set to the value requested.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.