com.novell.admin.ns.nds
Class FaxNumberFacade

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

public final class FaxNumberFacade
extends ValueListFacade

Facade for NDS Fax-Number syntax.


Field Summary
 
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.
static ValueList createValueList(long bits, java.lang.String teleNumber, Syntax syn)
          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 "Facsimile Telephone 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. This form is provided for backward compatibility and assumes NDS syntax.

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

createValueList

public static ValueList createValueList(long bits,
                                        java.lang.String teleNumber,
                                        Syntax syn)
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.
syn - The syntax for this value, either NDSSyntax.SYN_FAX_NUMBER or LDAPSyntax.SYN_FAX_NUMBER.
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-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.