|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Template Binding'. TemplateBinding is a directed relationship from a bound templateable element to the template signature of the target template. A TemplateBinding owns a set of template parameter substitutions.
The following features are supported:
UML2Package.getTemplateBinding()
Field Summary | |
static String |
copyright
|
Method Summary | |
TemplateParameterSubstitution |
createParameterSubstitution(EClass eClass)
Creates a TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list |
TemplateableElement |
getBoundElement()
Returns the value of the 'Bound Element' container reference. |
EList |
getOwnedElements()
|
Element |
getOwner()
|
EList |
getParameterSubstitutions()
Returns the value of the 'Parameter Substitution' containment reference list. |
TemplateSignature |
getSignature()
Returns the value of the 'Signature' reference |
EList |
getSources()
|
EList |
getTargets()
|
void |
setBoundElement(TemplateableElement value)
Sets the value of the ' Bound Element ' container reference |
void |
setSignature(TemplateSignature value)
Sets the value of the ' Signature ' reference |
Methods inherited from interface org.eclipse.uml2.DirectedRelationship |
getRelatedElements |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final String copyright
Method Detail |
public TemplateableElement getBoundElement()
Template Binding
'.
If the meaning of the 'Bound Element' container reference isn't clear, there really should be more of a description here...
element that is bound by this binding. Subsets DirectedRelationship::source.
setBoundElement(TemplateableElement)
,
UML2Package.getTemplateBinding_BoundElement()
,
TemplateableElement.getTemplateBindings()
public void setBoundElement(TemplateableElement value)
Bound Element
' container reference.
value
- the new value of the 'Bound Element' container reference.getBoundElement()
public TemplateSignature getSignature()
If the meaning of the 'Signature' reference isn't clear, there really should be more of a description here...
setSignature(TemplateSignature)
,
UML2Package.getTemplateBinding_Signature()
public void setSignature(TemplateSignature value)
Signature
' reference.
value
- the new value of the 'Signature' reference.getSignature()
public EList getParameterSubstitutions()
TemplateParameterSubstitution
.
It is bidirectional and its opposite is 'Template Binding
'.
If the meaning of the 'Parameter Substitution' containment reference list isn't clear, there really should be more of a description here...
parameter substitutions owned by this template binding. Subsets Element::ownedElement.
UML2Package.getTemplateBinding_ParameterSubstitution()
,
TemplateParameterSubstitution.getTemplateBinding()
public TemplateParameterSubstitution createParameterSubstitution(EClass eClass)
TemplateParameterSubstitution
and appends it to the 'Parameter Substitution' containment reference list.
eClass
- The Ecore class of the TemplateParameterSubstitution
to create.
TemplateParameterSubstitution
.getParameterSubstitutions()
public Element getOwner()
getOwner
in interface Element
UML2Package.getElement_Owner()
,
Element.getOwnedElements()
public EList getSources()
getSources
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Source()
public EList getTargets()
getTargets
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Target()
public EList getOwnedElements()
getOwnedElements
in interface Element
UML2Package.getElement_OwnedElement()
,
Element.getOwner()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |