be.ac.vub.cocompose.lang.core
Interface Concept
- All Superinterfaces:
- Cloneable, Element, ModelElement, Namespace, RefinedElement, RelationElement, VisitedElement
- All Known Implementing Classes:
- DefaultConcept
- public interface Concept
- extends RefinedElement
The Concept language element interface.
- Since:
- 0.1.0
- Version:
- 0.2.9, 26/04/2004
- Author:
- Dennis Wagelaar
Method Summary |
void |
addPartOf(int index,
Role partOf)
Adds a role of which this concept is a part. |
void |
addPartOf(Role partOf)
Adds a role of which this concept is a part. |
List |
getPartOf()
Gets the roles of which this concept is a part. |
void |
removePartOf(Role partOf)
Removes a role of which this concept is a part. |
Methods inherited from interface be.ac.vub.cocompose.lang.core.RefinedElement |
addInheritsFrom, addInheritsFrom, addSuperimposesOn, addSuperimposesOn, getDefaultElementOf, getIconUri, getInheritsFrom, getRefinements, getSuperimposesOn, removeInheritsFrom, removeSuperimposesOn, setDefaultElementOf, setIconUri |
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace |
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElementId, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement |
getPartOf
public List getPartOf()
- Gets the roles of which this concept is a part.
- Returns:
- the roles.
addPartOf
public void addPartOf(Role partOf)
- Adds a role of which this concept is a part.
- Parameters:
partOf
- the role.
addPartOf
public void addPartOf(int index,
Role partOf)
- Adds a role of which this concept is a part.
- Parameters:
index
- the index at which to add the element.partOf
- the role.
removePartOf
public void removePartOf(Role partOf)
- Removes a role of which this concept is a part.
- Parameters:
partOf
- the role.