|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateSignature
A representation of the model object 'Template Signature'. A template signature bundles the set of formal template parameters for a templated element.
The following features are supported:
UMLPackage.getTemplateSignature()| Method Summary | |
|---|---|
TemplateParameter |
createOwnedParameter()
Creates a new TemplateParameter and appends it to the 'Owned Parameter' containment reference list |
TemplateParameter |
createOwnedParameter(org.eclipse.emf.ecore.EClass eClass)
Creates a new TemplateParameter and appends it to the 'Owned Parameter' containment reference list |
org.eclipse.emf.common.util.EList<TemplateParameter> |
getOwnedParameters()
Returns the value of the 'Owned Parameter' containment reference list. |
org.eclipse.emf.common.util.EList<TemplateParameter> |
getParameters()
Returns the value of the 'Parameter' reference list. |
TemplateableElement |
getTemplate()
Returns the value of the 'Template' container reference. |
void |
setTemplate(TemplateableElement value)
Sets the value of the ' Template' container reference |
boolean |
validateOwnElements(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Parameters must own the elements they parameter or those elements must be owned by the element being templated. |
| 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 |
|---|
org.eclipse.emf.common.util.EList<TemplateParameter> getParameters()
TemplateParameter.
The ordered set of all formal template parameters for this template signature.
UMLPackage.getTemplateSignature_Parameter()TemplateableElement getTemplate()
Owned Template Signature'.
This feature subsets the following features:
Owner'
setTemplate(TemplateableElement),
UMLPackage.getTemplateSignature_Template(),
TemplateableElement.getOwnedTemplateSignature()void setTemplate(TemplateableElement value)
Template' container reference.
value - the new value of the 'Template' container reference.getTemplate()org.eclipse.emf.common.util.EList<TemplateParameter> getOwnedParameters()
TemplateParameter.
It is bidirectional and its opposite is 'Signature'.
This feature subsets the following features:
The formal template parameters that are owned by this template signature.
UMLPackage.getTemplateSignature_OwnedParameter(),
TemplateParameter.getSignature()TemplateParameter createOwnedParameter(org.eclipse.emf.ecore.EClass eClass)
TemplateParameter and appends it to the 'Owned Parameter' containment reference list.
eClass - The Ecore class of the TemplateParameter to create.
TemplateParameter.getOwnedParameters()TemplateParameter createOwnedParameter()
TemplateParameter and appends it to the 'Owned Parameter' containment reference list.
TemplateParameter.getOwnedParameters()
boolean validateOwnElements(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 | |||||||||