|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.querybuilder.SearchOptions
Generic class representing a set of options for executing a query
Field Summary | |
protected int |
mMaxElements
Max elements |
protected int |
mPageSize
Page size |
Constructor Summary | |
SearchOptions()
Constructor |
Method Summary | |
boolean |
getBooleanOption(java.lang.String name)
Retrieves boolean option |
int |
getMaxElements()
Max number of records to retrieve. |
int |
getMaxQueryElements()
Absolute Max number of records to retrieve. |
java.lang.String |
getOption(java.lang.String name)
Getter for search specific options |
java.lang.String[] |
getOptionNames()
Get all available option names |
int |
getPageSize()
Number of records transferred to caller when data is required. |
int |
setMaxElements(int maxElements)
Set max number of records to retrieve. |
int |
setMaxQueryElements(int maxElements)
Sets max number of records to retrieve from QueryManager So this sets the limit of QueryObject |
void |
setOption(java.lang.String name,
java.lang.String value)
Setter for search specific options. |
void |
setPageSize(int pageSize)
See getPageSize |
java.lang.String |
toString()
String representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int mMaxElements
protected int mPageSize
Constructor Detail |
public SearchOptions()
Method Detail |
public boolean getBooleanOption(java.lang.String name)
name
- option name
public int getMaxElements()
public int getMaxQueryElements()
public java.lang.String getOption(java.lang.String name)
name
- option name
public java.lang.String[] getOptionNames()
public int getPageSize()
public int setMaxElements(int maxElements)
maxElements
- max elements
public int setMaxQueryElements(int maxElements)
maxElements
- max elements
public void setOption(java.lang.String name, java.lang.String value)
name
- optionvalue
- optionpublic void setPageSize(int pageSize)
pageSize
- page sizepublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.