Package ca.ubc.stat.blang.blangDsl.impl
Class VariableDeclarationImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
ca.ubc.stat.blang.blangDsl.impl.VariableDeclarationImpl
- All Implemented Interfaces:
VariableDeclaration
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class VariableDeclarationImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements VariableDeclaration
An implementation of the model object 'Variable Declaration'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>
annotations
The cached value of the 'Annotations
' containment reference list.protected org.eclipse.emf.common.util.EList<VariableDeclarationComponent>
components
The cached value of the 'Components
' containment reference list.protected org.eclipse.xtext.common.types.JvmTypeReference
type
The cached value of the 'Type
' containment reference.protected static VariableType
VARIABLE_TYPE_EDEFAULT
The default value of the 'Variable Type
' attribute.protected VariableType
variableType
The cached value of the 'Variable Type
' attribute.Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors Modifier Constructor Description protected
VariableDeclarationImpl()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetType(org.eclipse.xtext.common.types.JvmTypeReference newType, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation>
getAnnotations()
org.eclipse.emf.common.util.EList<VariableDeclarationComponent>
getComponents()
org.eclipse.xtext.common.types.JvmTypeReference
getType()
VariableType
getVariableType()
void
setType(org.eclipse.xtext.common.types.JvmTypeReference newType)
void
setVariableType(VariableType newVariableType)
java.lang.String
toString()
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
annotations
protected org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> annotationsThe cached value of the 'Annotations
' containment reference list.- See Also:
getAnnotations()
-
VARIABLE_TYPE_EDEFAULT
The default value of the 'Variable Type
' attribute.- See Also:
getVariableType()
-
variableType
The cached value of the 'Variable Type
' attribute.- See Also:
getVariableType()
-
type
protected org.eclipse.xtext.common.types.JvmTypeReference typeThe cached value of the 'Type
' containment reference.- See Also:
getType()
-
components
The cached value of the 'Components
' containment reference list.- See Also:
getComponents()
-
-
Constructor Details
-
VariableDeclarationImpl
protected VariableDeclarationImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getAnnotations
public org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> getAnnotations()- Specified by:
getAnnotations
in interfaceVariableDeclaration
- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
BlangDslPackage.getVariableDeclaration_Annotations()
-
getVariableType
- Specified by:
getVariableType
in interfaceVariableDeclaration
- Returns:
- the value of the 'Variable Type' attribute.
- See Also:
VariableType
,VariableDeclaration.setVariableType(VariableType)
,BlangDslPackage.getVariableDeclaration_VariableType()
-
setVariableType
- Specified by:
setVariableType
in interfaceVariableDeclaration
- Parameters:
newVariableType
- the new value of the 'Variable Type' attribute.- See Also:
VariableType
,VariableDeclaration.getVariableType()
-
getType
public org.eclipse.xtext.common.types.JvmTypeReference getType()- Specified by:
getType
in interfaceVariableDeclaration
- Returns:
- the value of the 'Type' containment reference.
- See Also:
VariableDeclaration.setType(JvmTypeReference)
,BlangDslPackage.getVariableDeclaration_Type()
-
basicSetType
public org.eclipse.emf.common.notify.NotificationChain basicSetType(org.eclipse.xtext.common.types.JvmTypeReference newType, org.eclipse.emf.common.notify.NotificationChain msgs) -
setType
public void setType(org.eclipse.xtext.common.types.JvmTypeReference newType)- Specified by:
setType
in interfaceVariableDeclaration
- Parameters:
newType
- the new value of the 'Type' containment reference.- See Also:
VariableDeclaration.getType()
-
getComponents
- Specified by:
getComponents
in interfaceVariableDeclaration
- Returns:
- the value of the 'Components' containment reference list.
- See Also:
BlangDslPackage.getVariableDeclaration_Components()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-