org.eclipse.ocl.examples.xtext.essentialocl.scoping
Class ImplicitCollectFilter

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
      extended by org.eclipse.ocl.examples.xtext.essentialocl.scoping.ImplicitCollectFilter
All Implemented Interfaces:
EnvironmentView.Filter

public class ImplicitCollectFilter
extends AbstractOperationFilter


Field Summary
protected  Type iteratorType
           
 
Fields inherited from class org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
sourceType, typeManager
 
Constructor Summary
ImplicitCollectFilter(TypeManager typeManager, CollectionType sourceType, Type iteratorType)
          Configure an OperationFilter for an implicit collect.
 
Method Summary
 boolean matches(EnvironmentView environmentView, Type forType, org.eclipse.emf.ecore.EObject eObject)
          Return true if the filter accepts eObject as a candidate for inclusion in the EnvironmentView.
 
Methods inherited from class org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
compareMatches, getOperationBindings, installBindings, installOclSelfBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iteratorType

protected final Type iteratorType
Constructor Detail

ImplicitCollectFilter

public ImplicitCollectFilter(TypeManager typeManager,
                             CollectionType sourceType,
                             Type iteratorType)
Configure an OperationFilter for an implicit collect.

Method Detail

matches

public boolean matches(EnvironmentView environmentView,
                       Type forType,
                       org.eclipse.emf.ecore.EObject eObject)
Description copied from interface: EnvironmentView.Filter
Return true if the filter accepts eObject as a candidate for inclusion in the EnvironmentView.