public interface TemplateableElement extends Element
From package UML::CommonStructure.
The following features are supported:
UMLPackage.getTemplateableElement()
Modifier and Type | Method and Description |
---|---|
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 TemplateableElement is actually a template.
|
org.eclipse.emf.common.util.EList<ParameterableElement> |
parameterableElements()
The query parameterableElements() returns the set of ParameterableElements that may be used as the parameteredElements for a TemplateParameter of this TemplateableElement.
|
void |
setOwnedTemplateSignature(TemplateSignature value)
Sets the value of the '
Owned Template Signature ' containment reference |
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
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 TemplateBindings from this TemplateableElement to one or more templates.From package UML::CommonStructure.
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 TemplateSignature specifying the formal TemplateParameters for this TemplateableElement. If a TemplateableElement has a TemplateSignature, then it is a template.From package UML::CommonStructure.
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()
From package UML::CommonStructure.
boolean isTemplate()
From package UML::CommonStructure.