| Package | com.mapquest |
| Class | public class MQSession |
| Inheritance | MQSession MQObjectCollection MQObject |
See also
| Method | Defined by | ||
|---|---|---|---|
|
Constructs a new MQSession Object.
| MQSession | ||
|
Adds a MQObject to the collection.
| MQSession | ||
![]() |
addInteger(integer:int):int
Adds this integer to the array if it has not reached the maximum size.
| MQObjectCollection | |
|
Adds an element to this Session object, ensuring that it is
the only one of its class type.
| MQSession | ||
![]() |
addString(str:String):int
Adds this string to the array if it has not reached the maximum size.
| MQObjectCollection | |
![]() |
append(collection:MQObjectCollection):void
Append a collection to this one
| MQObjectCollection | |
![]() |
Check if the array contains a specific object
| MQObjectCollection | |
![]() |
get(i:Number):*
Get the item at postion i
| MQObjectCollection | |
![]() |
getAt(i:Number):*
| MQObjectCollection | |
![]() |
Return the object, if it exists, with the id strId
| MQObjectCollection | |
|
getClassName():String
Returns the text name of this class.
| MQSession | ||
![]() |
getItemXpath():String
Returns the m_itemXpath string.
| MQObjectCollection | |
|
getObjectVersion():Number
Returns the version of this class.
| MQSession | ||
![]() |
getProperty(path:String):String
Gets values from xml.
| MQObject | |
![]() |
getSize():int
Get the maximum size.
| MQObjectCollection | |
![]() |
getValidClassName():String
Accessor method for ValidClassName
| MQObjectCollection | |
![]() |
Create a copy of this object.
| MQObject | |
![]() |
internalCopyXML(obj:MQObject):XML
| MQObject | |
![]() |
internalCopyXMLx(obj:MQObject):String
| MQObject | |
|
isMapCommandObject(obj:MQObject):Boolean
Returns true if the specified object is a MapCommand object, false otherwise.
| MQSession | ||
|
isValidObject(obj:Object):Boolean
Returns true if the specified object is a valid object for this
collection, false otherwise.
| MQSession | ||
|
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
| MQSession | ||
![]() |
readExternal(input:IDataInput):void
| MQObject | |
![]() |
remove(iIndex:int):*
Remove the item at postion iIndex
| MQObjectCollection | |
![]() |
removeAll():void
Remove all the items in the array
| MQObjectCollection | |
![]() |
removeItem(item:MQObject):void
Remove an item by it's pointer.
| MQObjectCollection | |
|
saveXml():XML
Build xml that represents this object.
| MQSession | ||
![]() |
Replace an object at position i and return the old object.
| MQObjectCollection | |
![]() |
setItemXpath(itemXpath:String):void
Sets the m_itemXpath string.
| MQObjectCollection | |
![]() |
setProperty(path:String, value:Object):String
Sets values in xml.
| MQObject | |
![]() |
setValidClassName(className:String):void
Accessor method for ValidClassName
| MQObjectCollection | |
![]() |
setXpath(xpath:String):void
Sets the m_xpath object.
| MQObject | |
![]() |
writeExternal(output:IDataOutput):void
| MQObject | |
| MQSession | () | constructor |
public function MQSession()Constructs a new MQSession Object.
| add | () | method |
public override function add(obj:MQObject):int
Adds a MQObject to the collection. Calls addOne(MQObject, null).
obj:MQObject — obj The new MQObject to be added to the collection.
|
int |
See also
| addOne | () | method |
public function addOne(newElement:MQObject, replacedElement:MQObject):intAdds an element to this Session object, ensuring that it is the only one of its class type. Validates element as being one of object types that is permitted in this Session object. If it is, and there happens to be one of that type of object already present, the new object will replace it.
ParametersnewElement:MQObject — {MQObject} newElement The new element that is to be added to this MQSession object.
|
|
replacedElement:MQObject — {MQObject} replacedElement The element that was previously in this MQSession object.
|
int — index of element that is added.
|
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getObjectVersion | () | method |
public override function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| isMapCommandObject | () | method |
public function isMapCommandObject(obj:MQObject):BooleanReturns true if the specified object is a MapCommand object, false otherwise.
obj:MQObject — {MQObject} obj The MQObject to be validated.
|
Boolean — true if the specified object is a MapComand object, false otherwise.
|
| isValidObject | () | method |
public override function isValidObject(obj:Object):BooleanReturns true if the specified object is a valid object for this collection, false otherwise.
obj:Object — {MQObject} obj The MQObject to be validated.
|
Boolean — Boolean true if the specified object is a valid object for this
collection, false otherwise.
|
| loadXml | () | method |
public override function loadXml(xmlPrm:XML):voidAssigns the xml that relates to this object.
ParametersxmlPrm:XML — the xml to be assigned.
|
| saveXml | () | method |
public override function saveXml():XMLBuild xml that represents this object.
ReturnsXML — The xml.
|