Package com.sodius.mdw.metamodel.uml21
Interface LinkEndData
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
LinkEndCreationData
,LinkEndDestructionData
public interface LinkEndData extends Element
A representation of the model object 'Link End Data'. A link end data is not an action. It is an element that identifies links. It identifies one end of a link to be read or written by the children of a link action. A link cannot be passed as a runtime value to or from an action. Instead, a link is identified by its end objects and qualifier values, if any. This requires more than one piece of data, namely, the statically-specified end in the user model, the object on the end, and the qualifier values for that end, if any. These pieces are brought together around a link end data. Each association end is identified separately with an instance of the LinkEndData class.The following features are supported:
- See Also:
UMLPackage.getLinkEndData()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QualifierValue
createQualifier()
Creates a newQualifierValue
and appends it to the 'Qualifier' containment reference list.Property
getEnd()
Returns the value of the 'End' reference.MDWEList<QualifierValue>
getQualifiers()
Returns the value of the 'Qualifier' containment reference list.InputPin
getValue()
Returns the value of the 'Value' reference.void
setEnd(Property value)
Sets the value of the 'End
' reference.void
setValue(InputPin value)
Sets the value of the 'Value
' reference.boolean
validateEndObjectInputPin(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The end object input pin is not also a qualifier value input pin.boolean
validateMultiplicity(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The multiplicity of the end object input pin must be 1..1.boolean
validatePropertyIsAssociationEnd(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The property must be an association end.boolean
validateQualifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The qualifiers include all and only the qualifiers of the association end.boolean
validateSameType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The type of the end object input pin is the same as the type of the association end.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getValue
InputPin getValue()
Returns the value of the 'Value' reference. Input pin that provides the specified object for the given end. This pin is omitted if the link-end data specifies an 'open' end for reading.- Returns:
- the value of the 'Value' reference.
- See Also:
setValue(InputPin)
,UMLPackage.getLinkEndData_Value()
-
setValue
void setValue(InputPin value)
Sets the value of the 'Value
' reference.- Parameters:
value
- the new value of the 'Value' reference.- See Also:
getValue()
-
getEnd
Property getEnd()
Returns the value of the 'End' reference. Association end for which this link-end data specifies values.- Returns:
- the value of the 'End' reference.
- See Also:
setEnd(Property)
,UMLPackage.getLinkEndData_End()
-
setEnd
void setEnd(Property value)
Sets the value of the 'End
' reference.- Parameters:
value
- the new value of the 'End' reference.- See Also:
getEnd()
-
getQualifiers
MDWEList<QualifierValue> getQualifiers()
Returns the value of the 'Qualifier' containment reference list. The list contents are of typeQualifierValue
. List of qualifier values- Returns:
- the value of the 'Qualifier' containment reference list.
- See Also:
UMLPackage.getLinkEndData_Qualifier()
-
createQualifier
QualifierValue createQualifier()
Creates a newQualifierValue
and appends it to the 'Qualifier' containment reference list.- Returns:
- The new
QualifierValue
. - See Also:
getQualifiers()
-
validatePropertyIsAssociationEnd
boolean validatePropertyIsAssociationEnd(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The property must be an association end. self.end.association->size() = 1
-
validateSameType
boolean validateSameType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The type of the end object input pin is the same as the type of the association end. self.value.type = self.end.type
-
validateMultiplicity
boolean validateMultiplicity(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The multiplicity of the end object input pin must be 1..1. self.value.multiplicity.is(1,1)
-
validateQualifiers
boolean validateQualifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The qualifiers include all and only the qualifiers of the association end. self.qualifier->collect(qualifier) = self.end.qualifier
-
validateEndObjectInputPin
boolean validateEndObjectInputPin(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
The end object input pin is not also a qualifier value input pin. self.value->excludesAll(self.qualifier.value)
-
-