|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
UMLPackage.getLinkEndData()
Method Summary | |
QualifierValue |
createQualifier()
Creates a new QualifierValue and appends it to the 'Qualifier' containment reference list |
Property |
getEnd()
Returns the value of the 'End' reference |
EList |
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(DiagnosticChain diagnostics,
Map context)
The end object input pin is not also a qualifier value input pin. |
boolean |
validateMultiplicity(DiagnosticChain diagnostics,
Map context)
The multiplicity of the end object input pin must be 1..1. |
boolean |
validatePropertyIsAssociationEnd(DiagnosticChain diagnostics,
Map context)
The property must be an association end. |
boolean |
validateQualifiers(DiagnosticChain diagnostics,
Map context)
The qualifiers include all and only the qualifiers of the association end. |
boolean |
validateSameType(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 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public InputPin getValue()
LinkEndData.setValue(InputPin)
,
UMLPackage.getLinkEndData_Value()
public void setValue(InputPin value)
Value
' reference.
value
- the new value of the 'Value' reference.LinkEndData.getValue()
public Property getEnd()
LinkEndData.setEnd(Property)
,
UMLPackage.getLinkEndData_End()
public void setEnd(Property value)
End
' reference.
value
- the new value of the 'End' reference.LinkEndData.getEnd()
public EList getQualifiers()
QualifierValue
.
List of qualifier values
UMLPackage.getLinkEndData_Qualifier()
public QualifierValue createQualifier()
QualifierValue
and appends it to the 'Qualifier' containment reference list.
QualifierValue
.LinkEndData.getQualifiers()
public boolean validatePropertyIsAssociationEnd(DiagnosticChain diagnostics, Map context)
public boolean validateSameType(DiagnosticChain diagnostics, Map context)
public boolean validateMultiplicity(DiagnosticChain diagnostics, Map context)
public boolean validateQualifiers(DiagnosticChain diagnostics, Map context)
public boolean validateEndObjectInputPin(DiagnosticChain diagnostics, Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |