|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.MQObjectCollection
com.mapquest.Session
Maintains the state of the current user's requests. Contains zero or one of the following objects: MapCommand, MapState, DBLayerQueryCollection, FeatureCollection, and CoverageStyle.
MapCommand,
MapState,
DBLayerQueryCollection,
FeatureCollection,
CoverageStyle,
PrimitiveCollection,
AutoMapCovSwitch| 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 | |
Session()
Default constructor. |
|
| Method Summary | |
void |
add(MQObject obj)
Adds a MQObject to the collection. |
int |
addOne(MQObject newElement)
Adds an element to this Session object, ensuring that it is the only one of its class type. |
int |
addOne(MQObject newElement,
MQObject replacedElement)
Adds an element to this Session object, ensuring that it is the only one of its class type. |
MQObject |
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. |
MQObject |
getObject(java.lang.String name)
Returns the specified item in the collection by name. |
void |
init()
Initializes object. |
| Methods inherited from class com.mapquest.MQObjectCollection |
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 |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public Session()
| Method Detail |
public void init()
init in class MQObjectCollectionpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic MQObject getAt(int index)
get(int).
index - index of element to return.
MQObjectCollection.get(int)public MQObject getObject(java.lang.String name)
name - Name of item in this Session object
which is to be returned.
public int addOne(MQObject newElement,
MQObject replacedElement)
newElement - The new element that is to be added to
this Session object.replacedElement - The element that was previously in this
Session object.
java.lang.IllegalArgumentException - Invalid object for this collection.public int addOne(MQObject newElement)
addOne(MQObject, null).
newElement - The new element that is to be added to
this Session object.
addOne(MQObject, MQObject)public void add(MQObject obj)
addOne(MQObject, null).
add in class MQObjectCollectionobj - The new MQObject to be added to the collection.addOne(MQObject, MQObject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||