org.eclipse.uml2
Interface TemplateParameterSubstitution

All Superinterfaces:
Element, EModelElement, EObject, Notifier

public interface TemplateParameterSubstitution
extends Element

A representation of the model object 'Template Parameter Substitution'. TemplateParameterSubstitution associates one or more actual parameters with a formal template parameter within the context of a TemplateBinding.

The following features are supported:

See Also:
UML2Package.getTemplateParameterSubstitution()

Field Summary
static String copyright
           
 
Method Summary
 ParameterableElement createOwnedActual(EClass eClass)
          Creates a ParameterableElement and appends it to the 'Owned Actual' containment reference list
 EList getActuals()
          Returns the value of the 'Actual' reference list.
 TemplateParameter getFormal()
          Returns the value of the 'Formal' reference
 EList getOwnedActuals()
          Returns the value of the 'Owned Actual' containment reference list.
 EList getOwnedElements()
           
 Element getOwner()
           
 TemplateBinding getTemplateBinding()
          Returns the value of the 'Template Binding' container reference.
 void setFormal(TemplateParameter value)
          Sets the value of the 'Formal' reference
 void setTemplateBinding(TemplateBinding value)
          Sets the value of the 'Template Binding' container reference
 
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

getFormal

public TemplateParameter getFormal()
Returns the value of the 'Formal' reference.

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

The formal template parameter that is associated with this substitution.

Returns:
the value of the 'Formal' reference.
See Also:
setFormal(TemplateParameter), UML2Package.getTemplateParameterSubstitution_Formal()

setFormal

public void setFormal(TemplateParameter value)
Sets the value of the 'Formal' reference.

Parameters:
value - the new value of the 'Formal' reference.
See Also:
getFormal()

getTemplateBinding

public TemplateBinding getTemplateBinding()
Returns the value of the 'Template Binding' container reference. It is bidirectional and its opposite is 'Parameter Substitution'.

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

Returns:
the value of the 'Template Binding' container reference.
See Also:
setTemplateBinding(TemplateBinding), UML2Package.getTemplateParameterSubstitution_TemplateBinding(), TemplateBinding.getParameterSubstitutions()

setTemplateBinding

public void setTemplateBinding(TemplateBinding value)
Sets the value of the 'Template Binding' container reference.

Parameters:
value - the new value of the 'Template Binding' container reference.
See Also:
getTemplateBinding()

getActuals

public EList getActuals()
Returns the value of the 'Actual' reference list. The list contents are of type ParameterableElement.

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

elements that are the actual parameters for this substitution.

Returns:
the value of the 'Actual' reference list.
See Also:
UML2Package.getTemplateParameterSubstitution_Actual()

getOwnedActuals

public EList getOwnedActuals()
Returns the value of the 'Owned Actual' containment reference list. The list contents are of type ParameterableElement.

If the meaning of the 'Owned Actual' containment reference list isn't clear, there really should be more of a description here...

The actual parameters that are owned by this substitution. Subsets Element:: ownedElement and actual.

Returns:
the value of the 'Owned Actual' containment reference list.
See Also:
UML2Package.getTemplateParameterSubstitution_OwnedActual()

createOwnedActual

public ParameterableElement createOwnedActual(EClass eClass)
Creates a ParameterableElement and appends it to the 'Owned Actual' containment reference list.

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

getOwner

public Element getOwner()

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

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.