|
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.transform.core.TransformCondition
A base class for conditions that require the entire transform context to make their isSatisfied() decision.
Field Summary |
Fields inherited from class com.ibm.xtools.emf.query.conditions.Condition |
FALSE, TRUE |
Constructor Summary | |
TransformCondition()
|
Method Summary | |
Condition |
AND(Condition condition)
Combine two transform conditions with logical AND |
Condition |
EQUIVALENT(Condition condition)
Combine two transform conditions with an equivalency test |
Condition |
IMPLIES(Condition condition)
Combine two transform conditions with logical test NOT(this).OR(condition) |
protected abstract boolean |
isContextSatisfied(ITransformContext context)
Is the condition satisfied by the data in the transform context. |
boolean |
isSatisfied(Object object)
This operation is the evaluation operation of this Condition
in regard to the argument Object. |
Condition |
OR(Condition condition)
Combine two transform conditions with logical OR |
Condition |
XOR(Condition condition)
Combine two transform conditions with logical XOR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransformCondition()
Method Detail |
protected abstract boolean isContextSatisfied(ITransformContext context)
context
- the current context of the transformation execution
public final boolean isSatisfied(Object object)
Condition
Condition
in regard to the argument Object. In other words, the operation answers
whether the argument Object satisfied this Condition
or
not.
isSatisfied
in class Condition
object
- an Object to check if it satisfies this Condition
true
if the argument Object satisfies this
Condition
,false
otherwise.Condition.isSatisfied(java.lang.Object)
public Condition AND(Condition condition)
AND
in class Condition
condition
- - the second argument of AND
public Condition OR(Condition condition)
OR
in class Condition
condition
- - the second argument of OR
public Condition XOR(Condition condition)
XOR
in class Condition
condition
- - the second argument of XOR
public Condition IMPLIES(Condition condition)
IMPLIES
in class Condition
condition
- - the second argument of OR
public Condition EQUIVALENT(Condition condition)
EQUIVALENT
in class Condition
condition
- - the second argument of == test
|
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.