org.eclipse.ocl.examples.pivot
Interface LoopExp

All Superinterfaces:
CallExp, Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, OclExpression, PivotObject, TypedElement, Visitable
All Known Subinterfaces:
IterateExp, IteratorExp
All Known Implementing Classes:
IterateExpImpl, IteratorExpImpl, LoopExpImpl

public interface LoopExp
extends CallExp

A representation of the model object 'Loop Exp'.

The following features are supported:

See Also:
PivotPackage.getLoopExp()
Generated
Model
abstract="true"

Method Summary
 OclExpression createBody(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OclExpression and sets the 'Body' containment reference.
 Variable createIterator()
          Creates a new Variable and appends it to the 'Iterator' containment reference list.
 OclExpression getBody()
          Returns the value of the 'Body' containment reference.
 org.eclipse.emf.common.util.EList<Variable> getIterators()
          Returns the value of the 'Iterator' containment reference list.
 Iteration getReferredIteration()
          Returns the value of the 'Referred Iteration' reference.
 void setBody(OclExpression value)
          Sets the value of the 'Body' containment reference.
 void setReferredIteration(Iteration value)
          Sets the value of the 'Referred Iteration' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.CallExp
createSource, getSource, isImplicit, setImplicit, setSource
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

Method Detail

getBody

OclExpression getBody()
Returns the value of the 'Body' containment reference.

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

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(OclExpression), PivotPackage.getLoopExp_Body()
Generated
Model
containment="true" required="true" ordered="false"

setBody

void setBody(OclExpression value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
Generated

createBody

OclExpression createBody(org.eclipse.emf.ecore.EClass eClass)
Creates a new OclExpression and sets the 'Body' containment reference.

Parameters:
eClass - The Ecore class of the OclExpression to create.
Returns:
The new OclExpression.
See Also:
getBody()
Generated

getIterators

org.eclipse.emf.common.util.EList<Variable> getIterators()
Returns the value of the 'Iterator' containment reference list. The list contents are of type Variable.

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

Returns:
the value of the 'Iterator' containment reference list.
See Also:
PivotPackage.getLoopExp_Iterator()
Generated
Model
containment="true"

createIterator

Variable createIterator()
Creates a new Variable and appends it to the 'Iterator' containment reference list.

Returns:
The new Variable.
See Also:
getIterators()
Generated

getReferredIteration

Iteration getReferredIteration()
Returns the value of the 'Referred Iteration' reference.

If the meaning of the 'Referred Iteration' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Referred Iteration' reference.
See Also:
setReferredIteration(Iteration), PivotPackage.getLoopExp_ReferredIteration()
Generated
Model
ordered="false"

setReferredIteration

void setReferredIteration(Iteration value)
Sets the value of the 'Referred Iteration' reference.

Parameters:
value - the new value of the 'Referred Iteration' reference.
See Also:
getReferredIteration()
Generated