Packageat.db
Classpublic class GetBrandByIndicationIDXML

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



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

indicationIDproperty 
public var indicationID:int

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

Constructor detail
GetBrandByIndicationIDXML()constructor
public function GetBrandByIndicationIDXML(indicationID:int)

Constructor.

Parameters
indicationID: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 indicationID.

Parameters
event:SQLEventSQLEvent

See also