public class ProtocolData extends Data
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolData.Instantiator |
Modifier and Type | Field and Description |
---|---|
static String |
_dataType |
static String |
_IDPrefix |
DEFAULT_DATE
Constructor and Description |
---|
ProtocolData(Protocol protocol)
The constructor.
|
ProtocolData(String gid,
DataID id,
Calendar lastUpdate,
DataAttributes attributes)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static DataID |
getDataID(Protocol data,
String id)
Get the DataID.
|
static String |
getDataType()
Get the data type string.
|
Protocol |
getProtocol()
Get the Protocol
|
String |
getType() |
getAttributes, getGridId, getId, getLastUpdate, setAttributes, setGridId, setId, setLastUpdate
public static final String _IDPrefix
public static final String _dataType
public ProtocolData(Protocol protocol) throws DataConvertException
protocol
- DataConvertException
public ProtocolData(String gid, DataID id, Calendar lastUpdate, DataAttributes attributes)
gid
- Grid IDid
- Data IDlastUpdate
- Last updated datetimeattributes
- Attributepublic Protocol getProtocol() throws DataConvertException
ParseException
DataConvertException
public static String getDataType()