|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Templateable Element'. A templateable element is an element that can optionally be defined as a template and bound to other templates.
The following features are supported:
UMLPackage.getTemplateableElement()| Method Summary | |
TemplateSignature |
createOwnedTemplateSignature()
Creates a new TemplateSignature and sets the 'Owned Template Signature' containment reference |
TemplateSignature |
createOwnedTemplateSignature(EClass eClass)
Creates a new TemplateSignature and sets the 'Owned Template Signature' containment reference |
TemplateBinding |
createTemplateBinding(TemplateSignature signature)
Creates a new TemplateBinding, with the specified 'Signature', and appends it to the 'Template Binding' containment reference list |
TemplateSignature |
getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference. |
TemplateBinding |
getTemplateBinding(TemplateSignature signature)
Retrieves the first TemplateBinding with the specified 'Signature' from the 'Template Binding' containment reference list |
TemplateBinding |
getTemplateBinding(TemplateSignature signature,
boolean createOnDemand)
Retrieves the first TemplateBinding with the specified 'Signature' from the 'Template Binding' containment reference list |
EList |
getTemplateBindings()
Returns the value of the 'Template Binding' containment reference list. |
boolean |
isTemplate()
The query isTemplate() returns whether this templateable element is actually a template. |
EList |
parameterableElements()
The query parameterableElements() returns the set of elements that may be used as the parametered elements for a template parameter of this templateable element. |
void |
setOwnedTemplateSignature(TemplateSignature value)
Sets the value of the ' Owned Template Signature' containment reference |
| 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 getTemplateBindings()
TemplateBinding.
It is bidirectional and its opposite is 'Bound Element'.
The optional bindings from this element to templates.
UMLPackage.getTemplateableElement_TemplateBinding(),
TemplateBinding.getBoundElement()public TemplateBinding createTemplateBinding(TemplateSignature signature)
TemplateBinding, with the specified 'Signature', and appends it to the 'Template Binding' containment reference list.
signature - The 'Signature' for the new TemplateBinding, or null.
TemplateBinding.TemplateableElement.getTemplateBindings()public TemplateBinding getTemplateBinding(TemplateSignature signature)
TemplateBinding with the specified 'Signature' from the 'Template Binding' containment reference list.
signature - The 'Signature' of the TemplateBinding to retrieve, or null.
TemplateBinding with the specified 'Signature', or null.TemplateableElement.getTemplateBindings()
public TemplateBinding getTemplateBinding(TemplateSignature signature,
boolean createOnDemand)
TemplateBinding with the specified 'Signature' from the 'Template Binding' containment reference list.
signature - The 'Signature' of the TemplateBinding to retrieve, or null.createOnDemand - Whether to create a TemplateBinding on demand if not found.
TemplateBinding with the specified 'Signature', or null.TemplateableElement.getTemplateBindings()public TemplateSignature getOwnedTemplateSignature()
Template'.
The optional template signature specifying the formal template parameters.
TemplateableElement.setOwnedTemplateSignature(TemplateSignature),
UMLPackage.getTemplateableElement_OwnedTemplateSignature(),
TemplateSignature.getTemplate()public void setOwnedTemplateSignature(TemplateSignature value)
Owned Template Signature' containment reference.
value - the new value of the 'Owned Template Signature' containment reference.TemplateableElement.getOwnedTemplateSignature()public TemplateSignature createOwnedTemplateSignature(EClass eClass)
TemplateSignature and sets the 'Owned Template Signature' containment reference.
eClass - The Ecore class of the TemplateSignature to create.
TemplateSignature.TemplateableElement.getOwnedTemplateSignature()public TemplateSignature createOwnedTemplateSignature()
TemplateSignature and sets the 'Owned Template Signature' containment reference.
TemplateSignature.TemplateableElement.getOwnedTemplateSignature()public EList parameterableElements()
public boolean isTemplate()
|
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 | ||||||||||