public interface TemplateSignature extends Element
The following features are supported:
UMLPackage.getTemplateSignature()
Modifier and Type | Method and Description |
---|---|
TemplateParameter |
createOwnedParameter()
Creates a new
TemplateParameter and appends it to the 'Owned Parameter' containment
reference list |
TemplateParameter |
createOwnedParameter(EClass eClass)
Creates a new
TemplateParameter and appends it to the 'Owned Parameter' containment
reference list |
MDWEList<TemplateParameter> |
getOwnedParameters()
Returns the value of the 'Owned Parameter' containment reference list.
|
MDWEList<TemplateParameter> |
getParameters()
Returns the value of the 'Parameter' reference list.
|
TemplateableElement |
getTemplate()
Returns the value of the 'Template' container reference.
|
void |
setTemplate(TemplateableElement value)
Sets the value of the '
Template ' container reference |
boolean |
validateOwnElements(DiagnosticChain diagnostics,
Map context)
Parameters must own the elements they parameter or those elements must be owned by the element being templated.
|
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<TemplateParameter> getParameters()
TemplateParameter
.
The ordered set of all formal template parameters for this template signature.
UMLPackage.getTemplateSignature_Parameter()
TemplateableElement getTemplate()
Owned Template Signature
'.
The element that owns this template signature.
setTemplate(TemplateableElement)
,
UMLPackage.getTemplateSignature_Template()
,
TemplateableElement.getOwnedTemplateSignature()
void setTemplate(TemplateableElement value)
Template
' container reference.
value
- the new value of the 'Template' container reference.getTemplate()
MDWEList<TemplateParameter> getOwnedParameters()
TemplateParameter
.
It is bidirectional and its opposite is 'Signature
'.
The formal template parameters that are owned by this template signature.
UMLPackage.getTemplateSignature_OwnedParameter()
,
TemplateParameter.getSignature()
TemplateParameter createOwnedParameter(EClass eClass)
TemplateParameter
and appends it to the 'Owned Parameter' containment
reference list.
eClass
- The Ecore class of the TemplateParameter
to create.TemplateParameter
.getOwnedParameters()
TemplateParameter createOwnedParameter()
TemplateParameter
and appends it to the 'Owned Parameter' containment
reference list.
TemplateParameter
.getOwnedParameters()
boolean validateOwnElements(DiagnosticChain diagnostics, Map context)