|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.filter.AbstractRange
This is a base abstraction for range classes, whose purpose is to define the range of values for results retrieved by calls to the TWS API. Whenever an API call is requested to retrieve multiple results with a specific range on a selected field, the appropriate subclass of AbstractRange can be used to define the requested range, and put into a QueryFilter to define a specific range filter. Different subclasses of AbstractRange can hold ranges of different types.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
AbstractRange()
Creates a "closed" AbstractRange object, having both a start and end limit. |
|
AbstractRange(boolean isStart)
Creates an "open" AbstractRange object, having only a start or end limit. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if this range is equal to the given one. |
boolean |
hasEnd()
Returns true if this range has an end limit. |
int |
hashCode()
Returns a hash code for this AbstractRange object. |
boolean |
hasStart()
Returns true if this range has a start limit. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public AbstractRange()
public AbstractRange(boolean isStart)
isStart
- True if the range has only a start limit, false if it has only an end limit.Method Detail |
public boolean hasStart()
public boolean hasEnd()
public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |