Package | at.db |
Class | public class ParseRepBagDataXML |
Property | Defined by | ||
---|---|---|---|
deleteRepBagAttribute : DeleteRepBagAttributeByRepBagID
Instantiates the
DeleteRepBagAttributeByRepBagID class. | ParseRepBagDataXML | ||
deleteRepBagItem : DeleteDBRecord
Instantiates the
DeleteDBRecord class. | ParseRepBagDataXML | ||
eveid : String = ""
Holds the
eveid value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
icon : String = ""
Holds the
icon value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
iconAttributeID : int
Holds the
iconAttributeID value for the attribute named "icon". | ParseRepBagDataXML | ||
indicationid : int = 0
Holds the
indicationid value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
indicationID : int
Holds the
indicationID value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
insertRepBagAttribute : RepBagAttribute
Instantiates the
RepBagAttribute class. | ParseRepBagDataXML | ||
level : int = 0
Holds the
level value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
name : String = ""
Holds the
name value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
recordCount : int
Holds the
recordCount value of looped data during parsing. | ParseRepBagDataXML | ||
recordCount2 : int
Holds the
recordCount value of looped data during parsing. | ParseRepBagDataXML | ||
repBagArrayFinal : Array
Holds the
repBagArrayFinal values as an array that is used to later remove
erroneous records from the application database. | ParseRepBagDataXML | ||
repBagArrayNew : Array
Holds the
repBagArrayNew values as an array that is used to later remove
erroneous records from the application database. | ParseRepBagDataXML | ||
repBagArrayOld : Array
Holds the
repBagArrayOld values as an array that is used to later remove
erroneous records from the application database. | ParseRepBagDataXML | ||
repbagid : int = 0
Holds the
repbagid value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
repID : int
Holds the
repID value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
type : String = ""
Holds the
type value obtained from the XML data passed into the class. | ParseRepBagDataXML | ||
typeAttributeID : int
Holds the
typeAttributeID value for the attribute named "type". | ParseRepBagDataXML | ||
updateRepBag : UpdateRepBag
Instantiates the
UpdateRepBag class. | ParseRepBagDataXML | ||
xmlData : XML
Holds the
xmlData value that is passed into the class. | ParseRepBagDataXML | ||
xmlDataList : XMLList
Holds the
xmlDataList value XMLList of the XML data passed into the class. | ParseRepBagDataXML | ||
xmlDataList2 : XMLList
Holds the
xmlDataList2 value XMLList of the XML data passed into the class. | ParseRepBagDataXML | ||
xmlDataList3 : XMLList
Holds the
xmlDataList3 value XMLList of the XML data passed into the class. | ParseRepBagDataXML |
Method | Defined by | ||
---|---|---|---|
ParseRepBagDataXML(xmlData:XML)
Constructor.
| ParseRepBagDataXML |
Method | Defined by | ||
---|---|---|---|
deleteErroneousRepBagItems(repBagArray:Array):void
Method for removing erroneous rep bag records and rep bag attribute records from the
application database based on arrays derived from xml parsed in this class.
| ParseRepBagDataXML | ||
init():void
Init.
| ParseRepBagDataXML | ||
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
| ParseRepBagDataXML | ||
onEveDBOpened(event:SQLEvent):void
This method obtains primary variable values derived from
xmlData . | ParseRepBagDataXML |
deleteRepBagAttribute | property |
public var deleteRepBagAttribute:DeleteRepBagAttributeByRepBagID
Instantiates the DeleteRepBagAttributeByRepBagID
class.
See also
deleteRepBagItem | property |
eveid | property |
public var eveid:String = ""
Holds the eveid
value obtained from the XML data passed into the class.
icon | property |
public var icon:String = ""
Holds the icon
value obtained from the XML data passed into the class.
iconAttributeID | property |
public var iconAttributeID:int
Holds the iconAttributeID
value for the attribute named "icon".
indicationid | property |
public var indicationid:int = 0
Holds the indicationid
value obtained from the XML data passed into the class.
indicationID | property |
public var indicationID:int
Holds the indicationID
value obtained from the XML data passed into the class.
insertRepBagAttribute | property |
level | property |
public var level:int = 0
Holds the level
value obtained from the XML data passed into the class.
The default value is 0
.
name | property |
public var name:String = ""
Holds the name
value obtained from the XML data passed into the class.
recordCount | property |
public var recordCount:int
Holds the recordCount
value of looped data during parsing.
recordCount2 | property |
public var recordCount2:int
Holds the recordCount
value of looped data during parsing.
repBagArrayFinal | property |
public var repBagArrayFinal:Array
Holds the repBagArrayFinal
values as an array that is used to later remove
erroneous records from the application database.
repBagArrayNew | property |
public var repBagArrayNew:Array
Holds the repBagArrayNew
values as an array that is used to later remove
erroneous records from the application database.
repBagArrayOld | property |
public var repBagArrayOld:Array
Holds the repBagArrayOld
values as an array that is used to later remove
erroneous records from the application database.
repbagid | property |
public var repbagid:int = 0
Holds the repbagid
value obtained from the XML data passed into the class.
repID | property |
public var repID:int
Holds the repID
value obtained from the XML data passed into the class.
type | property |
public var type:String = ""
Holds the type
value obtained from the XML data passed into the class.
typeAttributeID | property |
public var typeAttributeID:int
Holds the typeAttributeID
value for the attribute named "type".
updateRepBag | property |
xmlData | property |
public var xmlData:XML
Holds the xmlData
value that is passed into the class.
xmlDataList | property |
public var xmlDataList:XMLList
Holds the xmlDataList
value XMLList of the XML data passed into the class.
xmlDataList2 | property |
public var xmlDataList2:XMLList
Holds the xmlDataList2
value XMLList of the XML data passed into the class.
xmlDataList3 | property |
public var xmlDataList3:XMLList
Holds the xmlDataList3
value XMLList of the XML data passed into the class.
ParseRepBagDataXML | () | constructor |
public function ParseRepBagDataXML(xmlData:XML)
Constructor. The attribute level
in the repbag element nodes specifies which parent that it
belongs to. The RebBag object has been designed to go 3 levels deep.
xmlData:XML |
deleteErroneousRepBagItems | () | method |
protected function deleteErroneousRepBagItems(repBagArray:Array):void
Method for removing erroneous rep bag records and rep bag attribute records from the application database based on arrays derived from xml parsed in this class.
ParametersrepBagArray:Array |
init | () | method |
protected function init():void
Init. Establishes connection to the application database.
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
This method obtains primary variable values derived from xmlData
. It also invokes helper
class DeleteRepBag
to delete existing rep bag data as it utilizes a 3-pass loop method for
getting item results that adhere to a 3-level heirarchy.
This method also uses helper class DeleteDBRecord
to delete existing rep bag attribute data,
helper class RepBag
to insert parsed rep bag data and helper class RepBagAttribute
to insert parsed rep bag attribute data.
Parameters
event:SQLEvent — SQLEvent
|
See also