Interface AggregatedRelationship
- All Superinterfaces:
Element,org.eclipse.emf.ecore.EObject,ModelElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
AggregatedRelationshipImpl
public interface AggregatedRelationship extends ModelElement
A representation of the model object 'Aggregated Relationship'.
The following features are supported:
- See Also:
CorePackage.getAggregatedRelationship()
-
Method Summary
Modifier and Type Method Description IntegergetDensity()Returns the value of the 'Density' attribute.KDMEntitygetFrom()Returns the value of the 'From' reference.org.eclipse.emf.common.util.EList<KDMRelationship>getRelation()Returns the value of the 'Relation' reference list.KDMEntitygetTo()Returns the value of the 'To' reference.voidsetDensity(Integer value)Sets the value of the 'Density' attribute.voidsetFrom(KDMEntity value)Sets the value of the 'From' reference.voidsetTo(KDMEntity value)Sets the value of the 'To' reference.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttributeMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValueMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getFrom
KDMEntity getFrom()Returns the value of the 'From' reference.- Returns:
- the value of the 'From' reference.
- See Also:
setFrom(KDMEntity),CorePackage.getAggregatedRelationship_From()
-
setFrom
Sets the value of the 'From' reference.- Parameters:
value- the new value of the 'From' reference.- See Also:
getFrom()
-
getTo
KDMEntity getTo()Returns the value of the 'To' reference.- Returns:
- the value of the 'To' reference.
- See Also:
setTo(KDMEntity),CorePackage.getAggregatedRelationship_To()
-
setTo
Sets the value of the 'To' reference.- Parameters:
value- the new value of the 'To' reference.- See Also:
getTo()
-
getRelation
org.eclipse.emf.common.util.EList<KDMRelationship> getRelation()Returns the value of the 'Relation' reference list. The list contents are of typeKDMRelationship.- Returns:
- the value of the 'Relation' reference list.
- See Also:
CorePackage.getAggregatedRelationship_Relation()
-
getDensity
Integer getDensity()Returns the value of the 'Density' attribute.- Returns:
- the value of the 'Density' attribute.
- See Also:
setDensity(Integer),CorePackage.getAggregatedRelationship_Density()
-
setDensity
Sets the value of the 'Density' attribute.- Parameters:
value- the new value of the 'Density' attribute.- See Also:
getDensity()
-