org.eclipse.xtext.xbase
Interface XVariableDeclaration

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmIdentifiableElement, org.eclipse.emf.common.notify.Notifier, XExpression
All Known Implementing Classes:
XVariableDeclarationImpl, XVariableDeclarationImplCustom

public interface XVariableDeclaration
extends XExpression, JvmIdentifiableElement

A representation of the model object 'XVariable Declaration'.

The following features are supported:

See Also:
XbasePackage.getXVariableDeclaration()
EMF generated code
EMF model element

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 XExpression getRight()
          Returns the value of the 'Right' containment reference
 JvmTypeReference getType()
          Returns the value of the 'Type' containment reference
 boolean isWriteable()
          Returns the value of the 'Writeable' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setRight(XExpression value)
          Sets the value of the 'Right' containment reference
 void setType(JvmTypeReference value)
          Sets the value of the 'Type' containment reference
 void setWriteable(boolean value)
          Sets the value of the 'Writeable' attribute
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getIdentifier, getQualifiedName, getQualifiedName, getSimpleName
 
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
 

Method Detail

getType

JvmTypeReference getType()
Returns the value of the 'Type' containment reference.

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

Returns:
the value of the 'Type' containment reference.
See Also:
setType(JvmTypeReference), XbasePackage.getXVariableDeclaration_Type()
EMF generated code
EMF model element
containment="true"

setType

void setType(JvmTypeReference value)
Sets the value of the 'Type' containment reference.

Parameters:
value - the new value of the 'Type' containment reference.
See Also:
getType()
EMF generated code

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), XbasePackage.getXVariableDeclaration_Name()
EMF generated code
EMF model element

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()
EMF generated code

getRight

XExpression getRight()
Returns the value of the 'Right' containment reference.

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

Returns:
the value of the 'Right' containment reference.
See Also:
setRight(XExpression), XbasePackage.getXVariableDeclaration_Right()
EMF generated code
EMF model element
containment="true"

setRight

void setRight(XExpression value)
Sets the value of the 'Right' containment reference.

Parameters:
value - the new value of the 'Right' containment reference.
See Also:
getRight()
EMF generated code

isWriteable

boolean isWriteable()
Returns the value of the 'Writeable' attribute.

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

Returns:
the value of the 'Writeable' attribute.
See Also:
setWriteable(boolean), XbasePackage.getXVariableDeclaration_Writeable()
EMF generated code
EMF model element

setWriteable

void setWriteable(boolean value)
Sets the value of the 'Writeable' attribute.

Parameters:
value - the new value of the 'Writeable' attribute.
See Also:
isWriteable()
EMF generated code