com.novell.admin.ns.nds
Class FaxNumberFacade

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

public final class FaxNumberFacade
extends ValueListFacade

Facade for NDS Fax-Number syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
FaxNumberFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(long bits, java.lang.String teleNumber)
          Creates an NDS Fax-Number ValueList.
 long getBits()
          Retrieves the bits from the valuelist.
 java.lang.String getTeleNumber()
          Retrieves the telephone number from the valuelist.
 void setBits(long bits)
          Sets the bits in the valuelist.
 void setTeleNumber(java.lang.String teleNumber)
          Sets the telephone number 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

FaxNumberFacade

public FaxNumberFacade(ValueList comp)
                throws IncompatibleComponentException
Facade constructor
Parameters:
comp - The valueList that represents the fax number data.
Throws:
IncompatibleComponentException - if the valueList syntax is not NDSSyntax.SYN_FAX_NUMBER.
Method Detail

createValueList

public static ValueList createValueList(long bits,
                                        java.lang.String teleNumber)
Creates an NDS Fax-Number ValueList.

Creates a valueList representing an NDS fax number.

Parameters:
bits - Refer to NDS Schema Reference.
teleNumber - Refer to NDS Schema Reference.
Returns:
A new fax number valueList.

getBits

public long getBits()
Retrieves the bits from the valuelist.
Returns:
The fax number bits.

getTeleNumber

public java.lang.String getTeleNumber()
Retrieves the telephone number from the valuelist.
Returns:
The telephone number.

setBits

public void setBits(long bits)
Sets the bits in the valuelist.
Parameters:
bits - The fax number bits.

setTeleNumber

public void setTeleNumber(java.lang.String teleNumber)
                   throws FacadeParameterException
Sets the telephone number in the valuelist.
Parameters:
teleNumber - The telephone number.
Throws:
FacadeParameterException - Can not set to the value requested.


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