
public class KeyValueData extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueData.KeyValueDataType |
| Constructor and Description |
|---|
KeyValueData(String key,
Serializable value)
Build a KeyValueData object providing the name and the value for the key-value pair.
|
KeyValueData(String key,
Serializable value,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp)
Build a KeyValueData object providing the name and the value for the key-value pair
and the CCSTimeStamp in which this data was accumulated.
|
KeyValueData(String key,
Serializable value,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp,
KeyValueData.KeyValueDataType type)
Build a KeyValueData object providing the name and the value for the key-value pair
and the CCSTimeStamp in which this data was accumulated and their type.
|
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getCCSTimeStamp()
Get the CCSTimeStamp associated with the key-value pair.
|
String |
getKey()
Get the key.
|
KeyValueData.KeyValueDataType |
getType()
Get the KeyValueData type.
|
Serializable |
getValue()
Get the value embedding in this object.
|
String |
toString() |
public KeyValueData(String key, Serializable value, org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp, KeyValueData.KeyValueDataType type)
key - The String representing the keyvalue - The Object representing the value of the pair.ccsTimeStamp - The CCSTimestamp for this KeyValueData.type - The type for this KeyValueDatapublic KeyValueData(String key, Serializable value, org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp)
key - The String representing the keyvalue - The Object representing the value of the pair.ccsTimeStamp - The CCSTimestamp for this KeyValueData.public KeyValueData(String key, Serializable value)
key - The String representing the keyvalue - The Object representing the value of the pair.public org.lsst.ccs.utilities.taitime.CCSTimeStamp getCCSTimeStamp()
public Serializable getValue()
public String getKey()
public KeyValueData.KeyValueDataType getType()
Copyright © 2019 LSST. All rights reserved.