public final class TimeStampFacade extends ValueListFacade
valueList| Constructor and Description |
|---|
TimeStampFacade(ValueList comp)
Facade constructor
|
| Modifier and Type | Method and Description |
|---|---|
static ValueList |
createValueList(long seconds,
int replica,
int event)
Creates an NDS Time Stamp ValueList.
|
static ValueList |
createValueList(long seconds,
int replica,
int event,
Syntax syn)
Creates an NDS Time Stamp ValueList.
|
static ValueList |
createValueList(java.lang.String genTime,
int timeCount,
java.lang.String replicaName,
int changeCount,
Syntax syn)
Creates an NDS Time Stamp ValueList.
|
int |
getChangeCount()
Returns the changeCount.
|
int |
getEvent()
Returns the event.
|
java.lang.String |
getGenTime()
Returns the time as a Generalized Time string.
|
int |
getReplica()
Returns the replica number.
|
java.lang.String |
getReplicaName()
Returns the replica number.
|
int |
getSeconds()
Returns the time in seconds.
|
int |
getTimeCount()
Returns the timeCount.
|
void |
setChangeCount(int changeCount)
Sets the changeCount.
|
void |
setEvent(int event)
Sets the event.
|
void |
setGenTime(java.lang.String genTime)
Sets the Generalized Time.
|
void |
setReplica(int replica)
Set the replica number.
|
void |
setReplicaName(java.lang.String replicaName)
Set the replica name.
|
void |
setSeconds(int seconds)
Sets the time in seconds.
|
void |
setTimeCount(int timeCount)
Sets the timeCount.
|
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueListpublic TimeStampFacade(ValueList comp) throws IncompatibleComponentException
comp - The ValueList that represents the Time Stamp data.IncompatibleComponentException - Not used.public static ValueList createValueList(long seconds, int replica, int event, Syntax syn)
seconds - Refer to NDS Schema Specification.replica - Refer to NDS Schema Specification.event - Refer to NDS Schema Specification.syn - The syntax for this value, either NDSSyntax.SYN_TIMESTAMP
LDAPSyntax.SYN_NDS_TIMESTAMP, or LDAPSyntax.SYN_NVDS_TIMESTAMP.public static ValueList createValueList(long seconds, int replica, int event)
seconds - Refer to NDS Schema Specification.replica - Refer to NDS Schema Specification.event - Refer to NDS Schema Specification.public int getSeconds()
public int getReplica()
public int getEvent()
public void setSeconds(int seconds)
seconds - The seconds.public void setReplica(int replica)
replica - The replica number.public void setEvent(int event)
event - The event.public static ValueList createValueList(java.lang.String genTime, int timeCount, java.lang.String replicaName, int changeCount, Syntax syn)
seconds - Refer to NDS Schema Specification.replica - Refer to NDS Schema Specification.event - Refer to NDS Schema Specification.syn - The syntax for this value, either NDSSyntax.SYN_TIMESTAMP
LDAPSyntax.SYN_NDS_TIMESTAMP, or LDAPSyntax.SYN_NVDS_TIMESTAMP.public java.lang.String getGenTime()
public int getTimeCount()
public java.lang.String getReplicaName()
public int getChangeCount()
public void setGenTime(java.lang.String genTime)
genTime - The Generalized Time string.public void setTimeCount(int timeCount)
The - timeCount.public void setReplicaName(java.lang.String replicaName)
replica - The replica name.public void setChangeCount(int changeCount)
The - changeCount.
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 ${TODAY} ${TSTAMP}.