Interface Association
-
- All Superinterfaces:
BaseElement
,Classifier
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,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:
UMLPackage.getAssociation()
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ClearAssociationAction>
get_clearAssociationActionOfAssociation()
Returns the value of the 'clear Association Action Of Association' reference list.java.util.Collection<Connector>
get_connectorOfType()
Returns the value of the 'connector Of Type' reference list.java.util.Collection<Type>
getEndType()
Returns the value of the 'End Type' reference list.java.util.List<Property>
getMemberEnd()
Returns the value of the 'Member End' reference list.java.util.Collection<Property>
getNavigableOwnedEnd()
Returns the value of the 'Navigable Owned End' reference list.java.util.List<Property>
getOwnedEnd()
Returns the value of the 'Owned End' containment reference list.boolean
has_clearAssociationActionOfAssociation()
boolean
has_connectorOfType()
boolean
hasEndType()
boolean
hasMemberEnd()
boolean
hasNavigableOwnedEnd()
boolean
hasOwnedEnd()
boolean
isDerived()
Returns the value of the 'Derived' attribute.void
setDerived(boolean value)
Sets the value of the 'Derived
' attribute.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isAbstract, isFinalSpecialization, set_interfaceOfNestedClassifier, setAbstract, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClass
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Relationship
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
-
-
-
Method Detail
-
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:
isDerived()
- Generated:
-
get_connectorOfType
java.util.Collection<Connector> get_connectorOfType()
Returns the value of the 'connector Of Type' reference list. The list contents are of typeConnector
. 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:
UMLPackage.getAssociation__connectorOfType()
,Connector.getType()
- Model:
- opposite="type" ordered="false"
- Generated:
-
get_clearAssociationActionOfAssociation
java.util.Collection<ClearAssociationAction> get_clearAssociationActionOfAssociation()
Returns the value of the 'clear Association Action Of Association' reference list. The list contents are of typeClearAssociationAction
. 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:
UMLPackage.getAssociation__clearAssociationActionOfAssociation()
,ClearAssociationAction.getAssociation()
- Model:
- opposite="association" ordered="false"
- Generated:
-
getMemberEnd
java.util.List<Property> getMemberEnd()
Returns the value of the 'Member End' reference list. The list contents are of typeProperty
. 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:
UMLPackage.getAssociation_MemberEnd()
,Property.getAssociation()
- Model:
- opposite="association" lower="2"
- Generated:
-
getOwnedEnd
java.util.List<Property> getOwnedEnd()
Returns the value of the 'Owned End' containment reference list. The list contents are of typeProperty
. 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:
UMLPackage.getAssociation_OwnedEnd()
,Property.getOwningAssociation()
- Model:
- opposite="owningAssociation" containment="true" resolveProxies="true"
- Generated:
-
getNavigableOwnedEnd
java.util.Collection<Property> getNavigableOwnedEnd()
Returns the value of the 'Navigable Owned End' reference list. The list contents are of typeProperty
. 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:
UMLPackage.getAssociation_NavigableOwnedEnd()
,Property.get_associationOfNavigableOwnedEnd()
- Model:
- opposite="_associationOfNavigableOwnedEnd" ordered="false"
- Generated:
-
getEndType
java.util.Collection<Type> getEndType()
Returns the value of the 'End Type' reference list. The list contents are of typeType
. 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:
UMLPackage.getAssociation_EndType()
,Type.get_associationOfEndType()
- 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:
-
-