org.eclipse.ocl.examples.pivot
Interface TemplateParameter

All Superinterfaces:
DomainElement, DomainTemplateParameter, Element, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Subinterfaces:
OperationTemplateParameter, TypeTemplateParameter
All Known Implementing Classes:
OperationTemplateParameterImpl, TemplateParameterImpl, TypeTemplateParameterImpl

public interface TemplateParameter
extends Element, DomainTemplateParameter

A representation of the model object 'Template Parameter'.

See Also:
PivotPackage.getTemplateParameter()
Extends:
org.eclipse.ocl.examples.domain.elements.DomainTemplateParameter A template parameter exposes a parameterable element as a formal template parameter of a template.

The following features are supported:

Generated

Method Summary
 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.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTemplateParameter
getElementId
 

Method Detail

getSignature

TemplateSignature getSignature()
Returns the value of the 'Signature' container reference. It is bidirectional and its opposite is 'Owned Parameter'. The template signature that owns this template parameter.

Returns:
the value of the 'Signature' container reference.
See Also:
setSignature(TemplateSignature), PivotPackage.getTemplateParameter_Signature(), TemplateSignature.getOwnedParameter()
Generated

setSignature

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

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

getOwnedParameteredElement

ParameterableElement getOwnedParameteredElement()
Returns the value of the 'Owned Parametered Element' containment reference. It is bidirectional and its opposite is 'Owning Template Parameter'.

This feature subsets the following features:

The element that is owned by this template parameter.

Returns:
the value of the 'Owned Parametered Element' containment reference.
See Also:
setOwnedParameteredElement(ParameterableElement), PivotPackage.getTemplateParameter_OwnedParameteredElement(), ParameterableElement.getOwningTemplateParameter()
Generated

setOwnedParameteredElement

void setOwnedParameteredElement(ParameterableElement value)
Sets the value of the 'Owned Parametered Element' containment reference.

Parameters:
value - the new value of the 'Owned Parametered Element' containment reference.
See Also:
getOwnedParameteredElement()
Generated

getDefault

ParameterableElement getDefault()
Returns the value of the 'Default' reference. The element that is the default for this formal template parameter.

Returns:
the value of the 'Default' reference.
See Also:
setDefault(ParameterableElement), PivotPackage.getTemplateParameter_Default()
Generated

setDefault

void setDefault(ParameterableElement value)
Sets the value of the 'Default' reference.

Parameters:
value - the new value of the 'Default' reference.
See Also:
getDefault()
Generated

getOwnedDefault

ParameterableElement getOwnedDefault()
Returns the value of the 'Owned Default' containment reference.

This feature subsets the following features:

The element that is owned by this template parameter for the purpose of providing a default.

Returns:
the value of the 'Owned Default' containment reference.
See Also:
setOwnedDefault(ParameterableElement), PivotPackage.getTemplateParameter_OwnedDefault()
Generated

setOwnedDefault

void setOwnedDefault(ParameterableElement value)
Sets the value of the 'Owned Default' containment reference.

Parameters:
value - the new value of the 'Owned Default' containment reference.
See Also:
getOwnedDefault()
Generated

getParameteredElement

ParameterableElement getParameteredElement()
Returns the value of the 'Parametered Element' reference. It is bidirectional and its opposite is 'Template Parameter'. The element exposed by this template parameter.

Returns:
the value of the 'Parametered Element' reference.
See Also:
setParameteredElement(ParameterableElement), PivotPackage.getTemplateParameter_ParameteredElement(), ParameterableElement.getTemplateParameter()
Generated

setParameteredElement

void setParameteredElement(ParameterableElement value)
Sets the value of the 'Parametered Element' reference.

Parameters:
value - the new value of the 'Parametered Element' reference.
See Also:
getParameteredElement()
Generated