public interface TemplateParameter extends Element
The following features are supported:
UMLPackage.getTemplateParameter()
Modifier and Type | Method and Description |
---|---|
ParameterableElement |
createOwnedDefault(EClass eClass)
Creates a new
ParameterableElement and sets the 'Owned Default' containment reference |
ParameterableElement |
createOwnedParameteredElement(EClass eClass)
Creates a new
ParameterableElement and sets the 'Owned Parametered Element' containment
reference |
ParameterableElement |
getDefault()
Returns the value of the 'Default' reference
|
ParameterableElement |
getOwnedDefault()
Returns the value of the 'Owned Default' containment reference
|
ParameterableElement |
getOwnedParameteredElement()
Returns the value of the 'Owned Parametered Element' containment reference.
|
ParameterableElement |
getParameteredElement()
Returns the value of the 'Parametered Element' reference.
|
TemplateSignature |
getSignature()
Returns the value of the 'Signature' container reference.
|
void |
setDefault(ParameterableElement value)
Sets the value of the '
Default ' reference |
void |
setOwnedDefault(ParameterableElement value)
Sets the value of the '
Owned Default ' containment reference |
void |
setOwnedParameteredElement(ParameterableElement value)
Sets the value of the '
Owned Parametered Element '
containment reference |
void |
setParameteredElement(ParameterableElement value)
Sets the value of the '
Parametered Element ' reference |
void |
setSignature(TemplateSignature value)
Sets the value of the '
Signature ' container reference |
boolean |
validateMustBeCompatible(DiagnosticChain diagnostics,
Map context)
The default must be compatible with the formal template parameter.
|
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()
Owned Parameter
'.
The template signature that owns this template parameter.
setSignature(TemplateSignature)
,
UMLPackage.getTemplateParameter_Signature()
,
TemplateSignature.getOwnedParameters()
void setSignature(TemplateSignature value)
Signature
' container reference.
value
- the new value of the 'Signature' container reference.getSignature()
ParameterableElement getOwnedParameteredElement()
Owning Template Parameter
'.
The element that is owned by this template parameter.
setOwnedParameteredElement(ParameterableElement)
,
UMLPackage.getTemplateParameter_OwnedParameteredElement()
,
ParameterableElement.getOwningTemplateParameter()
void setOwnedParameteredElement(ParameterableElement value)
Owned Parametered Element
'
containment reference.
value
- the new value of the 'Owned Parametered Element' containment reference.getOwnedParameteredElement()
ParameterableElement createOwnedParameteredElement(EClass eClass)
ParameterableElement
and sets the 'Owned Parametered Element' containment
reference.
eClass
- The Ecore class of the ParameterableElement
to create.ParameterableElement
.getOwnedParameteredElement()
ParameterableElement getDefault()
setDefault(ParameterableElement)
,
UMLPackage.getTemplateParameter_Default()
void setDefault(ParameterableElement value)
Default
' reference.
value
- the new value of the 'Default' reference.getDefault()
ParameterableElement getOwnedDefault()
setOwnedDefault(ParameterableElement)
,
UMLPackage.getTemplateParameter_OwnedDefault()
void setOwnedDefault(ParameterableElement value)
Owned Default
' containment reference.
value
- the new value of the 'Owned Default' containment reference.getOwnedDefault()
ParameterableElement createOwnedDefault(EClass eClass)
ParameterableElement
and sets the 'Owned Default' containment reference.
eClass
- The Ecore class of the ParameterableElement
to create.ParameterableElement
.getOwnedDefault()
ParameterableElement getParameteredElement()
Template Parameter
'.
The element exposed by this template parameter.
setParameteredElement(ParameterableElement)
,
UMLPackage.getTemplateParameter_ParameteredElement()
,
ParameterableElement.getTemplateParameter()
void setParameteredElement(ParameterableElement value)
Parametered Element
' reference.
value
- the new value of the 'Parametered Element' reference.getParameteredElement()
boolean validateMustBeCompatible(DiagnosticChain diagnostics, Map context)