public interface TemplateableElement extends Element
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(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 |
MDWEList<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.
|
MDWEList<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 |
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
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<TemplateBinding> getTemplateBindings()
TemplateBinding
.
It is bidirectional and its opposite is 'Bound Element
'.
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
'.
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(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()
MDWEList<ParameterableElement> parameterableElements()
boolean isTemplate()