Packageat.db
Classpublic class RepBag

Class for creating a single object for the table tbl_RepBag in the application database.



Public Properties
 PropertyDefined by
  activeAdd : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_RepBag in the application database.
RepBag
  attributeidAdd : int
Holds the attributeid value to be inserted into the attributeid column of the table tbl_RepBag in the application database.
RepBag
  commentsAdd : String
Holds the comments value to be inserted into the comments column of the table tbl_RepBag in the application database.
RepBag
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_RepBag in the application database.
RepBag
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_RepBag in the application database.
RepBag
  descriptionAdd : String
Holds the description value to be inserted into the description column of the table tbl_RepBag in the application database.
RepBag
  eveidAdd : String
Holds the eveid value to be inserted into the eveid column of the table tbl_RepBag in the application database.
RepBag
  evevalueAdd : String
Holds the evevalue value to be inserted into the evevalue column of the table tbl_RepBag in the application database.
RepBag
  id2Add : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_RepBag in the application database.
RepBag
  indicationidAdd : int
Holds the indicationid value to be inserted into the indicationid column of the table tbl_RepBag in the application database.
RepBag
  levelAdd : int
Holds the level value to be inserted into the level column of the table tbl_RepBag in the application database.
RepBag
  nameAdd : String
Holds the name value to be inserted into the name column of the table tbl_RepBag in the application database.
RepBag
  repidAdd : int
Holds the repid value to be inserted into the repid column of the table tbl_RepBag in the application database.
RepBag
  slideidAdd : int
Holds the slideid value to be inserted into the slideid column of the table tbl_RepBag in the application database.
RepBag
  typeidAdd : int
Holds the typeid value to be inserted into the typeid column of the table tbl_RepBag in the application database.
RepBag
  versionAdd : int = 0
Holds the version value to be inserted into the version column of the table tbl_RepBag in the application database.
RepBag
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_RepBag in the application database.
RepBag
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_RepBag in the application database.
RepBag
Public Methods
 MethodDefined by
  
RepBag(id2Input:int, indicationidInput:int, repidInput:int, typeidInput:int, eveidInput:String, slideidInput:int, evevalueInput:String, attributeidInput:int, levelInput:int, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
RepBag
Protected Methods
 MethodDefined by
  
init():void
Init.
RepBag
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
RepBag
  
onEveDBOpened(event:SQLEvent):void
Creates a table if it does not already exist then adds a new record to the table tbl_RepBag.
RepBag
Property detail
activeAddproperty
public var activeAdd:String = "Y"

Holds the active value to be inserted into the active column of the table tbl_RepBag in the application database.

The default value is Y.

attributeidAddproperty 
public var attributeidAdd:int

Holds the attributeid value to be inserted into the attributeid column of the table tbl_RepBag in the application database.

commentsAddproperty 
public var commentsAdd:String

Holds the comments value to be inserted into the comments column of the table tbl_RepBag in the application database.

datecreatedproperty 
public var datecreated:String

Holds the datecreated value to be inserted into the datecreated column of the table tbl_RepBag in the application database.

datemodifiedproperty 
public var datemodified:String

Holds the datemodified value to be inserted into the datemodified column of the table tbl_RepBag in the application database.

descriptionAddproperty 
public var descriptionAdd:String

Holds the description value to be inserted into the description column of the table tbl_RepBag in the application database.

eveidAddproperty 
public var eveidAdd:String

Holds the eveid value to be inserted into the eveid column of the table tbl_RepBag in the application database.

evevalueAddproperty 
public var evevalueAdd:String

Holds the evevalue value to be inserted into the evevalue column of the table tbl_RepBag in the application database.

id2Addproperty 
public var id2Add:int = 0

Holds the id2 value to be inserted into the id2 column of the table tbl_RepBag in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

indicationidAddproperty 
public var indicationidAdd:int

Holds the indicationid value to be inserted into the indicationid column of the table tbl_RepBag in the application database.

levelAddproperty 
public var levelAdd:int

Holds the level value to be inserted into the level column of the table tbl_RepBag in the application database.

nameAddproperty 
public var nameAdd:String

Holds the name value to be inserted into the name column of the table tbl_RepBag in the application database.

repidAddproperty 
public var repidAdd:int

Holds the repid value to be inserted into the repid column of the table tbl_RepBag in the application database.

slideidAddproperty 
public var slideidAdd:int

Holds the slideid value to be inserted into the slideid column of the table tbl_RepBag in the application database.

typeidAddproperty 
public var typeidAdd:int

Holds the typeid value to be inserted into the typeid column of the table tbl_RepBag in the application database.

versionAddproperty 
public var versionAdd:int = 0

Holds the version value to be inserted into the version column of the table tbl_RepBag in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

whocreatedproperty 
public var whocreated:int

Holds the whocreated value to be inserted into the whocreated column of the table tbl_RepBag in the application database.

whomodifiedproperty 
public var whomodified:int

Holds the whomodified value to be inserted into the whomodified column of the table tbl_RepBag in the application database.

Constructor detail
RepBag()constructor
public function RepBag(id2Input:int, indicationidInput:int, repidInput:int, typeidInput:int, eveidInput:String, slideidInput:int, evevalueInput:String, attributeidInput:int, levelInput:int, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
id2Input:int
 
indicationidInput:int
 
repidInput:int
 
typeidInput:int
 
eveidInput:String
 
slideidInput:int
 
evevalueInput:String
 
attributeidInput:int
 
levelInput:int
 
nameInput:String
 
descriptionInput:String
 
commentsInput:String
 
versionInput:int
 
activeInput:String
Method detail
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.

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

Creates a table if it does not already exist then adds a new record to the table tbl_RepBag.

Parameters
event:SQLEventSQLEvent