org.sintef.mofscript.MOFScriptModel.impl
Class IteratorStatementImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
                  extended by org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
                      extended by org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementImpl
                          extended by org.sintef.mofscript.MOFScriptModel.impl.IteratorStatementImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, IteratorStatement, MOFScriptObject, MOFScriptStatement, MOFScriptStatementOwner

public class IteratorStatementImpl
extends MOFScriptStatementImpl
implements IteratorStatement

An implementation of the model object 'Iterator Statement'.

The following features are implemented:


Nested Class Summary
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  ValueExpression after
          The cached value of the 'After' containment reference
protected  ValueExpression before
          The cached value of the 'Before' containment reference
protected  ValueExpression between
          The cached value of the 'Between' containment reference
protected  LogicalExpression filterExpression
          The cached value of the 'Filter Expression' containment reference
protected  SimpleExpression source
          The cached value of the 'Source' containment reference
protected  java.lang.String type
          The cached value of the 'Type' attribute
protected static java.lang.String TYPE_EDEFAULT
          The default value of the 'Type' attribute
protected  java.lang.String variable
          The cached value of the 'Variable' attribute
protected static java.lang.String VARIABLE_EDEFAULT
          The default value of the 'Variable' attribute
 
Fields inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
blocks, statements, variables
 
Fields inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
column, COLUMN_EDEFAULT, comment, line, LINE_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
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.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected IteratorStatementImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetAfter(ValueExpression newAfter, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetBefore(ValueExpression newBefore, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetBetween(ValueExpression newBetween, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetFilterExpression(LogicalExpression newFilterExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSource(SimpleExpression newSource, 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)
           
 ValueExpression getAfter()
           
 ValueExpression getBefore()
           
 ValueExpression getBetween()
           
 LogicalExpression getFilterExpression()
           
 SimpleExpression getSource()
           
 java.lang.String getType()
           
 java.lang.String getVariable()
           
 void setAfter(ValueExpression newAfter)
           
 void setBefore(ValueExpression newBefore)
           
 void setBetween(ValueExpression newBetween)
           
 void setFilterExpression(LogicalExpression newFilterExpression)
           
 void setSource(SimpleExpression newSource)
           
 void setType(java.lang.String newType)
           
 void setVariable(java.lang.String newVariable)
           
 java.lang.String toString()
           
 
Methods inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementImpl
basicSetOwner, eBasicRemoveFromContainerFeature, eInverseAdd, getOwner, setOwner
 
Methods inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
getBlocks, getStatements, getVariables
 
Methods inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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.sintef.mofscript.MOFScriptModel.MOFScriptStatement
getOwner, setOwner
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptStatementOwner
getBlocks, getStatements, getVariables
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

TYPE_EDEFAULT

protected static final java.lang.String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType(), Constant Field Values

type

protected java.lang.String type
The cached value of the 'Type' attribute.

See Also:
getType()

VARIABLE_EDEFAULT

protected static final java.lang.String VARIABLE_EDEFAULT
The default value of the 'Variable' attribute.

See Also:
getVariable(), Constant Field Values

variable

protected java.lang.String variable
The cached value of the 'Variable' attribute.

See Also:
getVariable()

filterExpression

protected LogicalExpression filterExpression
The cached value of the 'Filter Expression' containment reference.

See Also:
getFilterExpression()

source

protected SimpleExpression source
The cached value of the 'Source' containment reference.

See Also:
getSource()

before

protected ValueExpression before
The cached value of the 'Before' containment reference.

See Also:
getBefore()

between

protected ValueExpression between
The cached value of the 'Between' containment reference.

See Also:
getBetween()

after

protected ValueExpression after
The cached value of the 'After' containment reference.

See Also:
getAfter()
Constructor Detail

IteratorStatementImpl

protected IteratorStatementImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class MOFScriptStatementImpl

getType

public java.lang.String getType()

Specified by:
getType in interface IteratorStatement
Returns:
the value of the 'Type' attribute.
See Also:
IteratorStatement.setType(String), MOFScriptModelPackage.getIteratorStatement_Type()

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface IteratorStatement
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
IteratorStatement.getType()

getVariable

public java.lang.String getVariable()

Specified by:
getVariable in interface IteratorStatement
Returns:
the value of the 'Variable' attribute.
See Also:
IteratorStatement.setVariable(String), MOFScriptModelPackage.getIteratorStatement_Variable()

setVariable

public void setVariable(java.lang.String newVariable)

Specified by:
setVariable in interface IteratorStatement
Parameters:
newVariable - the new value of the 'Variable' attribute.
See Also:
IteratorStatement.getVariable()

getFilterExpression

public LogicalExpression getFilterExpression()

Specified by:
getFilterExpression in interface IteratorStatement
Returns:
the value of the 'Filter Expression' containment reference.
See Also:
IteratorStatement.setFilterExpression(LogicalExpression), MOFScriptModelPackage.getIteratorStatement_FilterExpression()

basicSetFilterExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetFilterExpression(LogicalExpression newFilterExpression,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setFilterExpression

public void setFilterExpression(LogicalExpression newFilterExpression)

Specified by:
setFilterExpression in interface IteratorStatement
Parameters:
newFilterExpression - the new value of the 'Filter Expression' containment reference.
See Also:
IteratorStatement.getFilterExpression()

getSource

public SimpleExpression getSource()

Specified by:
getSource in interface IteratorStatement
Returns:
the value of the 'Source' containment reference.
See Also:
IteratorStatement.setSource(SimpleExpression), MOFScriptModelPackage.getIteratorStatement_Source()

basicSetSource

public org.eclipse.emf.common.notify.NotificationChain basicSetSource(SimpleExpression newSource,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setSource

public void setSource(SimpleExpression newSource)

Specified by:
setSource in interface IteratorStatement
Parameters:
newSource - the new value of the 'Source' containment reference.
See Also:
IteratorStatement.getSource()

getBefore

public ValueExpression getBefore()

Specified by:
getBefore in interface IteratorStatement
Returns:
the value of the 'Before' containment reference.
See Also:
IteratorStatement.setBefore(ValueExpression), MOFScriptModelPackage.getIteratorStatement_Before()

basicSetBefore

public org.eclipse.emf.common.notify.NotificationChain basicSetBefore(ValueExpression newBefore,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setBefore

public void setBefore(ValueExpression newBefore)

Specified by:
setBefore in interface IteratorStatement
Parameters:
newBefore - the new value of the 'Before' containment reference.
See Also:
IteratorStatement.getBefore()

getBetween

public ValueExpression getBetween()

Specified by:
getBetween in interface IteratorStatement
Returns:
the value of the 'Between' containment reference.
See Also:
IteratorStatement.setBetween(ValueExpression), MOFScriptModelPackage.getIteratorStatement_Between()

basicSetBetween

public org.eclipse.emf.common.notify.NotificationChain basicSetBetween(ValueExpression newBetween,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setBetween

public void setBetween(ValueExpression newBetween)

Specified by:
setBetween in interface IteratorStatement
Parameters:
newBetween - the new value of the 'Between' containment reference.
See Also:
IteratorStatement.getBetween()

getAfter

public ValueExpression getAfter()

Specified by:
getAfter in interface IteratorStatement
Returns:
the value of the 'After' containment reference.
See Also:
IteratorStatement.setAfter(ValueExpression), MOFScriptModelPackage.getIteratorStatement_After()

basicSetAfter

public org.eclipse.emf.common.notify.NotificationChain basicSetAfter(ValueExpression newAfter,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setAfter

public void setAfter(ValueExpression newAfter)

Specified by:
setAfter in interface IteratorStatement
Parameters:
newAfter - the new value of the 'After' containment reference.
See Also:
IteratorStatement.getAfter()

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 MOFScriptStatementImpl

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 MOFScriptStatementImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class MOFScriptStatementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class MOFScriptStatementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class MOFScriptStatementImpl

toString

public java.lang.String toString()

Overrides:
toString in class MOFScriptObjectImpl