|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.DBLayerQuery
Adds points of interest (such as banks, hotels, etc.) to a map. The DBLayerQuery object consists of a layer name and a query string. A DBLayerQuery object uniquely specifies a database table to be used by the server when drawing maps or performing searches. It contains the information necessary to connect to a table within a RDBMS.
| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
DBLayerQuery()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
java.lang.String |
getDBLayerName()
Returns the database layer name of this object. |
java.lang.String |
getExtraCriteria()
Contains Secondary SQL Query. |
int |
hashCode()
Returns a hash code for this DBLayerQuery. |
void |
init()
Initializes object. |
void |
setDBLayerName(java.lang.String strName)
Contains Secondary SQL Query. |
void |
setExtraCriteria(java.lang.String strQuery)
Sets the query string to the specified string. |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public DBLayerQuery()
| Method Detail |
public void init()
init in class MQObjectpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setExtraCriteria(java.lang.String strQuery)
strQuery - The query string which is to be stored in this object.public void setDBLayerName(java.lang.String strName)
strName - The string which is to be stored as the database layer
name in this object.public java.lang.String getExtraCriteria()
public java.lang.String getDBLayerName()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this DBLayerQuery against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||