org.eclipse.ocl.examples.xtext.essentialocl.attributes
Class BinaryOperationFilter

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.essentialocl.attributes.AbstractOperationFilter
      extended by org.eclipse.ocl.examples.xtext.essentialocl.attributes.BinaryOperationFilter
All Implemented Interfaces:
ScopeFilter

public class BinaryOperationFilter
extends AbstractOperationFilter


Field Summary
protected  Type argumentType
           
 
Fields inherited from class org.eclipse.ocl.examples.xtext.essentialocl.attributes.AbstractOperationFilter
sourceType
 
Constructor Summary
BinaryOperationFilter(Type sourceType, Type argumentType)
           
 
Method Summary
 boolean matches(EnvironmentView environmentView, java.lang.Object object)
          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.attributes.AbstractOperationFilter
compareMatches, getOperationBindings, installBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

argumentType

@NonNull
protected final Type argumentType
Constructor Detail

BinaryOperationFilter

public BinaryOperationFilter(@NonNull
                             Type sourceType,
                             @NonNull
                             Type argumentType)
Method Detail

matches

public boolean matches(@NonNull
                       EnvironmentView environmentView,
                       @NonNull
                       java.lang.Object object)
Description copied from interface: ScopeFilter
Return true if the filter accepts eObject as a candidate for inclusion in the EnvironmentView.