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