public interface TemplateParameterSubstitution extends Element
The following features are supported:
Modifier and Type | Method and Description |
---|---|
ParameterableElement |
createOwnedActual(EClass eClass)
Creates a new
ParameterableElement and appends it to the 'Owned Actual' containment
reference list |
MDWEList<ParameterableElement> |
getActuals()
Returns the value of the 'Actual' reference list.
|
TemplateParameter |
getFormal()
Returns the value of the 'Formal' reference
|
MDWEList<ParameterableElement> |
getOwnedActuals()
Returns the value of the 'Owned Actual' containment reference list.
|
TemplateBinding |
getTemplateBinding()
Returns the value of the 'Template Binding' container reference.
|
void |
setFormal(TemplateParameter value)
Sets the value of the '
Formal ' reference |
void |
setTemplateBinding(TemplateBinding value)
Sets the value of the '
Template Binding '
container reference |
boolean |
validateMustBeCompatible(DiagnosticChain diagnostics,
Map context)
The actual parameter must be compatible with the formal template parameter, e.g. the actual parameter for a class template parameter must be a
class.
|
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
TemplateParameter getFormal()
setFormal(TemplateParameter)
,
UMLPackage.getTemplateParameterSubstitution_Formal()
void setFormal(TemplateParameter value)
Formal
' reference.
value
- the new value of the 'Formal' reference.getFormal()
MDWEList<ParameterableElement> getActuals()
ParameterableElement
.
The elements that are the actual parameters for this substitution.
UMLPackage.getTemplateParameterSubstitution_Actual()
MDWEList<ParameterableElement> getOwnedActuals()
ParameterableElement
.
The actual parameters that are owned by this substitution.
UMLPackage.getTemplateParameterSubstitution_OwnedActual()
ParameterableElement createOwnedActual(EClass eClass)
ParameterableElement
and appends it to the 'Owned Actual' containment
reference list.
eClass
- The Ecore class of the ParameterableElement
to create.ParameterableElement
.getOwnedActuals()
TemplateBinding getTemplateBinding()
Parameter Substitution
'.
The optional bindings from this element to templates.
setTemplateBinding(TemplateBinding)
,
UMLPackage.getTemplateParameterSubstitution_TemplateBinding()
,
TemplateBinding.getParameterSubstitutions()
void setTemplateBinding(TemplateBinding value)
Template Binding
'
container reference.
value
- the new value of the 'Template Binding' container reference.getTemplateBinding()
boolean validateMustBeCompatible(DiagnosticChain diagnostics, Map context)