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