|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Template Parameter'. A template parameter exposes a parameterable element as a formal template parameter of a template.
The following features are supported:
UMLPackage.getTemplateParameter()| Method Summary | |
ParameterableElement |
createOwnedDefault(EClass eClass)
Creates a new ParameterableElement and sets the 'Owned Default' containment reference |
ParameterableElement |
createOwnedParameteredElement(EClass eClass)
Creates a new ParameterableElement and sets the 'Owned Parametered Element' containment reference |
ParameterableElement |
getDefault()
Returns the value of the 'Default' reference |
ParameterableElement |
getOwnedDefault()
Returns the value of the 'Owned Default' containment reference |
ParameterableElement |
getOwnedParameteredElement()
Returns the value of the 'Owned Parametered Element' containment reference. |
ParameterableElement |
getParameteredElement()
Returns the value of the 'Parametered Element' reference. |
TemplateSignature |
getSignature()
Returns the value of the 'Signature' container reference. |
void |
setDefault(ParameterableElement value)
Sets the value of the ' Default' reference |
void |
setOwnedDefault(ParameterableElement value)
Sets the value of the ' Owned Default' containment reference |
void |
setOwnedParameteredElement(ParameterableElement value)
Sets the value of the ' Owned Parametered Element' containment reference |
void |
setParameteredElement(ParameterableElement value)
Sets the value of the ' Parametered Element' reference |
void |
setSignature(TemplateSignature value)
Sets the value of the ' Signature' container reference |
boolean |
validateMustBeCompatible(DiagnosticChain diagnostics,
Map context)
The default must be compatible with the formal template parameter. |
| 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()
Owned Parameter'.
The template signature that owns this template parameter.
TemplateParameter.setSignature(TemplateSignature),
UMLPackage.getTemplateParameter_Signature(),
TemplateSignature.getOwnedParameters()public void setSignature(TemplateSignature value)
Signature' container reference.
value - the new value of the 'Signature' container reference.TemplateParameter.getSignature()public ParameterableElement getOwnedParameteredElement()
Owning Template Parameter'.
The element that is owned by this template parameter.
TemplateParameter.setOwnedParameteredElement(ParameterableElement),
UMLPackage.getTemplateParameter_OwnedParameteredElement(),
ParameterableElement.getOwningTemplateParameter()public void setOwnedParameteredElement(ParameterableElement value)
Owned Parametered Element' containment reference.
value - the new value of the 'Owned Parametered Element' containment reference.TemplateParameter.getOwnedParameteredElement()public ParameterableElement createOwnedParameteredElement(EClass eClass)
ParameterableElement and sets the 'Owned Parametered Element' containment reference.
eClass - The Ecore class of the ParameterableElement to create.
ParameterableElement.TemplateParameter.getOwnedParameteredElement()public ParameterableElement getDefault()
TemplateParameter.setDefault(ParameterableElement),
UMLPackage.getTemplateParameter_Default()public void setDefault(ParameterableElement value)
Default' reference.
value - the new value of the 'Default' reference.TemplateParameter.getDefault()public ParameterableElement getOwnedDefault()
TemplateParameter.setOwnedDefault(ParameterableElement),
UMLPackage.getTemplateParameter_OwnedDefault()public void setOwnedDefault(ParameterableElement value)
Owned Default' containment reference.
value - the new value of the 'Owned Default' containment reference.TemplateParameter.getOwnedDefault()public ParameterableElement createOwnedDefault(EClass eClass)
ParameterableElement and sets the 'Owned Default' containment reference.
eClass - The Ecore class of the ParameterableElement to create.
ParameterableElement.TemplateParameter.getOwnedDefault()public ParameterableElement getParameteredElement()
Template Parameter'.
The element exposed by this template parameter.
TemplateParameter.setParameteredElement(ParameterableElement),
UMLPackage.getTemplateParameter_ParameteredElement(),
ParameterableElement.getTemplateParameter()public void setParameteredElement(ParameterableElement value)
Parametered Element' reference.
value - the new value of the 'Parametered Element' reference.TemplateParameter.getParameteredElement()
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 | ||||||||||