Packageat.db
Classpublic class GetBrandXML

Class for retrieving brand data from the application database based on brandid.



Public Properties
 PropertyDefined by
  brandID : int
Holds the brandID value for queries used to locate the brand database records.
GetBrandXML
  brandxml : XMLList
Holds the brandxml value for the XMLList returned from the data queries to the application database.
GetBrandXML
  getAttributeXML : GetAttributeXML
Instantiates the GetAttributeXML class.
GetBrandXML
Public Methods
 MethodDefined by
  
GetBrandXML(brandID:int)
Constructor.
GetBrandXML
Protected Methods
 MethodDefined by
  
init():void
Init.
GetBrandXML
  
onDBStatementSelectResult(event:SQLEvent):void
Forms the records from the application database that comprise the brand data retrieved into XML.
GetBrandXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetBrandXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise brand data based on the variable brandID.
GetBrandXML
Property detail
brandIDproperty
public var brandID:int

Holds the brandID value for queries used to locate the brand database records.

brandxmlproperty 
public var brandxml:XMLList

Holds the brandxml value for the XMLList returned from the data queries to the application database.

getAttributeXMLproperty 
public var getAttributeXML:GetAttributeXML

Instantiates the GetAttributeXML class.

See also

Constructor detail
GetBrandXML()constructor
public function GetBrandXML(brandID:int)

Constructor.

Parameters
brandID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onDBStatementSelectResult()method 
protected function onDBStatementSelectResult(event:SQLEvent):void

Forms the records from the application database that comprise the brand data retrieved into XML.

Parameters
event:SQLEventSQLEvent
onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Retrieves the root records from the application database that comprise brand data based on the variable brandID. If a 0 is passed for brandID then all brand records are returned.

Parameters
event:SQLEventSQLEvent

See also