|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.SearchCriteria
Base class to define the criteria for a search. This class is not directly instantiateable. Use one of its child classes instead.
| Field Summary |
| Fields inherited from class com.mapquest.MQObject |
CLASS_ID, CLASS_NAME, DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getMaxMatches()
Gets the data member of this object which indicates the maximum number of matches that are to be returned by the search. |
int |
hashCode()
Returns a hash code for this SearchCriteria. |
void |
init()
Initializes object. |
void |
setMaxMatches(int nMax)
Sets the data member of this object which indicates the maximum number of matches that are to be returned by the search. |
| Methods inherited from class com.mapquest.MQObject |
clone, getClassId, getClassName, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void init()
init in class MQObjectpublic void setMaxMatches(int nMax)
nMax - The maximum number of matches that are to be returned by
the search.public int getMaxMatches()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this SearchCriteria against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||