public abstract class Data extends Object
Modifier and Type | Field and Description |
---|---|
static Calendar |
DEFAULT_DATE |
Constructor and Description |
---|
Data(String gid,
DataID id,
Calendar lastUpdate,
DataAttributes attributes)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
DataAttributes |
getAttributes() |
String |
getGridId() |
DataID |
getId() |
Calendar |
getLastUpdate() |
abstract String |
getType() |
void |
setAttributes(DataAttributes attributes) |
void |
setGridId(String gid) |
void |
setId(DataID id) |
void |
setLastUpdate(Calendar lastUpdate) |
public static final Calendar DEFAULT_DATE
public Data(String gid, DataID id, Calendar lastUpdate, DataAttributes attributes)
gid
- Grid ID(set null to Domain/Grid/Federation)id
- Data IDlastUpdate
- Last updated datetimeattributes
- Attributespublic DataAttributes getAttributes()
public void setAttributes(DataAttributes attributes)
public String getGridId()
public void setGridId(String gid)
public DataID getId()
public void setId(DataID id)
public Calendar getLastUpdate()
public void setLastUpdate(Calendar lastUpdate)
public abstract String getType()