Interface ForEachLoop
-
- All Superinterfaces:
Commentable
,EObject
,Notifier
,Statement
,StatementContainer
- All Known Implementing Classes:
ForEachLoopImpl
public interface ForEachLoop extends Statement, StatementContainer
A representation of the model object 'For Each Loop'.The following features are supported:
- See Also:
StatementsPackage.getForEachLoop()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expression
getCollection()
Returns the value of the 'Collection' containment reference.OrdinaryParameter
getNext()
Returns the value of the 'Next' containment reference.void
setCollection(Expression value)
Sets the value of the 'Collection
' containment reference.void
setNext(OrdinaryParameter value)
Sets the value of the 'Next
' containment reference.-
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.statements.StatementContainer
getStatement, setStatement
-
-
-
-
Method Detail
-
getNext
OrdinaryParameter getNext()
Returns the value of the 'Next' containment reference.- Returns:
- the value of the 'Next' containment reference.
- See Also:
setNext(OrdinaryParameter)
,StatementsPackage.getForEachLoop_Next()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setNext
void setNext(OrdinaryParameter value)
Sets the value of the 'Next
' containment reference.- Parameters:
value
- the new value of the 'Next' containment reference.- See Also:
getNext()
- Generated class or method.
-
getCollection
Expression getCollection()
Returns the value of the 'Collection' containment reference.- Returns:
- the value of the 'Collection' containment reference.
- See Also:
setCollection(Expression)
,StatementsPackage.getForEachLoop_Collection()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setCollection
void setCollection(Expression value)
Sets the value of the 'Collection
' containment reference.- Parameters:
value
- the new value of the 'Collection' containment reference.- See Also:
getCollection()
- Generated class or method.
-
-