org.eclipse.mtl.cst
Interface Template

All Superinterfaces:
Block, CSTNode, org.eclipse.emf.ecore.EObject, ModuleElement, org.eclipse.emf.common.notify.Notifier, TemplateExpression
All Known Implementing Classes:
TemplateImpl

public interface Template
extends Block, ModuleElement

A representation of the model object 'Template'.

The following features are supported:

See Also:
CstPackage.getTemplate()

Method Summary
 ModelExpression getGuard()
          Returns the value of the 'Guard' containment reference.
 org.eclipse.emf.common.util.EList<TemplateOverridesValue> getOverrides()
          Returns the value of the 'Overrides' containment reference list.
 org.eclipse.emf.common.util.EList<Variable> getParameter()
          Returns the value of the 'Parameter' containment reference list.
 void setGuard(ModelExpression value)
          Sets the value of the 'Guard' containment reference.
 
Methods inherited from interface org.eclipse.mtl.cst.Block
getBody, getInit, setInit
 
Methods inherited from interface org.eclipse.mtl.cst.CSTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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
 
Methods inherited from interface org.eclipse.mtl.cst.ModuleElement
getName, getVisibility, setName, setVisibility
 

Method Detail

getOverrides

org.eclipse.emf.common.util.EList<TemplateOverridesValue> getOverrides()
Returns the value of the 'Overrides' containment reference list. The list contents are of type TemplateOverridesValue.

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

Returns:
the value of the 'Overrides' containment reference list.
See Also:
CstPackage.getTemplate_Overrides()

getParameter

org.eclipse.emf.common.util.EList<Variable> getParameter()
Returns the value of the 'Parameter' containment reference list. The list contents are of type Variable.

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

Returns:
the value of the 'Parameter' containment reference list.
See Also:
CstPackage.getTemplate_Parameter()

getGuard

ModelExpression getGuard()
Returns the value of the 'Guard' containment reference.

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

Returns:
the value of the 'Guard' containment reference.
See Also:
setGuard(ModelExpression), CstPackage.getTemplate_Guard()

setGuard

void setGuard(ModelExpression value)
Sets the value of the 'Guard' containment reference.

Parameters:
value - the new value of the 'Guard' containment reference.
See Also:
getGuard()

Copyright 2008 Obeo
All Rights Reserved.