|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateParameter
A representation of the model object 'Template Parameter'. A template parameter exposes a parameterable element as a formal template parameter of a template.
The following features are supported:
UMLPackage.getTemplateParameter()
Method Summary | |
---|---|
ParameterableElement |
createOwnedDefault(org.eclipse.emf.ecore.EClass eClass)
Creates a new ParameterableElement and sets the 'Owned Default' containment reference |
ParameterableElement |
createOwnedParameteredElement(org.eclipse.emf.ecore.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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The default must be compatible with the formal template parameter. |
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 |
---|
TemplateSignature getSignature()
Owned Parameter
'.
This feature subsets the following features:
Owner
'
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
'.
This feature subsets the following features:
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(org.eclipse.emf.ecore.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()
This feature subsets the following features:
Default
'Owned Element
'
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(org.eclipse.emf.ecore.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(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 |