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