org.eclipse.ocl.expressions.impl
Class IteratorExpImpl<C,PM>

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.expressions.impl.OCLExpressionImpl<C>
          extended by org.eclipse.ocl.expressions.impl.CallExpImpl<C>
              extended by org.eclipse.ocl.expressions.impl.LoopExpImpl<C,PM>
                  extended by org.eclipse.ocl.expressions.impl.IteratorExpImpl<C,PM>
All Implemented Interfaces:
CallExp<C>, IteratorExp<C,PM>, LoopExp<C,PM>, OCLExpression<C>, ASTNode, CallingASTNode, TypedElement<C>, Visitable

public class IteratorExpImpl<C,PM>
extends LoopExpImpl<C,PM>
implements IteratorExp<C,PM>

An implementation of the model object 'Iterator Exp'.


Field Summary
 
Fields inherited from class org.eclipse.ocl.expressions.impl.LoopExpImpl
body, iterator
 
Fields inherited from class org.eclipse.ocl.expressions.impl.CallExpImpl
PROPERTY_END_POSITION_EDEFAULT, PROPERTY_START_POSITION_EDEFAULT, propertyEndPosition, propertyStartPosition, source
 
Fields inherited from class org.eclipse.ocl.expressions.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.expressions.impl.LoopExpImpl
basicSetBody, checkLoopVariableInit, checkLoopVariableType, checkSourceCollection, eGet, eInverseRemove, eIsSet, eSet, eUnset, getBody, getIterator, setBody
 
Methods inherited from class org.eclipse.ocl.expressions.impl.CallExpImpl
basicSetSource, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getPropertyEndPosition, getPropertyStartPosition, getSource, setPropertyEndPosition, setPropertyStartPosition, setSource, toString
 
Methods inherited from class org.eclipse.ocl.expressions.impl.OCLExpressionImpl
getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, 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.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<C,PM>

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<C>

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