Packageat.db
Classpublic class Indication

Class for creating a single object for the table tbl_Indication 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_Indication in the application database.
Indication
  brandidAdd : int
Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.
Indication
  commentsAdd : String
Holds the comments value to be inserted into the comments column of the table tbl_Indication in the application database.
Indication
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_Indication in the application database.
Indication
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_Indication in the application database.
Indication
  defaultcallidAdd : int
Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.
Indication
  descriptionAdd : String
Holds the description value to be inserted into the description column of the table tbl_Indication in the application database.
Indication
  eveidAdd : String
Holds the eveid value to be inserted into the eveid column of the table tbl_Indication in the application database.
Indication
  id2Add : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_Indication in the application database.
Indication
  nameAdd : String
Holds the name value to be inserted into the name column of the table tbl_Indication in the application database.
Indication
  versionAdd : int = 0
Holds the version value to be inserted into the version column of the table tbl_Indication in the application database.
Indication
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_Indication in the application database.
Indication
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_Indication in the application database.
Indication
Public Methods
 MethodDefined by
  
Indication(id2Input:int, defaultcallidInput:int, brandidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
Indication
Protected Methods
 MethodDefined by
  
init():void
Init.
Indication
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
Indication
  
onEveDBOpened(event:SQLEvent):void
Creates a table if it does not already exist then adds a new record to the table tbl_Indication.
Indication
Property detail
activeAddproperty
public var activeAdd:String = "Y"

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

The default value is Y.

brandidAddproperty 
public var brandidAdd:int

Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.

commentsAddproperty 
public var commentsAdd:String

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

datecreatedproperty 
public var datecreated:String

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

datemodifiedproperty 
public var datemodified:String

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

defaultcallidAddproperty 
public var defaultcallidAdd:int

Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.

descriptionAddproperty 
public var descriptionAdd:String

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

eveidAddproperty 
public var eveidAdd:String

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

The default value is 0.

nameAddproperty 
public var nameAdd:String

Holds the name value to be inserted into the name column of the table tbl_Indication 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_Indication 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_Indication in the application database.

whomodifiedproperty 
public var whomodified:int

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

Constructor detail
Indication()constructor
public function Indication(id2Input:int, defaultcallidInput:int, brandidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
id2Input:int
 
defaultcallidInput:int
 
brandidInput:int
 
eveidInput: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_Indication.

Parameters
event:SQLEventSQLEvent