Interface Association

All Superinterfaces:
BaseElement, Classifier, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, RedefinableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Relationship, TemplateableElement, Type
All Known Subinterfaces:
AssociationClass, CommunicationPath, Extension

public interface Association extends Classifier, Relationship
A representation of the model object 'Association'.

A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.

The following features are supported:

See Also:
Model:
annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • isDerived

      boolean isDerived()
      Returns the value of the 'Derived' attribute. The default value is "false". Specifies whether the Association is derived from other model elements such as other Associations.
      Returns:
      the value of the 'Derived' attribute.
      See Also:
      • setDerived(boolean)
      • com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getAssociation_Derived()
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setDerived

      void setDerived(boolean value)
      Sets the value of the 'Derived' attribute.
      Parameters:
      value - the new value of the 'Derived' attribute.
      See Also:
      Generated:
    • get_connectorOfType

      Collection<Connector> get_connectorOfType()
      Returns the value of the 'connector Of Type' reference list. The list contents are of type Connector. It is bidirectional and its opposite is 'Type'.

      If the meaning of the 'connector Of Type' reference list isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'connector Of Type' reference list.
      See Also:
      Model:
      opposite="type" ordered="false"
      Generated:
    • get_clearAssociationActionOfAssociation

      Collection<ClearAssociationAction> get_clearAssociationActionOfAssociation()
      Returns the value of the 'clear Association Action Of Association' reference list. The list contents are of type ClearAssociationAction. It is bidirectional and its opposite is 'Association'.

      If the meaning of the 'clear Association Action Of Association' reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'clear Association Action Of Association' reference list.
      See Also:
      Model:
      opposite="association" ordered="false"
      Generated:
    • getMemberEnd

      List<Property> getMemberEnd()
      Returns the value of the 'Member End' reference list. The list contents are of type Property. It is bidirectional and its opposite is 'Association'. Each end represents participation of instances of the Classifier connected to the end in links of the Association.
      Returns:
      the value of the 'Member End' reference list.
      See Also:
      Model:
      opposite="association" lower="2"
      Generated:
    • getOwnedEnd

      List<Property> getOwnedEnd()
      Returns the value of the 'Owned End' containment reference list. The list contents are of type Property. It is bidirectional and its opposite is 'Owning Association'. The ends that are owned by the Association itself.
      Returns:
      the value of the 'Owned End' containment reference list.
      See Also:
      Model:
      opposite="owningAssociation" containment="true" resolveProxies="true"
      Generated:
    • getNavigableOwnedEnd

      Collection<Property> getNavigableOwnedEnd()
      Returns the value of the 'Navigable Owned End' reference list. The list contents are of type Property. It is bidirectional and its opposite is 'association Of Navigable Owned End'. The navigable ends that are owned by the Association itself.
      Returns:
      the value of the 'Navigable Owned End' reference list.
      See Also:
      Model:
      opposite="_associationOfNavigableOwnedEnd" ordered="false"
      Generated:
    • getEndType

      Collection<Type> getEndType()
      Returns the value of the 'End Type' reference list. The list contents are of type Type. It is bidirectional and its opposite is 'association Of End Type'. The Classifiers that are used as types of the ends of the Association.
      Returns:
      the value of the 'End Type' reference list.
      See Also:
      Model:
      opposite="_associationOfEndType" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
      Generated:
    • has_connectorOfType

      boolean has_connectorOfType() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasMemberEnd

      boolean hasMemberEnd() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasOwnedEnd

      boolean hasOwnedEnd() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • has_clearAssociationActionOfAssociation

      boolean has_clearAssociationActionOfAssociation() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasNavigableOwnedEnd

      boolean hasNavigableOwnedEnd() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasEndType

      boolean hasEndType() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: