Interface Conjugation
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,ModelElement,com.dassault_systemes.modeler.modelextension.model.modelextension.ModelExtensionObject,org.eclipse.emf.common.notify.Notifier,Relationship
- All Known Subinterfaces:
PortConjugation
Conjugation is a Relationship between two types in which the conjugatedType inherits all the Features of the originalType, but with all input and output Features reversed. That is, any Features with a direction in relative to the originalType are considered to have an effective direction of out relative to the conjugatedType and, similarly, Features with direction out in the originalType are considered to have an effective direction of in in the conjugatedType. Features with direction inout, or with no direction, in the originalType, are inherited without change.
A Type may participate as a conjugatedType in at most one Conjugation relationship, and such a Type may not also be the specific Type in any Specialization relationship.
-
Method Summary
Modifier and TypeMethodDescriptionTheTypethat is the result of applyingConjugationto theoriginalType.TheTypeto be conjugated.TheconjugatedTypeof thisConjugationthat is also itsowningRelatedElement.voidsetConjugatedType(Type value) TheTypethat is the result of applyingConjugationto theoriginalType.voidsetOriginalType(Type value) TheTypeto be conjugated.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getID, isEditable, isSelfChangeable, removePropertyChangeListener, setID, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.dassault_systemes.modeler.kerml.model.kerml.Element
effectiveName, effectiveShortName, escapedName, getAliasIds, getDeclaredName, getDeclaredShortName, getDocumentation, getElementId, getName, getOwnedAnnotation, getOwnedElement, getOwnedRelationship, getOwner, getOwningMembership, getOwningNamespace, getOwningRelationship, getQualifiedName, getShortName, getTextualRepresentation, isImpliedIncluded, isLibraryElement, setDeclaredName, setDeclaredShortName, setElementId, setIsImpliedIncluded, setOwner, setOwningMembership, setOwningRelationshipMethods 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 com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, dispose, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.dassault_systemes.modeler.modelextension.model.modelextension.ModelExtensionObject
getModelExtension, getModelExtensionMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com.dassault_systemes.modeler.kerml.model.kerml.Relationship
getOwnedRelatedElement, getOwningRelatedElement, getRelatedElement, getSource, getTarget, isImplied, libraryNamespace, path, setIsImplied, setOwningRelatedElement
-
Method Details
-
getOriginalType
The
Typeto be conjugated.- Returns:
- the originalType value
- Model:
- derived="false"
transient="false"
oppositeRoleName="conjugation"
redefines=
Relationship.getTarget()
-
setOriginalType
The
Typeto be conjugated.- Parameters:
value- the originalType value- Model:
- derived="false"
transient="false"
oppositeRoleName="conjugation"
redefines=
Relationship.getTarget()
-
getConjugatedType
The
Typethat is the result of applyingConjugationto theoriginalType.- Returns:
- the conjugatedType value
- Model:
- derived="false"
transient="false"
oppositeRoleName="conjugator"
redefines=
Relationship.getSource()
-
setConjugatedType
The
Typethat is the result of applyingConjugationto theoriginalType.- Parameters:
value- the conjugatedType value- Model:
- derived="false"
transient="false"
oppositeRoleName="conjugator"
redefines=
Relationship.getSource()
-
getOwningType
The
conjugatedTypeof thisConjugationthat is also itsowningRelatedElement.- Returns:
- the owningType value
- Model:
- derived="true"
transient="true"
opposite=
Type.getOwnedConjugator()subsets=getConjugatedType(),Relationship.getOwningRelatedElement()
-