|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Template Binding'. A template binding represents a relationship between a templateable element and a template. A template binding specifies the substitutions of actual parameters for the formal parameters of the template.
The following features are supported:
UMLPackage.getTemplateBinding()| Method Summary | |
TemplateParameterSubstitution |
createParameterSubstitution()
Creates a new TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list |
TemplateableElement |
getBoundElement()
Returns the value of the 'Bound Element' container reference. |
EList |
getParameterSubstitutions()
Returns the value of the 'Parameter Substitution' containment reference list. |
TemplateSignature |
getSignature()
Returns the value of the 'Signature' reference |
void |
setBoundElement(TemplateableElement value)
Sets the value of the ' Bound Element' container reference |
void |
setSignature(TemplateSignature value)
Sets the value of the ' Signature' reference |
boolean |
validateOneParameterSubstitution(DiagnosticChain diagnostics,
Map context)
A binding contains at most one parameter substitution for each formal template parameter of the target template signature. |
boolean |
validateParameterSubstitutionFormal(DiagnosticChain diagnostics,
Map context)
Each parameter substitution must refer to a formal template parameter of the target template signature. |
| Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship |
getSources, getTargets |
| Methods inherited from interface org.eclipse.uml2.uml.Relationship |
getRelatedElements |
| 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 TemplateSignature getSignature()
TemplateBinding.setSignature(TemplateSignature),
UMLPackage.getTemplateBinding_Signature()public void setSignature(TemplateSignature value)
Signature' reference.
value - the new value of the 'Signature' reference.TemplateBinding.getSignature()public EList getParameterSubstitutions()
TemplateParameterSubstitution.
It is bidirectional and its opposite is 'Template Binding'.
The parameter substitutions owned by this template binding.
UMLPackage.getTemplateBinding_ParameterSubstitution(),
TemplateParameterSubstitution.getTemplateBinding()public TemplateParameterSubstitution createParameterSubstitution()
TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list.
TemplateParameterSubstitution.TemplateBinding.getParameterSubstitutions()public TemplateableElement getBoundElement()
Template Binding'.
The element that is bound by this binding.
TemplateBinding.setBoundElement(TemplateableElement),
UMLPackage.getTemplateBinding_BoundElement(),
TemplateableElement.getTemplateBindings()public void setBoundElement(TemplateableElement value)
Bound Element' container reference.
value - the new value of the 'Bound Element' container reference.TemplateBinding.getBoundElement()
public boolean validateParameterSubstitutionFormal(DiagnosticChain diagnostics,
Map context)
public boolean validateOneParameterSubstitution(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 | ||||||||||