|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataSet
The DataSet interface represents the set of data (i.e. relations), which were imported or constructed as a group. It must have a name (i.e. id) unique within a model which it belongs to.
Method Summary | |
---|---|
void |
addRelation(IRelation relation)
Add relation to this data set. |
Collection<IEntity> |
getEntities()
Return all entities present in this data set. |
String |
getId()
Return the id of the data set. |
IModel |
getModel()
Model getter. |
String |
getModelExtensionId()
Returns the ID of the model extension (see pl.edu.agh.cast.model Extension Point) which defines this data set. |
List<IRelation> |
getRelations()
Return relations present in this data set. |
void |
setId(String id)
Set the id of the data set. |
void |
setModel(IModel model)
Model setter. |
void |
setModelExtensionId(String id)
Sets the ID of the model extension (see pl.edu.agh.cast.model Extension Point) which defines this data set. |
void |
setRelations(List<IRelation> relations)
Sets the relations of this data set. |
Methods inherited from interface pl.edu.agh.cast.model.mapper.Mappable |
---|
clone, getAttribute, getAttributeNames, getAttributeType, getMid, getType, setAttribute, setMid |
Method Detail |
---|
String getId()
getId
in interface Mappable
void setId(String id)
setId
in interface Mappable
id
- The id to set.IModel getModel()
void setModel(IModel model)
model
- the model to setList<IRelation> getRelations()
void setRelations(List<IRelation> relations)
relations
- List of relations to setvoid addRelation(IRelation relation)
relation
- Relation to add.Collection<IEntity> getEntities()
String getModelExtensionId()
void setModelExtensionId(String id)
id
- The ID of the model extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |