org.eclipse.mtl.cst
Interface Variable

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

public interface Variable
extends CSTNode

A representation of the model object 'Variable'.

The following features are supported:

See Also:
CstPackage.getVariable()

Method Summary
 ModelExpression getInitExpression()
          Returns the value of the 'Init Expression' containment reference.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
 void setInitExpression(ModelExpression value)
          Sets the value of the 'Init Expression' containment reference.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute.
 
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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), CstPackage.getVariable_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getType

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

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

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), CstPackage.getVariable_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()

getInitExpression

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

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

Returns:
the value of the 'Init Expression' containment reference.
See Also:
setInitExpression(ModelExpression), CstPackage.getVariable_InitExpression()

setInitExpression

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

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

Copyright 2008 Obeo
All Rights Reserved.