Interface Relationship
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
Abstraction
,Association
,AssociationClass
,CommunicationPath
,ComponentRealization
,Dependency
,Deployment
,DirectedRelationship
,ElementImport
,Extend
,Extension
,Generalization
,Include
,InformationFlow
,InterfaceRealization
,Manifestation
,PackageImport
,PackageMerge
,ProfileApplication
,ProtocolConformance
,Realization
,Substitution
,TemplateBinding
,Usage
public interface Relationship extends Element
A representation of the model object 'Relationship'.Relationship is an abstract concept that specifies some kind of relationship between Elements.
The following features are supported:
- See Also:
UMLPackage.getRelationship()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<InformationFlow>
get_abstraction()
Returns the value of the 'abstraction' reference list.java.util.Collection<Element>
getRelatedElement()
Returns the value of the 'Related Element' reference list.boolean
has_abstraction()
boolean
hasRelatedElement()
-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
get_abstraction
java.util.Collection<InformationFlow> get_abstraction()
Returns the value of the 'abstraction' reference list. The list contents are of typeInformationFlow
. It is bidirectional and its opposite is 'Realization
'.If the meaning of the 'abstraction' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'abstraction' reference list.
- See Also:
UMLPackage.getRelationship__abstraction()
,InformationFlow.getRealization()
- Model:
- opposite="realization" ordered="false"
- Generated:
-
getRelatedElement
java.util.Collection<Element> getRelatedElement()
Returns the value of the 'Related Element' reference list. The list contents are of typeElement
. It is bidirectional and its opposite is 'relationship Of Related Element
'. Specifies the elements related by the Relationship.- Returns:
- the value of the 'Related Element' reference list.
- See Also:
UMLPackage.getRelationship_RelatedElement()
,Element.get_relationshipOfRelatedElement()
- Model:
- opposite="_relationshipOfRelatedElement" required="true" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
has_abstraction
boolean has_abstraction() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasRelatedElement
boolean hasRelatedElement() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-