org.eclipse.ocl.examples.xtext.essentialocl.attributes
Class ContextCSAttribution.NoImplicitProperties

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.essentialocl.attributes.ContextCSAttribution.NoImplicitProperties
All Implemented Interfaces:
ScopeFilter
Enclosing class:
ContextCSAttribution

public static final class ContextCSAttribution.NoImplicitProperties
extends java.lang.Object
implements ScopeFilter


Field Summary
static ContextCSAttribution.NoImplicitProperties INSTANCE
           
 
Constructor Summary
ContextCSAttribution.NoImplicitProperties()
           
 
Method Summary
 int compareMatches(org.eclipse.emf.ecore.EObject match1, java.util.Map<TemplateParameter,ParameterableElement> bindings1, org.eclipse.emf.ecore.EObject match2, java.util.Map<TemplateParameter,ParameterableElement> bindings2)
          Return -ve if match1 is inferior to match2, +ve if match2 is inferior to match1, or zero if both matches are of equal validity.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static ContextCSAttribution.NoImplicitProperties INSTANCE
Constructor Detail

ContextCSAttribution.NoImplicitProperties

public ContextCSAttribution.NoImplicitProperties()
Method Detail

compareMatches

public int compareMatches(org.eclipse.emf.ecore.EObject match1,
                          java.util.Map<TemplateParameter,ParameterableElement> bindings1,
                          org.eclipse.emf.ecore.EObject match2,
                          java.util.Map<TemplateParameter,ParameterableElement> bindings2)
Description copied from interface: ScopeFilter
Return -ve if match1 is inferior to match2, +ve if match2 is inferior to match1, or zero if both matches are of equal validity.

Specified by:
compareMatches in interface ScopeFilter

matches

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

Specified by:
matches in interface ScopeFilter