|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.emf.query.conditions.Condition
com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition
com.ibm.xtools.emf.query.conditions.eobjects.structuralfeatures.EObjectStructuralFeatureCondition
The base abstract class of all EStructuralFeatures related conditions. It is meant to be subclassed.
Field Summary |
Fields inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition |
E_FALSE, E_TRUE |
Fields inherited from class com.ibm.xtools.emf.query.conditions.Condition |
FALSE, TRUE |
Constructor Summary | |
EObjectStructuralFeatureCondition(PruneHandler pruneHandler,
org.eclipse.emf.ecore.EStructuralFeature feature)
A constructor, initializes the EObjectStructuralFeatureCondition with basic values. |
Method Summary | |
protected org.eclipse.emf.ecore.EStructuralFeature |
getFeature()
A getter for the EStructuralFeature used in initialization
of this EObjectStructuralFeatureCondition |
protected List |
getFeatures(org.eclipse.emf.ecore.EClass eClass)
Returns the list of all EStructuralFeatures of the given EClass that are consequently to be used for testing and evaluation of this condition object |
boolean |
isSatisfied(org.eclipse.emf.ecore.EObject eObject)
Answers whether the argument eObject has the EStructuralFeature used in initialization of this
EObjectStructuralFeatureCondition |
Methods inherited from class com.ibm.xtools.emf.query.conditions.eobjects.EObjectCondition |
AND, EQUIVALENT, getPruneHandler, IMPLIES, isSatisfied, OR, shouldPrune, XOR |
Methods inherited from class com.ibm.xtools.emf.query.conditions.Condition |
AND, EQUIVALENT, IMPLIES, OR, XOR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EObjectStructuralFeatureCondition(PruneHandler pruneHandler, org.eclipse.emf.ecore.EStructuralFeature feature)
EObjectStructuralFeatureCondition
with basic values.
pruneHandler
- The PruneHandler
to consult when pruningfeature
- The EStructuralFeature
used for evaluation by
this EObjectStructuralFeatureCondition
Method Detail |
public boolean isSatisfied(org.eclipse.emf.ecore.EObject eObject)
EStructuralFeature
used in initialization of this
EObjectStructuralFeatureCondition
isSatisfied
in class EObjectCondition
eObject
- the EObject
to check
true
if the argument eObject satisfies
this EObjectCondition
EObjectCondition.isSatisfied(org.eclipse.emf.ecore.EObject)
protected final org.eclipse.emf.ecore.EStructuralFeature getFeature()
EStructuralFeature
used in initialization
of this EObjectStructuralFeatureCondition
EStructuralFeature
the feature used in
initialization of this
EObjectStructuralFeatureCondition
protected List getFeatures(org.eclipse.emf.ecore.EClass eClass)
eClass
- the Eclass from which to get all the EStructuralFeatures to be
used for testing and evaluation of this condition object
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.