pl.edu.agh.cast.data.model.general
Interface IGeneralDataSet<T extends IGeneralElement>
- Type Parameters:
T - type of contained elements
- All Superinterfaces:
- IDataSet<T>, Identifiable, IDisposable, IDomainDataSet<T>, IPropertyContainer, IValidatable, Observer, Serializable
- All Known Implementing Classes:
- GeneralDataSet, SampleGeneralDataSet
public interface IGeneralDataSet<T extends IGeneralElement>
- extends IDomainDataSet<T>
General data set which is set of entities (IEntity) connected with relations (IManyToManyRelation).
It can contain alone entities (without any associated relations) but each relation has to be associated with at least
two entities.
- Author:
- AGH CAST Team
| Methods inherited from interface pl.edu.agh.cast.data.model.IDataSet |
addElement, addElements, addElements, addMetaPropertyManager, addMetaPropertyManagersForAcceptedTypes, getAcceptedTypes, getAssignableElements, getCreationDate, getElement, getElementCount, getElements, getElements, getElementTypes, getMetaPropertyManager, getMetaPropertyManagers, getName, getRegisteredTypes, removeElement, removeElement, removeElements, removeElements, setCreationDate, setElements, setName |
TYPE
static final Type TYPE
- The type of
IGeneralDataSet.
ACCEPTED_TYPES
static final Collection<Type> ACCEPTED_TYPES
- Collection of element types accepted by this type of data set.
getEntities
Collection<IEntity> getEntities()
- Returns all entities contained in the data set.
- Returns:
- collection of all entities from the data set; if data set contains no entities then an empty collection
getRelations
Collection<IManyToManyRelation> getRelations()
- Returns all relations (many-to-many) contained in the data set.
- Returns:
- collection of all many-to-many relations from the data set; if data set contains no relations then an
empty collection
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.