com.novell.admin.ns.nds
Class EmailAddressFacade

java.lang.Object
  |
  +--com.novell.admin.ns.ValueListFacade
        |
        +--com.novell.admin.ns.nds.EmailAddressFacade

public final class EmailAddressFacade
extends ValueListFacade

Facade for NDS Email-Address syntax.


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 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:
valueList - The valueList that represents the e-mail address data.
Throws:
IncompatibleComponentException - if the 'valueList' syntax is not NDSSyntax.SYN_EMAIL_ADDRESS.
Method Detail

createValueList

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

Creates a valueList representing an NDS e-mail address.

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

getType

public long getType()
Retrieves the type from the valuelist.
Returns:
The Email address type.

getAddress

public java.lang.String getAddress()
Retrieves the e-mail address from the valuelist.
Returns:
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.

setAddress

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


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.