public static class UML2Util.EStructuralFeatureMatcher extends UML2Util.EClassMatcher
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.ecore.EStructuralFeature |
eStructuralFeature |
eObject| Constructor and Description |
|---|
EStructuralFeatureMatcher(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Constructs a new structural feature 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.
|
protected final org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature
public EStructuralFeatureMatcher(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
eObject - The object whose class is to be used as a match criterion.eStructuralFeature - The structural feature whose value is to be used as a
match criterion.public boolean matches(org.eclipse.emf.ecore.EObject otherEObject)
UML2Util.EObjectMatchermatches in interface UML2Util.EObjectMatchermatches in class UML2Util.EClassMatcherotherEObject - The candidate object.true if the object meets the criteria;
false otherwise.