Package org.eclipse.xtext.xbase
Interface XVariableDeclaration
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.xtext.common.types.JvmIdentifiableElement,org.eclipse.emf.common.notify.Notifier,XExpression
- All Known Implementing Classes:
XVariableDeclarationImpl,XVariableDeclarationImplCustom
public interface XVariableDeclaration extends XExpression, org.eclipse.xtext.common.types.JvmIdentifiableElement
A representation of the model object 'XVariable Declaration'.- Since:
- 2.7
- See Also:
XbasePackage.getXVariableDeclaration()- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Returns the value of the 'Name' attribute.XExpressiongetRight()Returns the value of the 'Right' containment reference.org.eclipse.xtext.common.types.JvmTypeReferencegetType()Returns the value of the 'Type' containment reference.booleanisWriteable()Returns the value of the 'Writeable' attribute.voidsetName(java.lang.String value)Sets the value of the 'Name' attribute.voidsetRight(XExpression value)Sets the value of the 'Right' containment reference.voidsetType(org.eclipse.xtext.common.types.JvmTypeReference value)Sets the value of the 'Type' containment reference.voidsetWriteable(boolean value)Sets the value of the 'Writeable' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
-
-
-
Method Detail
-
getType
org.eclipse.xtext.common.types.JvmTypeReference getType()
Returns the value of the 'Type' containment reference.- Returns:
- the value of the 'Type' containment reference.
- See Also:
setType(JvmTypeReference),XbasePackage.getXVariableDeclaration_Type()- Model:
- containment="true"
- Generated:
-
setType
void setType(org.eclipse.xtext.common.types.JvmTypeReference value)
Sets the value of the 'Type' containment reference.- Parameters:
value- the new value of the 'Type' containment reference.- See Also:
getType()- Generated:
-
getName
java.lang.String getName()
Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),XbasePackage.getXVariableDeclaration_Name()- Model:
- Generated:
-
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()- Generated:
-
getRight
XExpression getRight()
Returns the value of the 'Right' containment reference.- Returns:
- the value of the 'Right' containment reference.
- See Also:
setRight(XExpression),XbasePackage.getXVariableDeclaration_Right()- Model:
- containment="true"
- Generated:
-
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()- Generated:
-
isWriteable
boolean isWriteable()
Returns the value of the 'Writeable' attribute.- Returns:
- the value of the 'Writeable' attribute.
- See Also:
setWriteable(boolean),XbasePackage.getXVariableDeclaration_Writeable()- Model:
- Generated:
-
setWriteable
void setWriteable(boolean value)
Sets the value of the 'Writeable' attribute.- Parameters:
value- the new value of the 'Writeable' attribute.- See Also:
isWriteable()- Generated:
-
-