|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateableElement
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(org.eclipse.emf.ecore.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 |
org.eclipse.emf.common.util.EList<TemplateBinding> |
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. |
org.eclipse.emf.common.util.EList<ParameterableElement> |
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
org.eclipse.emf.common.util.EList<TemplateBinding> getTemplateBindings()
TemplateBinding.
It is bidirectional and its opposite is 'Bound Element'.
This feature subsets the following features:
The optional bindings from this element to templates.
UMLPackage.getTemplateableElement_TemplateBinding(),
TemplateBinding.getBoundElement()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.getTemplateBindings()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.getTemplateBindings()
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.getTemplateBindings()TemplateSignature getOwnedTemplateSignature()
Template'.
This feature subsets the following features:
The optional template signature specifying the formal template parameters.
setOwnedTemplateSignature(TemplateSignature),
UMLPackage.getTemplateableElement_OwnedTemplateSignature(),
TemplateSignature.getTemplate()void setOwnedTemplateSignature(TemplateSignature value)
Owned Template Signature' containment reference.
value - the new value of the 'Owned Template Signature' containment reference.getOwnedTemplateSignature()TemplateSignature createOwnedTemplateSignature(org.eclipse.emf.ecore.EClass eClass)
TemplateSignature and sets the 'Owned Template Signature' containment reference.
eClass - The Ecore class of the TemplateSignature to create.
TemplateSignature.getOwnedTemplateSignature()TemplateSignature createOwnedTemplateSignature()
TemplateSignature and sets the 'Owned Template Signature' containment reference.
TemplateSignature.getOwnedTemplateSignature()org.eclipse.emf.common.util.EList<ParameterableElement> parameterableElements()
boolean isTemplate()
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||