org.eclipse.ocl.ecore.impl
Class IteratorExpImpl

java.lang.Object
  extended by ETypedElementImpl
      extended by org.eclipse.ocl.ecore.impl.OCLExpressionImpl
          extended by org.eclipse.ocl.ecore.impl.CallExpImpl
              extended by org.eclipse.ocl.ecore.impl.LoopExpImpl
                  extended by org.eclipse.ocl.ecore.impl.IteratorExpImpl
All Implemented Interfaces:
CallExp<EClassifier>, IteratorExp<EClassifier,EParameter>, LoopExp<EClassifier,EParameter>, OCLExpression<EClassifier>, ASTNode, CallingASTNode, TypedElement<EClassifier>, Visitable

public class IteratorExpImpl
extends LoopExpImpl
implements IteratorExp

An implementation of the model object 'Iterator Exp'.


Field Summary
 
Fields inherited from class org.eclipse.ocl.ecore.impl.LoopExpImpl
body, iterator
 
Fields inherited from class org.eclipse.ocl.ecore.impl.CallExpImpl
PROPERTY_END_POSITION_EDEFAULT, PROPERTY_START_POSITION_EDEFAULT, propertyEndPosition, propertyStartPosition, source
 
Fields inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
 
Constructor Summary
protected IteratorExpImpl()
           
 
Method Summary
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T
accept(U v)
           
 boolean checkBooleanBodyType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 boolean checkBooleanType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 boolean checkCollectType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 boolean checkSelectRejectType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
protected  EClass eStaticClass()
           
 
Methods inherited from class org.eclipse.ocl.ecore.impl.LoopExpImpl
basicSetBody, checkLoopVariableInit, checkLoopVariableType, checkSourceCollection, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eGet, eInverseRemove, eIsSet, eSet, eUnset, getBody, getIterator, setBody
 
Methods inherited from class org.eclipse.ocl.ecore.impl.CallExpImpl
basicSetSource, getPropertyEndPosition, getPropertyStartPosition, getSource, setPropertyEndPosition, setPropertyStartPosition, setSource, toString
 
Methods inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.expressions.CallExp
getSource, setSource
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.CallingASTNode
getPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.expressions.LoopExp
checkLoopVariableInit, checkLoopVariableType, checkSourceCollection, getBody, getIterator, setBody
 
Methods inherited from interface org.eclipse.ocl.expressions.CallExp
getSource, setSource
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.CallingASTNode
getPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.expressions.IteratorExp
checkBooleanBodyType, checkBooleanType, checkCollectType, checkSelectRejectType
 
Methods inherited from interface org.eclipse.ocl.expressions.LoopExp
checkLoopVariableInit, checkLoopVariableType, checkSourceCollection, getBody, getIterator, setBody
 
Methods inherited from interface org.eclipse.ocl.expressions.CallExp
getSource, setSource
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.CallingASTNode
getPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 

Constructor Detail

IteratorExpImpl

protected IteratorExpImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class LoopExpImpl

checkBooleanType

public boolean checkBooleanType(DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,java.lang.Object> context)


checkCollectType

public boolean checkCollectType(DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,java.lang.Object> context)


checkSelectRejectType

public boolean checkSelectRejectType(DiagnosticChain diagnostics,
                                     java.util.Map<java.lang.Object,java.lang.Object> context)


checkBooleanBodyType

public boolean checkBooleanBodyType(DiagnosticChain diagnostics,
                                    java.util.Map<java.lang.Object,java.lang.Object> context)


accept

public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
Description copied from class: OCLExpressionImpl

Specified by:
accept in interface Visitable
Overrides:
accept in class OCLExpressionImpl

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.