|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Template Parameter Substitution'. A template parameter substitution relates the actual parameter(s) to a formal template parameter as part of a template binding.
The following features are supported:
UMLPackage.getTemplateParameterSubstitution()
Method Summary | |
ParameterableElement |
createOwnedActual(EClass eClass)
Creates a new ParameterableElement and appends it to the 'Owned Actual' containment reference list |
EList |
getActuals()
Returns the value of the 'Actual' reference list. |
TemplateParameter |
getFormal()
Returns the value of the 'Formal' reference |
EList |
getOwnedActuals()
Returns the value of the 'Owned Actual' containment reference list. |
TemplateBinding |
getTemplateBinding()
Returns the value of the 'Template Binding' container reference. |
void |
setFormal(TemplateParameter value)
Sets the value of the ' Formal ' reference |
void |
setTemplateBinding(TemplateBinding value)
Sets the value of the ' Template Binding ' container reference |
boolean |
validateMustBeCompatible(DiagnosticChain diagnostics,
Map context)
The actual parameter must be compatible with the formal template parameter, e.g. the actual parameter for a class template parameter must be a class. |
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 TemplateParameter getFormal()
TemplateParameterSubstitution.setFormal(TemplateParameter)
,
UMLPackage.getTemplateParameterSubstitution_Formal()
public void setFormal(TemplateParameter value)
Formal
' reference.
value
- the new value of the 'Formal' reference.TemplateParameterSubstitution.getFormal()
public EList getActuals()
ParameterableElement
.
The elements that are the actual parameters for this substitution.
UMLPackage.getTemplateParameterSubstitution_Actual()
public EList getOwnedActuals()
ParameterableElement
.
The actual parameters that are owned by this substitution.
UMLPackage.getTemplateParameterSubstitution_OwnedActual()
public ParameterableElement createOwnedActual(EClass eClass)
ParameterableElement
and appends it to the 'Owned Actual' containment reference list.
eClass
- The Ecore class of the ParameterableElement
to create.
ParameterableElement
.TemplateParameterSubstitution.getOwnedActuals()
public TemplateBinding getTemplateBinding()
Parameter Substitution
'.
The optional bindings from this element to templates.
TemplateParameterSubstitution.setTemplateBinding(TemplateBinding)
,
UMLPackage.getTemplateParameterSubstitution_TemplateBinding()
,
TemplateBinding.getParameterSubstitutions()
public void setTemplateBinding(TemplateBinding value)
Template Binding
' container reference.
value
- the new value of the 'Template Binding' container reference.TemplateParameterSubstitution.getTemplateBinding()
public boolean validateMustBeCompatible(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 |