com.novell.admin.ns.nds
Class HoldFacade
java.lang.Object
|
+--com.novell.admin.ns.ValueListFacade
|
+--com.novell.admin.ns.nds.HoldFacade
- public final class HoldFacade
- extends ValueListFacade
Facade for the NDS Hold syntax.
|
Method Summary |
static ValueList |
createValueList(java.lang.String subject,
long amount)
Creates an NDS Hold ValueList. |
int |
getAmount()
Retrieves the amount from the ValueList. |
java.lang.String |
getSubject()
Retrieves the subject from the ValueList. |
void |
setAmount(int amount)
Sets the amount in the ValueList. |
void |
setSubject(java.lang.String subject)
Sets the subject in the ValueList. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
HoldFacade
public HoldFacade(ValueList comp)
throws IncompatibleComponentException
- Facade constructor
- Parameters:
comp - The valueList that represents the Hold data.- Throws:
- IncompatibleComponentException - if the valueList syntax is
not NDSSyntax.SYN_HOLD.
createValueList
public static ValueList createValueList(java.lang.String subject,
long amount)
- Creates an NDS Hold ValueList.
Creates a ValueList representing an NDS Hold.
- Parameters:
subject - Refer to NDS Schema Reference.amount - Refer to NDS Schema Reference.- Returns:
- A new Hold ValueList.
getSubject
public java.lang.String getSubject()
- Retrieves the subject from the ValueList.
- Returns:
- The Hold subject.
getAmount
public int getAmount()
- Retrieves the amount from the ValueList.
- Returns:
- The Hold amount.
setSubject
public void setSubject(java.lang.String subject)
- Sets the subject in the ValueList.
- Parameters:
subject - Refer to NDS Schema Reference.- Throws:
- FacadeParameterException - Can not set to the value requested.
setAmount
public void setAmount(int amount)
- Sets the amount in the ValueList.
- Parameters:
amount - Refer to NDS Schema Reference.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.