|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Template Signature'. A template signature bundles the set of formal template parameters for a templated element.
The following features are supported:
UMLPackage.getTemplateSignature()
Method Summary | |
TemplateParameter |
createOwnedParameter()
Creates a new TemplateParameter and appends it to the 'Owned Parameter' containment reference list |
TemplateParameter |
createOwnedParameter(EClass eClass)
Creates a new TemplateParameter and appends it to the 'Owned Parameter' containment reference list |
EList |
getOwnedParameters()
Returns the value of the 'Owned Parameter' containment reference list. |
EList |
getParameters()
Returns the value of the 'Parameter' reference list. |
TemplateableElement |
getTemplate()
Returns the value of the 'Template' container reference. |
void |
setTemplate(TemplateableElement value)
Sets the value of the ' Template ' container reference |
boolean |
validateOwnElements(DiagnosticChain diagnostics,
Map context)
Parameters must own the elements they parameter or those elements must be owned by the element being templated. |
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 EList getParameters()
TemplateParameter
.
The ordered set of all formal template parameters for this template signature.
UMLPackage.getTemplateSignature_Parameter()
public TemplateableElement getTemplate()
Owned Template Signature
'.
The element that owns this template signature.
TemplateSignature.setTemplate(TemplateableElement)
,
UMLPackage.getTemplateSignature_Template()
,
TemplateableElement.getOwnedTemplateSignature()
public void setTemplate(TemplateableElement value)
Template
' container reference.
value
- the new value of the 'Template' container reference.TemplateSignature.getTemplate()
public EList getOwnedParameters()
TemplateParameter
.
It is bidirectional and its opposite is 'Signature
'.
The formal template parameters that are owned by this template signature.
UMLPackage.getTemplateSignature_OwnedParameter()
,
TemplateParameter.getSignature()
public TemplateParameter createOwnedParameter(EClass eClass)
TemplateParameter
and appends it to the 'Owned Parameter' containment reference list.
eClass
- The Ecore class of the TemplateParameter
to create.
TemplateParameter
.TemplateSignature.getOwnedParameters()
public TemplateParameter createOwnedParameter()
TemplateParameter
and appends it to the 'Owned Parameter' containment reference list.
TemplateParameter
.TemplateSignature.getOwnedParameters()
public boolean validateOwnElements(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 |