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