com.novell.admin.ns.nds
Class PostalAddressFacade
java.lang.Object
|
+--com.novell.admin.ns.ValueListFacade
|
+--com.novell.admin.ns.nds.PostalAddressFacade
- public final class PostalAddressFacade
- extends ValueListFacade
Facade for NDS Postal Address syntax.
|
Method Summary |
static ValueList |
createValueList(java.lang.String[] lines)
Creates an NDS Postal Address ValueList. |
java.lang.String |
getLine(int index)
Retrieves a particular line of the postal address. |
java.lang.String[] |
getLines()
Retrieves the Postal Address. |
void |
replaceLine(java.lang.String newLine,
int index)
Replaces a particular line of the postal address. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PostalAddressFacade
public PostalAddressFacade(ValueList comp)
throws IncompatibleComponentException
- Facade constructor
- Parameters:
comp - The ValueList that represents the postal address data.- Throws:
- IncompatibleComponentException - Thrown if the 'valueList' syntax is
not NDSSyntax.SYN_PO_ADDRESS.
createValueList
public static ValueList createValueList(java.lang.String[] lines)
- Creates an NDS Postal Address ValueList.
- Parameters:
lines - Refer to NDS Schema Reference.- Returns:
- A new Postal Address ValueList.
getLines
public java.lang.String[] getLines()
- Retrieves the Postal Address.
- Returns:
- The Postal Address.
getLine
public java.lang.String getLine(int index)
throws java.lang.ArrayIndexOutOfBoundsException
- Retrieves a particular line of the postal address.
- Parameters:
index - The index of the postal address line to retrieve.- Returns:
- The postal address line.
- Throws:
- java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.
replaceLine
public void replaceLine(java.lang.String newLine,
int index)
throws java.lang.ArrayIndexOutOfBoundsException
- Replaces a particular line of the postal address.
- Parameters:
newLine - The new value.index - The index of the postal address line to replace.- Throws:
- java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.