com.novell.admin.ns.nds
Class EmailAddressFacade

java.lang.Object
  extended bycom.novell.admin.ns.ValueListFacade
      extended bycom.novell.admin.ns.nds.EmailAddressFacade

public final class EmailAddressFacade
extends ValueListFacade

Facade for NDS Email-Address syntax. Same as LDAP "Tagged String" syntax.


Field Summary
 
Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
EmailAddressFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(long type, java.lang.String address)
          Creates an NDS Email-Address (LDAP Tagged String) ValueList.
static ValueList createValueList(long type, java.lang.String address, Syntax syn)
          Creates an NDS Email-Address (LDAP Tagged String) ValueList.
 java.lang.String getAddress()
          Retrieves the e-mail address from the valuelist.
 long getType()
          Retrieves the type from the valuelist.
 void setAddress(java.lang.String address)
          Sets the e-mail address in the valuelist.
 void setType(long type)
          Sets the e-mail address type in the valuelist.
 
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

EmailAddressFacade

public EmailAddressFacade(ValueList comp)
                   throws IncompatibleComponentException
Facade constructor

Parameters:
comp - The valueList that represents the e-mail address / Tagged String data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not "EMail Address" or "Tagged String".
Method Detail

createValueList

public static ValueList createValueList(long type,
                                        java.lang.String address)
Creates an NDS Email-Address (LDAP Tagged String) ValueList. This form is provided for backward compatibility and assumes NDS syntax.

Parameters:
type - Refer to NDS Schema Specification.
address - Refer to NDS Schema Specification.
Returns:
A new Email-Address / Tagged String ValueList.

createValueList

public static ValueList createValueList(long type,
                                        java.lang.String address,
                                        Syntax syn)
Creates an NDS Email-Address (LDAP Tagged String) ValueList.

Parameters:
type - Refer to NDS Schema Specification.
address - Refer to NDS Schema Specification.
syn - The syntax for this value, either NDSSyntax.SYN_EMAIL_ADDRESS or LDAPSyntax.SYN_TAGGED_STRING.
Returns:
A new Email-Address / Tagged String ValueList.

getAddress

public java.lang.String getAddress()
Retrieves the e-mail address from the valuelist.

Returns:
The e-mail address.

getType

public long getType()
Retrieves the type from the valuelist.

Returns:
The Email address type.

setAddress

public void setAddress(java.lang.String address)
Sets the e-mail address in the valuelist.

Parameters:
address - The e-mail address.

setType

public void setType(long type)
Sets the e-mail address type in the valuelist.

Parameters:
type - The e-mail address type.


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.