public static class UML2Util.EClassMatcher extends java.lang.Object implements UML2Util.EObjectMatcher
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EObject |
eObject |
Constructor and Description |
---|
EClassMatcher(org.eclipse.emf.ecore.EObject eObject)
Constructs a new class matcher based on the specified object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(org.eclipse.emf.ecore.EObject otherEObject)
Determines whether the specified object matches some criteria.
|
public EClassMatcher(org.eclipse.emf.ecore.EObject eObject)
eObject
- The object whose class is to be used as a match criterion.public boolean matches(org.eclipse.emf.ecore.EObject otherEObject)
UML2Util.EObjectMatcher
matches
in interface UML2Util.EObjectMatcher
otherEObject
- The candidate object.true
if the object meets the criteria;
false
otherwise.