Packageat.db
Classpublic class GetIndicationByBrandIDXML

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



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

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

getAttributeXMLproperty 
public var getAttributeXML:GetAttributeXML

Instantiates the GetAttributeXML class.

See also

indicationbybrandidxmlproperty 
public var indicationbybrandidxml:XMLList

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

Constructor detail
GetIndicationByBrandIDXML()constructor
public function GetIndicationByBrandIDXML(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 indication 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 indication data based on the variable brandID.

Parameters
event:SQLEventSQLEvent

See also