|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Solution Role language element interface.
Method Summary | |
void |
addPart(Concept concept)
Adds a concept to the role part. |
void |
addPart(int index,
Concept concept)
Adds a concept to the role part. |
Multiplicity |
getMultiplicity()
Returns the multiplicity constraint for this solution role. |
List |
getParts()
Returns the concepts that belong to this role part. |
void |
removePart(Concept concept)
Removes a concept from the role part. |
void |
setMultiplicity(Multiplicity multiplicity)
Sets the multiplicity constraint for this solution role. |
Methods inherited from interface be.ac.vub.cocompose.lang.core.RefinedElement |
addInheritsFrom, addInheritsFrom, addSuperimposer, addSuperimposer, addSuperimposesOn, addSuperimposesOn, getDefaultElementOf, getIconUri, getInheritsFrom, getRefinements, getSuperimposers, getSuperimposesOn, removeInheritsFrom, removeSuperimposer, removeSuperimposesOn, setDefaultElementOf, setIconUri |
Methods inherited from interface be.ac.vub.cocompose.lang.core.RelationElement |
addRelationship, addRelationship, getBackgroundColor, getPosition, getRelationships, getSourceRelationships, getTargetRelationships, removeRelationship, setBackgroundColor, setPosition |
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace |
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement |
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement |
getId, getModel, getName, getNamespace, getRootNamespace, setId, setName, setNamespace |
Methods inherited from interface be.ac.vub.cocompose.lang.Element |
addPropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface be.ac.vub.cocompose.lang.VisitedElement |
accept |
Method Detail |
public List getParts()
public void addPart(Concept concept)
concept
- - the concept to add.public void addPart(int index, Concept concept)
index
- the index at which to add the element.concept
- - the concept to add.public void removePart(Concept concept)
concept
- - the concept to remove.public Multiplicity getMultiplicity()
public void setMultiplicity(Multiplicity multiplicity)
multiplicity
- the multiplicity constraint.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |