com.mapquest
Class DBLayerQueryCollection

java.lang.Object
  extended bycom.mapquest.MQObject
      extended bycom.mapquest.MQObjectCollection
          extended bycom.mapquest.DBLayerQueryCollection
All Implemented Interfaces:
java.lang.Cloneable

public class DBLayerQueryCollection
extends MQObjectCollection

A collection of DBLayerQuery objects. DBLayerQueryCollection objects are used to create maps containing user-supplied features where these features are stored in databases or tables.

See Also:
DBLayerQuery

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
DBLayerQueryCollection()
          Default constructor.
 
Method Summary
 DBLayerQuery getAt(int index)
          Returns the element at the specified position in this collection.
 int getClassId()
          Returns the numeric id of this class.
 java.lang.String getClassName()
          Returns the text name of this class.
 void init()
          Initializes object.
 DBLayerQuery item(int nIndex)
          Deprecated. Use getAt(int) instead.
 
Methods inherited from class com.mapquest.MQObjectCollection
add, append, equals, get, getSize, hashCode, remove, removeAll, removeAt
 
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

CLASS_ID

public static final int CLASS_ID
See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

DBLayerQueryCollection

public DBLayerQueryCollection()
Default constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class MQObjectCollection

getClassId

public int getClassId()
Returns the numeric id of this class.

Overrides:
getClassId in class MQObject
Returns:
the numeric id of this class.

getClassName

public java.lang.String getClassName()
Returns the text name of this class.

Overrides:
getClassName in class MQObject
Returns:
the text name of this class.

getAt

public DBLayerQuery getAt(int index)
Returns the element at the specified position in this collection. Calls get(int).

Parameters:
index - index of element to return.
Returns:
DBLayerQuery at the specified index.
See Also:
MQObjectCollection.get(int)

item

public DBLayerQuery item(int nIndex)
Deprecated. Use getAt(int) instead.

Returns the DBLayerQuery object occupying a specified position in this collection. Calls getAt(int).

Parameters:
nIndex - The index into this collection which indicates the desired DBLayerQuery object to be returned.
Returns:
The DBLayerQuery object occupying the position specified by the input parameter.
See Also:
getAt(int)