|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateParameterSubstitution
A representation of the model object 'Template Parameter Substitution'. A template parameter substitution relates the actual parameter to a formal template parameter as part of a template binding.
The following features are supported:
UMLPackage.getTemplateParameterSubstitution()
Method Summary | |
---|---|
ParameterableElement |
createOwnedActual(org.eclipse.emf.ecore.EClass eClass)
Creates a new ParameterableElement and sets the 'Owned Actual' containment reference |
ParameterableElement |
getActual()
Returns the value of the 'Actual' reference |
TemplateParameter |
getFormal()
Returns the value of the 'Formal' reference |
ParameterableElement |
getOwnedActual()
Returns the value of the 'Owned Actual' containment reference. |
TemplateBinding |
getTemplateBinding()
Returns the value of the 'Template Binding' container reference. |
void |
setActual(ParameterableElement value)
Sets the value of the ' Actual ' reference |
void |
setFormal(TemplateParameter value)
Sets the value of the ' Formal ' reference |
void |
setOwnedActual(ParameterableElement value)
Sets the value of the ' Owned Actual ' containment reference |
void |
setTemplateBinding(TemplateBinding value)
Sets the value of the ' Template Binding ' container reference |
boolean |
validateMustBeCompatible(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> 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. |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
TemplateParameter getFormal()
setFormal(TemplateParameter)
,
UMLPackage.getTemplateParameterSubstitution_Formal()
void setFormal(TemplateParameter value)
Formal
' reference.
value
- the new value of the 'Formal' reference.getFormal()
ParameterableElement getActual()
setActual(ParameterableElement)
,
UMLPackage.getTemplateParameterSubstitution_Actual()
void setActual(ParameterableElement value)
Actual
' reference.
value
- the new value of the 'Actual' reference.getActual()
ParameterableElement getOwnedActual()
This feature subsets the following features:
Actual
'Owned Element
'
setOwnedActual(ParameterableElement)
,
UMLPackage.getTemplateParameterSubstitution_OwnedActual()
void setOwnedActual(ParameterableElement value)
Owned Actual
' containment reference.
value
- the new value of the 'Owned Actual' containment reference.getOwnedActual()
ParameterableElement createOwnedActual(org.eclipse.emf.ecore.EClass eClass)
ParameterableElement
and sets the 'Owned Actual' containment reference.
eClass
- The Ecore class of the ParameterableElement
to create.
ParameterableElement
.getOwnedActual()
TemplateBinding getTemplateBinding()
Parameter Substitution
'.
This feature subsets the following features:
Owner
'
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(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |