public interface TemplateBinding extends DirectedRelationship
The following features are supported:
UMLPackage.getTemplateBinding()
Modifier and Type | Method and Description |
---|---|
TemplateParameterSubstitution |
createParameterSubstitution()
Creates a new
TemplateParameterSubstitution and appends it to the '
Parameter Substitution' containment reference list |
TemplateableElement |
getBoundElement()
Returns the value of the 'Bound Element' container reference.
|
MDWEList<TemplateParameterSubstitution> |
getParameterSubstitutions()
Returns the value of the 'Parameter Substitution' containment reference list.
|
TemplateSignature |
getSignature()
Returns the value of the 'Signature' reference
|
void |
setBoundElement(TemplateableElement value)
Sets the value of the '
Bound Element ' container reference |
void |
setSignature(TemplateSignature value)
Sets the value of the '
Signature ' reference |
boolean |
validateOneParameterSubstitution(DiagnosticChain diagnostics,
Map context)
A binding contains at most one parameter substitution for each formal template parameter of the target template signature.
|
boolean |
validateParameterSubstitutionFormal(DiagnosticChain diagnostics,
Map context)
Each parameter substitution must refer to a formal template parameter of the target template signature.
|
getSources, getTargets
getRelatedElements
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
TemplateSignature getSignature()
setSignature(TemplateSignature)
,
UMLPackage.getTemplateBinding_Signature()
void setSignature(TemplateSignature value)
Signature
' reference.
value
- the new value of the 'Signature' reference.getSignature()
MDWEList<TemplateParameterSubstitution> getParameterSubstitutions()
TemplateParameterSubstitution
.
It is bidirectional and its opposite is 'Template Binding
'.
The parameter substitutions owned by this template binding.
UMLPackage.getTemplateBinding_ParameterSubstitution()
,
TemplateParameterSubstitution.getTemplateBinding()
TemplateParameterSubstitution createParameterSubstitution()
TemplateParameterSubstitution
and appends it to the '
Parameter Substitution' containment reference list.
TemplateParameterSubstitution
.getParameterSubstitutions()
TemplateableElement getBoundElement()
Template Binding
'.
The element that is bound by this binding.
setBoundElement(TemplateableElement)
,
UMLPackage.getTemplateBinding_BoundElement()
,
TemplateableElement.getTemplateBindings()
void setBoundElement(TemplateableElement value)
Bound Element
' container reference.
value
- the new value of the 'Bound Element' container reference.getBoundElement()
boolean validateParameterSubstitutionFormal(DiagnosticChain diagnostics, Map context)
boolean validateOneParameterSubstitution(DiagnosticChain diagnostics, Map context)