org.eclipse.mtl.cst
Interface Query

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

public interface Query
extends ModuleElement

A representation of the model object 'Query'.

The following features are supported:

See Also:
CstPackage.getQuery()

Method Summary
 ModelExpression getExpression()
          Returns the value of the 'Expression' containment reference.
 org.eclipse.emf.common.util.EList<Variable> getParameter()
          Returns the value of the 'Parameter' containment reference list.
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
 void setExpression(ModelExpression value)
          Sets the value of the 'Expression' containment reference.
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface org.eclipse.mtl.cst.ModuleElement
getName, getVisibility, setName, setVisibility
 
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
 

Method Detail

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.getQuery_Parameter()

getType

java.lang.String getType()
Returns the value of the 'Type' attribute.

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

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), CstPackage.getQuery_Type()

setType

void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

getExpression

ModelExpression getExpression()
Returns the value of the 'Expression' containment reference.

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

Returns:
the value of the 'Expression' containment reference.
See Also:
setExpression(ModelExpression), CstPackage.getQuery_Expression()

setExpression

void setExpression(ModelExpression value)
Sets the value of the 'Expression' containment reference.

Parameters:
value - the new value of the 'Expression' containment reference.
See Also:
getExpression()

Copyright 2008 Obeo
All Rights Reserved.