org.eclipse.uml2
Interface TemplateBinding

All Superinterfaces:
DirectedRelationship, Element, EModelElement, EObject, Notifier, Relationship

public interface TemplateBinding
extends DirectedRelationship

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:

See Also:
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

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getBoundElement

public TemplateableElement getBoundElement()
Returns the value of the 'Bound Element' container reference. It is bidirectional and its opposite is '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.

Returns:
the value of the 'Bound Element' container reference.
See Also:
setBoundElement(TemplateableElement), UML2Package.getTemplateBinding_BoundElement(), TemplateableElement.getTemplateBindings()

setBoundElement

public void setBoundElement(TemplateableElement value)
Sets the value of the 'Bound Element' container reference.

Parameters:
value - the new value of the 'Bound Element' container reference.
See Also:
getBoundElement()

getSignature

public TemplateSignature getSignature()
Returns the value of the 'Signature' reference.

If the meaning of the 'Signature' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Signature' reference.
See Also:
setSignature(TemplateSignature), UML2Package.getTemplateBinding_Signature()

setSignature

public void setSignature(TemplateSignature value)
Sets the value of the 'Signature' reference.

Parameters:
value - the new value of the 'Signature' reference.
See Also:
getSignature()

getParameterSubstitutions

public EList getParameterSubstitutions()
Returns the value of the 'Parameter Substitution' containment reference list. The list contents are of type 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.

Returns:
the value of the 'Parameter Substitution' containment reference list.
See Also:
UML2Package.getTemplateBinding_ParameterSubstitution(), TemplateParameterSubstitution.getTemplateBinding()

createParameterSubstitution

public TemplateParameterSubstitution createParameterSubstitution(EClass eClass)
Creates a TemplateParameterSubstitution and appends it to the 'Parameter Substitution' containment reference list.

Parameters:
eClass - The Ecore class of the TemplateParameterSubstitution to create.
Returns:
The new TemplateParameterSubstitution.
See Also:
getParameterSubstitutions()

getOwner

public Element getOwner()

Specified by:
getOwner in interface Element
Returns:
the value of the 'Owner' reference.
See Also:
UML2Package.getElement_Owner(), Element.getOwnedElements()

getSources

public EList getSources()

Specified by:
getSources in interface DirectedRelationship
Returns:
the value of the 'Source' reference list.
See Also:
UML2Package.getDirectedRelationship_Source()

getTargets

public EList getTargets()

Specified by:
getTargets in interface DirectedRelationship
Returns:
the value of the 'Target' reference list.
See Also:
UML2Package.getDirectedRelationship_Target()

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Element
Returns:
the value of the 'Owned Element' reference list.
See Also:
UML2Package.getElement_OwnedElement(), Element.getOwner()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.