|
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.EObjectAttributeValueCondition
An EObjectStructuralFeatureValueCondition
subclass used to
handle evaluation of the value held by an EAttribute
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 | |
EObjectAttributeValueCondition(EAttribute attribute,
Condition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
|
EObjectAttributeValueCondition(EAttribute attribute,
Condition valueCondition,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
|
EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition,
EAttribute attribute,
Condition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
|
EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition,
EAttribute attribute,
Condition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
boolean resolve)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
|
EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition,
EAttribute attribute,
Condition valueCondition,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
|
EObjectAttributeValueCondition(PruneHandler pruneHandler,
EObjectCondition contextEObjectCondition,
EAttribute attribute,
Condition valueCondition,
ConditionPolicy policy,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
boolean resolve)
A constructor that initializes this EObjectAttributeValueCondition with the passed values. |
Method Summary | |
protected EAttribute |
getAttribute()
Accessor method for the EAttribute to whose value is to be
used in the evaluation of this condition |
protected List |
getFeatures(EClass eClass)
Overrides the parent to return the list of all EAttributes only as opposed to the entire all EStructuralFeatures. |
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 EObjectAttributeValueCondition(EAttribute attribute, Condition valueCondition, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectAttributeValueCondition
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
attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valueeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectpublic EObjectAttributeValueCondition(EAttribute attribute, Condition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectAttributeValueCondition
with the passed values. It
defaults to using the PruneHandler.NEVER for the
PruneHandler
and the sets resolving to true
attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectpublic EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition, EAttribute attribute, Condition valueCondition, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectAttributeValueCondition
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 EAttribute
examined
further, otherwise the resultant evaluation of this
EObjectAttributeValueCondition
will be false.attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valueeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectpublic EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition, EAttribute attribute, Condition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter)
EObjectAttributeValueCondition
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 EAttribute
examined
further, otherwise the resultant evaluation of this
EObjectAttributeValueCondition
will be false.attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectpublic EObjectAttributeValueCondition(EObjectCondition contextEObjectCondition, EAttribute attribute, Condition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter, boolean resolve)
EObjectAttributeValueCondition
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 EAttribute
examined
further, otherwise the resultant evaluation of this
EObjectAttributeValueCondition
will be false.attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectresolve
- The flag to indicate whether to resolve or not the values of
the EAttribute
before subjecting them to
evaluation by this condition.public EObjectAttributeValueCondition(PruneHandler pruneHandler, EObjectCondition contextEObjectCondition, EAttribute attribute, Condition valueCondition, ConditionPolicy policy, IEStructuralFeatureValueGetter eStructuralFeatureValueGetter, boolean resolve)
EObjectAttributeValueCondition
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 EAttribute
examined
further, otherwise the resultant evaluation of this
EObjectAttributeValueCondition
will be false.attribute
- The EAttribute
whose value is to be testedvalueCondition
- the Condition
object to use for evaluating the
EAttribute
valuepolicy
- The ConditionPolicy
to useeStructuralFeatureValueGetter
- The IEStructuralFeatureValueGetter
used to
extract the value of the EAttribute
from a
given context objectresolve
- The flag to indicate whether to resolve or not the values of
the EAttribute
before subjecting them to
evaluation by this condition.Method Detail |
protected EAttribute getAttribute()
EAttribute
to whose value is to be
used in the evaluation of this condition
EAttribute
used in initialization
of this conditionprotected final List getFeatures(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.