public final class BdaEntryTime extends BasicDataAttribute
children, objectReference
Constructor | Description |
---|---|
BdaEntryTime(ObjectReference objectReference,
Fc fc,
java.lang.String sAddr,
boolean dchg,
boolean dupd) |
Modifier and Type | Method | Description |
---|---|---|
BdaEntryTime |
copy() |
Returns a copy of model node with all of its children.
|
long |
getTimestampValue() |
|
byte[] |
getValue() |
|
java.lang.String |
getValueString() |
|
void |
setDefault() |
Sets EntryTime to byte[6] with all zeros
|
void |
setTimestamp(long timestamp) |
Set the value of this object to the given timestamp, where timestamp is the number of ms since
epoch 1970-01-01 00:00:00 UTC.
|
void |
setValue(byte[] value) |
|
void |
setValueFrom(BasicDataAttribute bda) |
|
java.lang.String |
toString() |
getBasicDataAttributes, getBasicType, getChild, getChild, getChildren, getDchg, getDupd, getQchg, getSAddr, iterator
getFc
getIterators, getName, getParent, getReference
public BdaEntryTime(ObjectReference objectReference, Fc fc, java.lang.String sAddr, boolean dchg, boolean dupd)
public void setTimestamp(long timestamp)
timestamp
- the number of ms since epoch 1970-01-01public long getTimestampValue()
public void setValueFrom(BasicDataAttribute bda)
setValueFrom
in class BasicDataAttribute
public byte[] getValue()
public void setValue(byte[] value)
public void setDefault()
setDefault
in class BasicDataAttribute
public BdaEntryTime copy()
ModelNode
public java.lang.String toString()
toString
in class FcModelNode
public java.lang.String getValueString()
getValueString
in class BasicDataAttribute