com.novell.admin.ns.nds
Class TimeStampFacade
java.lang.Object
|
+--com.novell.admin.ns.ValueListFacade
|
+--com.novell.admin.ns.nds.TimeStampFacade
- public final class TimeStampFacade
- extends ValueListFacade
Facade for NDS Time Stamp syntax.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TimeStampFacade
public TimeStampFacade(ValueList comp)
throws IncompatibleComponentException
- Facade constructor
- Parameters:
comp - The ValueList that represents the Time Stamp data.- Throws:
- IncompatibleComponentException - Thrown if the 'valueList' syntax is
not NDSSyntax.SYN_TIMESTAMP.
createValueList
public static ValueList createValueList(long seconds,
int replica,
int event)
- Creates an NDS Time Stamp ValueList.
- Parameters:
seconds - Refer to NDS Schema Specification.replica - Refer to NDS Schema Specification.event - Refer to NDS Schema Specification.- Returns:
- A new Time Stamp ValueList.
getSeconds
public int getSeconds()
- Returns the time in seconds.
- Returns:
- The seconds.
getReplica
public int getReplica()
- Returns the replica number.
- Returns:
- The replica number.
getEvent
public int getEvent()
- Returns the event.
- Returns:
- The event.
setSeconds
public void setSeconds(int seconds)
- Sets the time in seconds.
- Parameters:
seconds - The seconds.
setReplica
public void setReplica(int replica)
- Set the replica number.
- Parameters:
replica - The replica number.
setEvent
public void setEvent(int event)
- Sets the event.
- Parameters:
event - The event.
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.