Class BlangModelImpl

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.BlangModelImpl
All Implemented Interfaces:
BlangModel, 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 BlangModelImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements BlangModel
An implementation of the model object 'Blang Model'.

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 static java.lang.String GENERATION_RANDOM_EDEFAULT
    The default value of the 'Generation Random' attribute.
    protected org.eclipse.xtext.xbase.XExpression generationAlgorithm
    The cached value of the 'Generation Algorithm' containment reference.
    protected java.lang.String generationRandom
    The cached value of the 'Generation Random' attribute.
    protected org.eclipse.xtext.xtype.XImportSection importSection
    The cached value of the 'Import Section' containment reference.
    protected org.eclipse.emf.common.util.EList<LawNode> lawNodes
    The cached value of the 'Law Nodes' containment reference list.
    protected java.lang.String name
    The cached value of the 'Name' attribute.
    protected static java.lang.String NAME_EDEFAULT
    The default value of the 'Name' attribute.
    protected java.lang.String package_
    The cached value of the 'Package' attribute.
    protected static java.lang.String PACKAGE_EDEFAULT
    The default value of the 'Package' attribute.
    protected org.eclipse.emf.common.util.EList<VariableDeclaration> variableDeclarations
    The cached value of the 'Variable Declarations' containment reference list.

    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 BlangModelImpl()
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.common.notify.NotificationChain basicSetGenerationAlgorithm​(org.eclipse.xtext.xbase.XExpression newGenerationAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain basicSetImportSection​(org.eclipse.xtext.xtype.XImportSection newImportSection, 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.xtext.xbase.XExpression getGenerationAlgorithm()
    java.lang.String getGenerationRandom()
    org.eclipse.xtext.xtype.XImportSection getImportSection()
    org.eclipse.emf.common.util.EList<LawNode> getLawNodes()
    java.lang.String getName()
    java.lang.String getPackage()
    org.eclipse.emf.common.util.EList<VariableDeclaration> getVariableDeclarations()
    void setGenerationAlgorithm​(org.eclipse.xtext.xbase.XExpression newGenerationAlgorithm)
    void setGenerationRandom​(java.lang.String newGenerationRandom)
    void setImportSection​(org.eclipse.xtext.xtype.XImportSection newImportSection)
    void setName​(java.lang.String newName)
    void setPackage​(java.lang.String newPackage)
    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

    • PACKAGE_EDEFAULT

      protected static final java.lang.String PACKAGE_EDEFAULT
      The default value of the 'Package' attribute.
      See Also:
      getPackage()
    • package_

      protected java.lang.String package_
      The cached value of the 'Package' attribute.
      See Also:
      getPackage()
    • importSection

      protected org.eclipse.xtext.xtype.XImportSection importSection
      The cached value of the 'Import Section' containment reference.
      See Also:
      getImportSection()
    • annotations

      protected org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> annotations
      The cached value of the 'Annotations' containment reference list.
      See Also:
      getAnnotations()
    • NAME_EDEFAULT

      protected static final java.lang.String NAME_EDEFAULT
      The default value of the 'Name' attribute.
      See Also:
      getName()
    • name

      protected java.lang.String name
      The cached value of the 'Name' attribute.
      See Also:
      getName()
    • variableDeclarations

      protected org.eclipse.emf.common.util.EList<VariableDeclaration> variableDeclarations
      The cached value of the 'Variable Declarations' containment reference list.
      See Also:
      getVariableDeclarations()
    • lawNodes

      protected org.eclipse.emf.common.util.EList<LawNode> lawNodes
      The cached value of the 'Law Nodes' containment reference list.
      See Also:
      getLawNodes()
    • GENERATION_RANDOM_EDEFAULT

      protected static final java.lang.String GENERATION_RANDOM_EDEFAULT
      The default value of the 'Generation Random' attribute.
      See Also:
      getGenerationRandom()
    • generationRandom

      protected java.lang.String generationRandom
      The cached value of the 'Generation Random' attribute.
      See Also:
      getGenerationRandom()
    • generationAlgorithm

      protected org.eclipse.xtext.xbase.XExpression generationAlgorithm
      The cached value of the 'Generation Algorithm' containment reference.
      See Also:
      getGenerationAlgorithm()
  • Constructor Details

    • BlangModelImpl

      protected BlangModelImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • getPackage

      public java.lang.String getPackage()
      Specified by:
      getPackage in interface BlangModel
      Returns:
      the value of the 'Package' attribute.
      See Also:
      BlangModel.setPackage(String), BlangDslPackage.getBlangModel_Package()
    • setPackage

      public void setPackage​(java.lang.String newPackage)
      Specified by:
      setPackage in interface BlangModel
      Parameters:
      newPackage - the new value of the 'Package' attribute.
      See Also:
      BlangModel.getPackage()
    • getImportSection

      public org.eclipse.xtext.xtype.XImportSection getImportSection()
      Specified by:
      getImportSection in interface BlangModel
      Returns:
      the value of the 'Import Section' containment reference.
      See Also:
      BlangModel.setImportSection(XImportSection), BlangDslPackage.getBlangModel_ImportSection()
    • basicSetImportSection

      public org.eclipse.emf.common.notify.NotificationChain basicSetImportSection​(org.eclipse.xtext.xtype.XImportSection newImportSection, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setImportSection

      public void setImportSection​(org.eclipse.xtext.xtype.XImportSection newImportSection)
      Specified by:
      setImportSection in interface BlangModel
      Parameters:
      newImportSection - the new value of the 'Import Section' containment reference.
      See Also:
      BlangModel.getImportSection()
    • getAnnotations

      public org.eclipse.emf.common.util.EList<org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation> getAnnotations()
      Specified by:
      getAnnotations in interface BlangModel
      Returns:
      the value of the 'Annotations' containment reference list.
      See Also:
      BlangDslPackage.getBlangModel_Annotations()
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface BlangModel
      Returns:
      the value of the 'Name' attribute.
      See Also:
      BlangModel.setName(String), BlangDslPackage.getBlangModel_Name()
    • setName

      public void setName​(java.lang.String newName)
      Specified by:
      setName in interface BlangModel
      Parameters:
      newName - the new value of the 'Name' attribute.
      See Also:
      BlangModel.getName()
    • getVariableDeclarations

      public org.eclipse.emf.common.util.EList<VariableDeclaration> getVariableDeclarations()
      Specified by:
      getVariableDeclarations in interface BlangModel
      Returns:
      the value of the 'Variable Declarations' containment reference list.
      See Also:
      BlangDslPackage.getBlangModel_VariableDeclarations()
    • getLawNodes

      public org.eclipse.emf.common.util.EList<LawNode> getLawNodes()
      Specified by:
      getLawNodes in interface BlangModel
      Returns:
      the value of the 'Law Nodes' containment reference list.
      See Also:
      BlangDslPackage.getBlangModel_LawNodes()
    • getGenerationRandom

      public java.lang.String getGenerationRandom()
      Specified by:
      getGenerationRandom in interface BlangModel
      Returns:
      the value of the 'Generation Random' attribute.
      See Also:
      BlangModel.setGenerationRandom(String), BlangDslPackage.getBlangModel_GenerationRandom()
    • setGenerationRandom

      public void setGenerationRandom​(java.lang.String newGenerationRandom)
      Specified by:
      setGenerationRandom in interface BlangModel
      Parameters:
      newGenerationRandom - the new value of the 'Generation Random' attribute.
      See Also:
      BlangModel.getGenerationRandom()
    • getGenerationAlgorithm

      public org.eclipse.xtext.xbase.XExpression getGenerationAlgorithm()
      Specified by:
      getGenerationAlgorithm in interface BlangModel
      Returns:
      the value of the 'Generation Algorithm' containment reference.
      See Also:
      BlangModel.setGenerationAlgorithm(XExpression), BlangDslPackage.getBlangModel_GenerationAlgorithm()
    • basicSetGenerationAlgorithm

      public org.eclipse.emf.common.notify.NotificationChain basicSetGenerationAlgorithm​(org.eclipse.xtext.xbase.XExpression newGenerationAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setGenerationAlgorithm

      public void setGenerationAlgorithm​(org.eclipse.xtext.xbase.XExpression newGenerationAlgorithm)
      Specified by:
      setGenerationAlgorithm in interface BlangModel
      Parameters:
      newGenerationAlgorithm - the new value of the 'Generation Algorithm' containment reference.
      See Also:
      BlangModel.getGenerationAlgorithm()
    • 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eGet

      public java.lang.Object eGet​(int featureID, boolean resolve, boolean coreType)
      Specified by:
      eGet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eSet

      public void eSet​(int featureID, java.lang.Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eUnset

      public void eUnset​(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eIsSet

      public boolean eIsSet​(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl