Packageat.db
Classpublic class Rep

Class for creating a single object for the table tbl_Rep 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_Rep in the application database.
Rep
  commentsAdd : String
Holds the comments value to be inserted into the comments column of the table tbl_Rep in the application database.
Rep
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_Rep in the application database.
Rep
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_Rep in the application database.
Rep
  descriptionAdd : String
Holds the description value to be inserted into the description column of the table tbl_Rep in the application database.
Rep
  emailaddressAdd : String
Holds the emailaddress value to be inserted into the emailaddress column of the table tbl_Rep in the application database.
Rep
  extrepidAdd : String
Holds the extrepid value to be inserted into the extrepid column of the table tbl_Rep in the application database.
Rep
  firstnameAdd : String
Holds the firstname value to be inserted into the firstname column of the table tbl_Rep in the application database.
Rep
  id2Add : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_Rep in the application database.
Rep
  lastnameAdd : String
Holds the lastname value to be inserted into the lastname column of the table tbl_Rep in the application database.
Rep
  nameAdd : String
Holds the name value to be inserted into the name column of the table tbl_Rep in the application database.
Rep
  passwordAdd : String
Holds the password value to be inserted into the password column of the table tbl_Rep in the application database.
Rep
  usernameAdd : String
Holds the username value to be inserted into the username column of the table tbl_Rep in the application database.
Rep
  versionAdd : int = 0
Holds the version value to be inserted into the version column of the table tbl_Rep in the application database.
Rep
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_Rep in the application database.
Rep
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_Rep in the application database.
Rep
Public Methods
 MethodDefined by
  
Rep(id2Input:int, extrepidInput:String, firstnameInput:String, lastnameInput:String, emailaddressInput:String, usernameInput:String, passwordInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
Rep
Protected Methods
 MethodDefined by
  
init():void
Init.
Rep
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
Rep
  
onEveDBOpened(event:SQLEvent):void
Creates a table if it does not already exist then adds a new record to the table tbl_Rep.
Rep
Property detail
activeAddproperty
public var activeAdd:String = "Y"

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

The default value is Y.

commentsAddproperty 
public var commentsAdd:String

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

datecreatedproperty 
public var datecreated:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionAddproperty 
public var descriptionAdd:String

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

emailaddressAddproperty 
public var emailaddressAdd:String

Holds the emailaddress value to be inserted into the emailaddress column of the table tbl_Rep in the application database.

extrepidAddproperty 
public var extrepidAdd:String

Holds the extrepid value to be inserted into the extrepid column of the table tbl_Rep in the application database.

firstnameAddproperty 
public var firstnameAdd:String

Holds the firstname value to be inserted into the firstname column of the table tbl_Rep 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_Rep in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

lastnameAddproperty 
public var lastnameAdd:String

Holds the lastname value to be inserted into the lastname column of the table tbl_Rep in the application database.

nameAddproperty 
public var nameAdd:String

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

passwordAddproperty 
public var passwordAdd:String

Holds the password value to be inserted into the password column of the table tbl_Rep in the application database.

usernameAddproperty 
public var usernameAdd:String

Holds the username value to be inserted into the username column of the table tbl_Rep 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_Rep 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_Rep in the application database.

whomodifiedproperty 
public var whomodified:int

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

Constructor detail
Rep()constructor
public function Rep(id2Input:int, extrepidInput:String, firstnameInput:String, lastnameInput:String, emailaddressInput:String, usernameInput:String, passwordInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
id2Input:int
 
extrepidInput:String
 
firstnameInput:String
 
lastnameInput:String
 
emailaddressInput:String
 
usernameInput:String
 
passwordInput:String
 
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_Rep.

Parameters
event:SQLEventSQLEvent