Package ca.ubc.stat.blang.blangDsl
Interface VariableDeclaration
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
VariableDeclarationImpl
public interface VariableDeclaration
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Variable Declaration'.
The following features are supported:
- See Also:
BlangDslPackage.getVariableDeclaration()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>
getAnnotations()
Returns the value of the 'Annotations' containment reference list.org.eclipse.emf.common.util.EList<VariableDeclarationComponent>
getComponents()
Returns the value of the 'Components' containment reference list.org.eclipse.xtext.common.types.JvmTypeReference
getType()
Returns the value of the 'Type' containment reference.VariableType
getVariableType()
Returns the value of the 'Variable Type' attribute.void
setType(org.eclipse.xtext.common.types.JvmTypeReference value)
Sets the value of the 'Type
' containment reference.void
setVariableType(VariableType value)
Sets the value of the 'Variable Type
' 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
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getAnnotations
org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> getAnnotations()Returns the value of the 'Annotations' containment reference list. The list contents are of typeXAnnotation
.- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
BlangDslPackage.getVariableDeclaration_Annotations()
-
getVariableType
VariableType getVariableType()Returns the value of the 'Variable Type' attribute. The literals are from the enumerationVariableType
.- Returns:
- the value of the 'Variable Type' attribute.
- See Also:
VariableType
,setVariableType(VariableType)
,BlangDslPackage.getVariableDeclaration_VariableType()
-
setVariableType
Sets the value of the 'Variable Type
' attribute.- Parameters:
value
- the new value of the 'Variable Type' attribute.- See Also:
VariableType
,getVariableType()
-
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)
,BlangDslPackage.getVariableDeclaration_Type()
-
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()
-
getComponents
org.eclipse.emf.common.util.EList<VariableDeclarationComponent> getComponents()Returns the value of the 'Components' containment reference list. The list contents are of typeVariableDeclarationComponent
.- Returns:
- the value of the 'Components' containment reference list.
- See Also:
BlangDslPackage.getVariableDeclaration_Components()
-