Packagecom.mapquest
Classpublic class RecordSet
InheritanceRecordSet Inheritance MQObject

Class for retrieving record attribute information.

See also

StringCollection


Public Properties
 PropertyDefined by
 InheritedCLASS_NAME : String = "MQObject"
[static]
MQObject
Protected Properties
 PropertyDefined by
 InheritedobjectVersion : Number = 0
Value to represent the version of this object
MQObject
 Inheritedxml : XML = null
MQObject
 Inheritedxpath : String
MQObject
Public Methods
 MethodDefined by
  
Constructs a new RecordSet object.
RecordSet
  
getClassName():String
Returns the text name of this class.
RecordSet
  
getField(strFieldName:String):String
Get the field value by field name
RecordSet
  
Get the list of available field names
RecordSet
  
Returns the version of this class.
RecordSet
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
isBOF():Boolean
Set to true when the cursor is before the beginning of the record set
RecordSet
  
isEOF():Boolean
Set to true when the cursor is passed the end of the record set
RecordSet
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
RecordSet
  
moveFirst():void
Sets the cursor to the first record in the record set.
RecordSet
  
moveLast():void
Sets the cursor to the last record in the record set.
RecordSet
  
moveNext():void
Sets the cursor to the next record in the record set.
RecordSet
 Inherited
readExternal(input:IDataInput):void
MQObject
 Inherited
saveXml():XML
New XML Handler
MQObject
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
 Inherited
setXpath(xpath:String):void
Sets the m_xpath object.
MQObject
 Inherited
writeExternal(output:IDataOutput):void
MQObject
Protected Methods
 MethodDefined by
 Inherited
getXML():XML
Returns the m_xmlDoc object.
MQObject
 Inherited
getXpath():String
Returns the xpath string.
MQObject
 Inherited
setXML(xml:XML):void
Sets the m_xmlDoc object.
MQObject
Constructor detail
RecordSet()constructor
public function RecordSet()

Constructs a new RecordSet object.

Method detail
getClassName()method
public override function getClassName():String

Returns the text name of this class.

Returns
String — The text name of this class.
getField()method 
public function getField(strFieldName:String):String

Get the field value by field name

Parameters
strFieldName:String — strFieldName the field name

Returns
String
getFieldNames()method 
public function getFieldNames():StringCollection

Get the list of available field names

Returns
StringCollection — the list of field names
getObjectVersion()method 
public override function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
isBOF()method 
public function isBOF():Boolean

Set to true when the cursor is before the beginning of the record set

Returns
Boolean — beginning record set flag
isEOF()method 
public function isEOF():Boolean

Set to true when the cursor is passed the end of the record set

Returns
Boolean — end record set flag
loadXml()method 
public override function loadXml(xmlPrm:XML):void

Assigns the xml that relates to this object.

Parameters
xmlPrm:XML — the xml to be assigned.
moveFirst()method 
public function moveFirst():void

Sets the cursor to the first record in the record set.

moveLast()method 
public function moveLast():void

Sets the cursor to the last record in the record set.

moveNext()method 
public function moveNext():void

Sets the cursor to the next record in the record set. If the cursor is currently set to the last record, A call to MoveNext sets EOF to true