Package | at.db |
Class | public class GetBrandXML |
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
GetBrandXML(brandID:int)
Constructor.
| GetBrandXML |
Method | Defined 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 |
brandID | property |
public var brandID:int
Holds the brandID
value for queries used to locate the brand database records.
brandxml | property |
public var brandxml:XMLList
Holds the brandxml
value for the XMLList returned from the data queries to the application database.
getAttributeXML | property |
GetBrandXML | () | constructor |
public function GetBrandXML(brandID:int)
Constructor.
ParametersbrandID:int |
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.
Parametersevent:SQLEvent — SQLEvent
|
onEveDBError | () | method |
protected function onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
Parametersevent:SQLEvent — SQLEvent
|
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.
event:SQLEvent — SQLEvent
|
See also