|
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.numbers.NumberCondition
com.ibm.xtools.emf.query.conditions.numbers.NumberCondition.ShortValue
A subclass of NumberCondition to be used to test for short
values Clients can either use the default implementation supplied or have
their own.
| Nested Class Summary |
| Nested classes inherited from class com.ibm.xtools.emf.query.conditions.numbers.NumberCondition |
NumberCondition.ByteValue, NumberCondition.DoubleValue, NumberCondition.FloatValue, NumberCondition.IntegerValue, NumberCondition.LongValue, NumberCondition.ShortValue |
| Field Summary |
| Fields inherited from class com.ibm.xtools.emf.query.conditions.numbers.NumberCondition |
adapter, lowerBound, upperBound |
| Fields inherited from class com.ibm.xtools.emf.query.conditions.Condition |
FALSE, TRUE |
| Constructor Summary | |
NumberCondition.ShortValue(Short number)
A simple constructor, it takes only one Short argument which means in its evaluation the values passed to it must be equal to this Short value passed. |
|
NumberCondition.ShortValue(Short number,
NumberAdapter.ShortAdapter adapter)
A simple constructor, it takes only one Short argument
which means in its evaluation the values passed to it must be equal
to this Short value passed. |
|
NumberCondition.ShortValue(Short lowerBound,
Short upperBound)
A constructor, it takes two Short arguments, a
lowerBound and an upperBound, which means in its evaluation the
values passed to it must be equal to any these two Short
values passed or fall in between. |
|
NumberCondition.ShortValue(Short lowerBound,
Short upperBound,
NumberAdapter.ShortAdapter adapter)
A constructor, besides the NumberAdapter.ShortAdapter,
it also takes two Short arguments, a lowerBound and an
upperBound, which means in its evaluation the values passed to it
must be equal to any these two Short values passed or
fall in between. |
|
| Method Summary | |
boolean |
isSatisfied(Object object)
This operation is the evaluation operation of this Condition
in regard to the argument Object. |
| Methods inherited from class com.ibm.xtools.emf.query.conditions.numbers.NumberCondition |
isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied, isSatisfied |
| 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 NumberCondition.ShortValue(Short number)
number - the Short object to use for equality testing
public NumberCondition.ShortValue(Short number,
NumberAdapter.ShortAdapter adapter)
Short argument
which means in its evaluation the values passed to it must be equal
to this Short value passed.
number - the Short object to use for equality
testingadapter - the NumberAdapter.ShortAdapter to use to
extract short values from objects being evaluated.
public NumberCondition.ShortValue(Short lowerBound,
Short upperBound)
Short arguments, a
lowerBound and an upperBound, which means in its evaluation the
values passed to it must be equal to any these two Short
values passed or fall in between. It defaults to using the
NumberAdapter.ShortAdapter.DEFAULT for adapting the objects being
evaluated to a short value.
lowerBound - the Short value representing the
lower-bound in range testingupperBound - the Short value representing the
upper-bound in range testing
public NumberCondition.ShortValue(Short lowerBound,
Short upperBound,
NumberAdapter.ShortAdapter adapter)
NumberAdapter.ShortAdapter,
it also takes two Short arguments, a lowerBound and an
upperBound, which means in its evaluation the values passed to it
must be equal to any these two Short values passed or
fall in between.
lowerBound - the Short value representing the
lower-bound in range testingupperBound - the Short value representing the
upper-bound in range testingadapter - the NumberAdapter.ShortAdapter to use to
extract short values from objects being evaluated.| Method Detail |
public boolean isSatisfied(Object object)
ConditionCondition
in regard to the argument Object. In other words, the operation answers
whether the argument Object satisfied this Condition or
not.
isSatisfied in class Conditionobject - an Object to check if it satisfies this Condition
true if the argument Object satisfies this
Condition,false otherwise.
|
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.