Class ForLoopImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.statements.impl.StatementImpl
-
- org.emftext.language.java.statements.impl.ForLoopImpl
-
- All Implemented Interfaces:
Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,Commentable,Conditional,ForLoop,Statement,StatementContainer
public class ForLoopImpl extends StatementImpl implements ForLoop
An implementation of the model object 'For Loop'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected ExpressionconditionThe cached value of the 'Condition' containment reference.protected ForLoopInitializerinitThe cached value of the 'Init' containment reference.protected StatementstatementThe cached value of the 'Statement' containment reference.protected EList<Expression>updatesThe cached value of the 'Updates' containment reference list.-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
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 protectedForLoopImpl()
-
Method Summary
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, toString
-
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.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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 Detail
-
statement
protected Statement statement
The cached value of the 'Statement' containment reference.- See Also:
getStatement()- Generated class or method.
- Ordered collection.
-
condition
protected Expression condition
The cached value of the 'Condition' containment reference.- See Also:
getCondition()- Generated class or method.
- Ordered collection.
-
init
protected ForLoopInitializer init
The cached value of the 'Init' containment reference.- See Also:
getInit()- Generated class or method.
- Ordered collection.
-
updates
protected EList<Expression> updates
The cached value of the 'Updates' containment reference list.- See Also:
getUpdates()- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classStatementImpl- Generated class or method.
-
getStatement
public Statement getStatement()
- Specified by:
getStatementin interfaceStatementContainer- Returns:
- the value of the 'Statement' containment reference.
- See Also:
StatementContainer.setStatement(Statement),StatementsPackage.getStatementContainer_Statement()- Generated class or method.
-
basicGetStatement
public Statement basicGetStatement()
- Generated class or method.
-
basicSetStatement
public NotificationChain basicSetStatement(Statement newStatement, NotificationChain msgs)
- Generated class or method.
-
setStatement
public void setStatement(Statement newStatement)
- Specified by:
setStatementin interfaceStatementContainer- Parameters:
newStatement- the new value of the 'Statement' containment reference.- See Also:
StatementContainer.getStatement()- Generated class or method.
-
getCondition
public Expression getCondition()
- Specified by:
getConditionin interfaceConditional- Returns:
- the value of the 'Condition' containment reference.
- See Also:
Conditional.setCondition(Expression),StatementsPackage.getConditional_Condition()- Generated class or method.
-
basicGetCondition
public Expression basicGetCondition()
- Generated class or method.
-
basicSetCondition
public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs)
- Generated class or method.
-
setCondition
public void setCondition(Expression newCondition)
- Specified by:
setConditionin interfaceConditional- Parameters:
newCondition- the new value of the 'Condition' containment reference.- See Also:
Conditional.getCondition()- Generated class or method.
-
getInit
public ForLoopInitializer getInit()
- Specified by:
getInitin interfaceForLoop- Returns:
- the value of the 'Init' containment reference.
- See Also:
ForLoop.setInit(ForLoopInitializer),StatementsPackage.getForLoop_Init()- Generated class or method.
-
basicGetInit
public ForLoopInitializer basicGetInit()
- Generated class or method.
-
basicSetInit
public NotificationChain basicSetInit(ForLoopInitializer newInit, NotificationChain msgs)
- Generated class or method.
-
setInit
public void setInit(ForLoopInitializer newInit)
- Specified by:
setInitin interfaceForLoop- Parameters:
newInit- the new value of the 'Init' containment reference.- See Also:
ForLoop.getInit()- Generated class or method.
-
getUpdates
public EList<Expression> getUpdates()
- Specified by:
getUpdatesin interfaceForLoop- Returns:
- the value of the 'Updates' containment reference list.
- See Also:
StatementsPackage.getForLoop_Updates()- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classCommentableImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classCommentableImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classCommentableImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classCommentableImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classCommentableImpl- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)- Specified by:
eBaseStructuralFeatureIDin interfaceInternalEObject- Overrides:
eBaseStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)- Specified by:
eDerivedStructuralFeatureIDin interfaceInternalEObject- Overrides:
eDerivedStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
-