|
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
com.ibm.xtools.emf.query.conditions.eobjects.structuralfeatures.EObjectStructuralFeatureValueCondition
com.ibm.xtools.emf.query.conditions.eobjects.structuralfeatures.EObjectReferenceValueCondition
An EObjectStructuralFeatureValueCondition
subclass used to
handle evaluation of the value held by an EReference
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 | |
EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition,
org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
|
EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition,
org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
boolean resolve)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
|
EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition,
org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
|
EObjectReferenceValueCondition(org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
|
EObjectReferenceValueCondition(org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
|
EObjectReferenceValueCondition(PruneHandler pruneHandler,
EObjectCondition contextEObjectCondition,
org.eclipse.emf.ecore.EReference reference,
EObjectCondition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
boolean resolve)
A constructor that initializes this EObjectReferenceValueCondition with the passed values. |
Method Summary | |
protected List |
getFeatures(org.eclipse.emf.ecore.EClass eClass)
Overrides the parent to return the list of all EReferences only as opposed to the entire all EStructuralFeatures. |
protected org.eclipse.emf.ecore.EReference |
getReference()
Accessor method for the EReference to whose value is to be
used in the evaluation of this condition |
Methods inherited from class com.ibm.xtools.emf.query.conditions.eobjects.structuralfeatures.EObjectStructuralFeatureValueCondition |
getPolicy, getStructuralFeatureCondition, isResolve, isSatisfied |
Methods inherited from class com.ibm.xtools.emf.query.conditions.eobjects.structuralfeatures.EObjectStructuralFeatureCondition |
getFeature |
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 EObjectReferenceValueCondition(org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectReferenceValueCondition
with the passed values. It
defaults to using ConditionPolicy.ANY for the
ConditionPolicy
policy, the PruneHandler.NEVER for the
PruneHandler and the sets resolving to true
reference
- The EReference
whose value is to be testedvalueCondition
- the EObjectCondition
object to use for
evaluating the EReference
valueeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectpublic EObjectReferenceValueCondition(org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectReferenceValueCondition
with the passed values. It
defaults to using the PruneHandler.NEVER for the PruneHandler and the
sets resolving to true
reference
- The EReference
whose value is to be testedvalueCondition
- the EObjectCondition
object to use for
evaluating the EReference
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectpublic EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition, org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectReferenceValueCondition
with the passed values. It
defaults to using ConditionPolicy.ANY for the
ConditionPolicy
policy, the PruneHandler.NEVER for the
PruneHandler and the sets resolving to true
contextEObjectCondition
- An optional -could be null
-
EObjectCondition
to be applied on the eObject
argument of the isSatisified(EObject) method. If this
contextEObjectCondition is supplied, then only those EObjects
who satisfy it will have the values of their
EReference
examined further, otherwise the
resultant evaluation of this
EObjectReferenceValueCondition
will be false.reference
- The EReference
whose value is to be testedvalueCondition
- The EObjectCondition
object to use for
evaluating the EReference
valueeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectpublic EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition, org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectReferenceValueCondition
with the passed values. It
defaults to using the PruneHandler.NEVER for the PruneHandler and the
sets resolving to true
contextEObjectCondition
- An optional -- could be null
-
EObjectCondition
to be applied on the eObject
argument of the isSatisified(EObject) method. If this
contextEObjectCondition is supplied, then only those EObjects
who satisfy it will have the values of their
EReference
examined further, otherwise the
resultant evaluation of this
EObjectReferenceValueCondition
will be false.reference
- The EReference
whose value is to be testedvalueCondition
- The EObjectCondition
object to use for
evaluating the EReference
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectpublic EObjectReferenceValueCondition(EObjectCondition contextEObjectCondition, org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter, boolean resolve)
EObjectReferenceValueCondition
with the passed values. It
defaults to using the PruneHandler.NEVER for the PruneHandler
contextEObjectCondition
- An optional -- could be null
-
EObjectCondition
to be applied on the eObject
argument of the isSatisified(EObject) method. If this
contextEObjectCondition is supplied, then only those EObjects
who satisfy it will have the values of their
EReference
examined further, otherwise the
resultant evaluation of this
EObjectReferenceValueCondition
will be false.reference
- The EReference
whose value is to be testedvalueCondition
- The EObjectCondition
object to use for
evaluating the EReference
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectresolve
- The flag to indicate whether to resolve or not the values of
the EReference
before subjecting them to
evaluation by this condition.public EObjectReferenceValueCondition(PruneHandler pruneHandler, EObjectCondition contextEObjectCondition, org.eclipse.emf.ecore.EReference reference, EObjectCondition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter, boolean resolve)
EObjectReferenceValueCondition
with the passed values.
pruneHandler
- The PruneHandler to use.contextEObjectCondition
- An optional -- could be null
-
EObjectCondition
to be applied on the eObject
argument of the isSatisified(EObject) method. If this
contextEObjectCondition is supplied, then only those EObjects
who satisfy it will have the values of their
EReference
examined further, otherwise the
resultant evaluation of this
EObjectReferenceValueCondition
will be false.reference
- The EReference
whose value is to be testedvalueCondition
- The EObjectCondition
object to use for
evaluating the EReference
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EReference
from a
given context objectresolve
- The flag to indicate whether to resolve or not the values of
the EReference
before subjecting them to
evaluation by this condition.Method Detail |
protected org.eclipse.emf.ecore.EReference getReference()
EReference
to whose value is to be
used in the evaluation of this condition
EReference
used in initialization
of this conditionprotected final List getFeatures(org.eclipse.emf.ecore.EClass eClass)
getFeatures
in class EObjectStructuralFeatureCondition
eClass
- the Eclass from which to get all the EStructuralFeatures to be
used for testing and evaluation of this condition object
EObjectStructuralFeatureCondition.getFeatures(org.eclipse.emf.ecore.EClass)
|
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.