Class VariableDeclaration

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
org.eclipse.m2m.atl.common.ATL.LocatedElement
org.eclipse.m2m.atl.common.OCL.VariableDeclaration
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
Iterator, Parameter, PatternElement, RuleVariableDeclaration, TuplePart

public class VariableDeclaration extends LocatedElement
A representation of the model object 'Variable Declaration'.

The following features are supported:

See Also:
  • 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 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 String
    The cached value of the 'Id' attribute.
    protected static final String
    The default value of the 'Id' attribute.
    protected OclExpression
    The cached value of the 'Init Expression' containment reference.
    protected OclType
    The cached value of the 'Type' containment reference.
    protected static final String
    The default value of the 'Var Name' attribute.
    protected org.eclipse.emf.common.util.EList<VariableExp>
    The cached value of the 'Variable Exp' reference list.
    protected String
    The cached value of the 'Var Name' attribute.

    Fields inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement

    commentsAfter, commentsBefore, location, LOCATION_EDEFAULT

    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
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.common.notify.NotificationChain
    basicSetBaseExp(IterateExp newBaseExp, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetInitExpression(OclExpression newInitExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetLetExp(LetExp newLetExp, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetType(OclType newType, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
    eGet(int featureID, boolean resolve, boolean coreType)
    org.eclipse.emf.common.notify.NotificationChain
    eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    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, Object newValue)
    protected org.eclipse.emf.ecore.EClass
    void
    eUnset(int featureID)
    Returns the value of the 'Base Exp' container reference.
    Returns the value of the 'Id' attribute.
    Returns the value of the 'Init Expression' containment reference.
    Returns the value of the 'Let Exp' container reference.
    Returns the value of the 'Type' containment reference.
    org.eclipse.emf.common.util.EList<VariableExp>
    Returns the value of the 'Variable Exp' reference list.
    Returns the value of the 'Var Name' attribute.
    void
    setBaseExp(IterateExp newBaseExp)
    Sets the value of the 'Base Exp' container reference.
    void
    setId(String newId)
    Sets the value of the 'Id' attribute.
    void
    setInitExpression(OclExpression newInitExpression)
    Sets the value of the 'Init Expression' containment reference.
    void
    setLetExp(LetExp newLetExp)
    Sets the value of the 'Let Exp' container reference.
    void
    setType(OclType newType)
    Sets the value of the 'Type' containment reference.
    void
    setVarName(String newVarName)
    Sets the value of the 'Var Name' attribute.

    Methods inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement

    getCommentsAfter, getCommentsBefore, getLocation, setLocation

    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, 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, 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

  • Constructor Details

    • VariableDeclaration

      protected VariableDeclaration()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class LocatedElement
    • getId

      public String getId()
      Returns the value of the 'Id' attribute.

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

      Returns:
      the value of the 'Id' attribute.
      See Also:
    • setId

      public void setId(String newId)
      Sets the value of the 'Id' attribute.
      Parameters:
      value - the new value of the 'Id' attribute.
      See Also:
    • getVarName

      public String getVarName()
      Returns the value of the 'Var Name' attribute.

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

      Returns:
      the value of the 'Var Name' attribute.
      See Also:
    • setVarName

      public void setVarName(String newVarName)
      Sets the value of the 'Var Name' attribute.
      Parameters:
      value - the new value of the 'Var Name' attribute.
      See Also:
    • getType

      public OclType getType()
      Returns the value of the 'Type' containment reference. It is bidirectional and its opposite is 'Variable Declaration'.

      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:
    • basicSetType

      public org.eclipse.emf.common.notify.NotificationChain basicSetType(OclType newType, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setType

      public void setType(OclType newType)
      Sets the value of the 'Type' containment reference.
      Parameters:
      value - the new value of the 'Type' containment reference.
      See Also:
    • getInitExpression

      public OclExpression getInitExpression()
      Returns the value of the 'Init Expression' containment reference. It is bidirectional and its opposite is 'Initialized Variable'.

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

      Returns:
      the value of the 'Init Expression' containment reference.
      See Also:
    • basicSetInitExpression

      public org.eclipse.emf.common.notify.NotificationChain basicSetInitExpression(OclExpression newInitExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setInitExpression

      public void setInitExpression(OclExpression newInitExpression)
      Sets the value of the 'Init Expression' containment reference.
      Parameters:
      value - the new value of the 'Init Expression' containment reference.
      See Also:
    • getLetExp

      public LetExp getLetExp()
      Returns the value of the 'Let Exp' container reference. It is bidirectional and its opposite is 'Variable'.

      If the meaning of the 'Let Exp' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Let Exp' container reference.
      See Also:
    • basicSetLetExp

      public org.eclipse.emf.common.notify.NotificationChain basicSetLetExp(LetExp newLetExp, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setLetExp

      public void setLetExp(LetExp newLetExp)
      Sets the value of the 'Let Exp' container reference.
      Parameters:
      value - the new value of the 'Let Exp' container reference.
      See Also:
    • getBaseExp

      public IterateExp getBaseExp()
      Returns the value of the 'Base Exp' container reference. It is bidirectional and its opposite is 'Result'.

      If the meaning of the 'Base Exp' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Base Exp' container reference.
      See Also:
    • basicSetBaseExp

      public org.eclipse.emf.common.notify.NotificationChain basicSetBaseExp(IterateExp newBaseExp, org.eclipse.emf.common.notify.NotificationChain msgs)
    • setBaseExp

      public void setBaseExp(IterateExp newBaseExp)
      Sets the value of the 'Base Exp' container reference.
      Parameters:
      value - the new value of the 'Base Exp' container reference.
      See Also:
    • getVariableExp

      public org.eclipse.emf.common.util.EList<VariableExp> getVariableExp()
      Returns the value of the 'Variable Exp' reference list. The list contents are of type VariableExp. It is bidirectional and its opposite is 'Referred Variable'.

      If the meaning of the 'Variable Exp' reference list isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Variable Exp' reference list.
      See Also:
    • eInverseAdd

      public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • 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
    • eBasicRemoveFromContainerFeature

      public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eGet

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

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

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

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

      public String toString()
      Overrides:
      toString in class LocatedElement