|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Templateable Element'. TemplateableElement may contain a template signature which specifies the formal template parameters. A TemplateableElement that contains a template signature is often referred to as a template. TemplateableElement may contain bindings to templates that describe how the templateable element is constructed by replacing the formal template parameters with actual parameters. A TemplateableElement containing bindings is often referred to as a bound element.
The following features are supported:
UML2Package.getTemplateableElement()
Field Summary | |
static String |
copyright
|
Method Summary | |
TemplateSignature |
createOwnedTemplateSignature(EClass eClass)
Creates a TemplateSignature and sets the 'Owned Template Signature' containment reference |
TemplateBinding |
createTemplateBinding(EClass eClass)
Creates a TemplateBinding and appends it to the 'Template Binding' containment reference list |
EList |
getOwnedElements()
|
TemplateSignature |
getOwnedTemplateSignature()
Returns the value of the 'Owned Template Signature' containment reference. |
EList |
getTemplateBindings()
Returns the value of the 'Template Binding' containment reference list. |
Set |
parameterableElements()
|
void |
setOwnedTemplateSignature(TemplateSignature value)
Sets the value of the ' Owned Template Signature ' containment reference |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwner, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
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 |
Field Detail |
public static final String copyright
Method Detail |
public EList getTemplateBindings()
TemplateBinding
.
It is bidirectional and its opposite is 'Bound Element
'.
If the meaning of the 'Template Binding' containment reference list isn't clear, there really should be more of a description here...
optional bindings from this element to templates.
UML2Package.getTemplateableElement_TemplateBinding()
,
TemplateBinding.getBoundElement()
public TemplateBinding createTemplateBinding(EClass eClass)
TemplateBinding
and appends it to the 'Template Binding' containment reference list.
eClass
- The Ecore class of the TemplateBinding
to create.
TemplateBinding
.getTemplateBindings()
public TemplateSignature getOwnedTemplateSignature()
Template
'.
If the meaning of the 'Owned Template Signature' containment reference isn't clear, there really should be more of a description here...
setOwnedTemplateSignature(TemplateSignature)
,
UML2Package.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.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
.getOwnedTemplateSignature()
public Set parameterableElements()
public EList getOwnedElements()
getOwnedElements
in interface Element
UML2Package.getElement_OwnedElement()
,
Element.getOwner()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |