Packageat.db
Classpublic class CallType

Class for creating a single object for the table tbl_CallType 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_CallType in the application database.
CallType
  bookmark : Bookmark
Helper class for the Bookmark table.
CallType
  bookmarkattribute : BookmarkAttribute
Helper class for the Bookmark Attribute table.
CallType
  callstructureAdd : String
Holds the callstructure value to be inserted into the callstructure column of the table tbl_CallType in the application database.
CallType
  commentsAdd : String
Holds the comments value to be inserted into the comments column of the table tbl_CallType in the application database.
CallType
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_CallType in the application database.
CallType
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_CallType in the application database.
CallType
  descriptionAdd : String
Holds the description value to be inserted into the description column of the table tbl_CallType in the application database.
CallType
  id2Add : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_CallType in the application database.
CallType
  indicationidAdd : int
Holds the indicationid value to be inserted into the indicationid column of the table tbl_CallType in the application database.
CallType
  iseditableAdd : String
Holds the iseditable value to be inserted into the iseditable column of the table tbl_CallType in the application database.
CallType
  isEditableAttributeID : int
Holds the isEditableAttributeID value that represents the record id for the isEditable attribute in the application database.
CallType
  nameAdd : String
Holds the name value to be inserted into the name column of the table tbl_CallType in the application database.
CallType
  repidAdd : int
Holds the repid value to be inserted into the repid column of the table tbl_CallType in the application database.
CallType
  titleabbreviationAdd : String
Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallType in the application database.
CallType
  versionAdd : int = 0
Holds the version value to be inserted into the version column of the table tbl_CallType in the application database.
CallType
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_CallType in the application database.
CallType
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_CallType in the application database.
CallType
Public Methods
 MethodDefined by
  
CallType(id2Input:int, indicationidInput:int, repidInput:int, callstructureInput:String, titleabbreviationInput:String, iseditableInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
CallType
Protected Methods
 MethodDefined by
  
init():void
Init.
CallType
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
CallType
  
onEveDBOpened(event:SQLEvent):void
Creates a table if it does not already exist then adds a new record to the table tbl_CallType.
CallType
Property detail
activeAddproperty
public var activeAdd:String = "Y"

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

The default value is Y.

bookmarkproperty 
public var bookmark:Bookmark

Helper class for the Bookmark table. This is used by this class to insure that a default booomark is set up for the CallType during insertion.

bookmarkattributeproperty 
public var bookmarkattribute:BookmarkAttribute

Helper class for the Bookmark Attribute table. This is used by this class to insure that default booomark attributes are set up for the Bookmark associated with the CallType during insertion.

callstructureAddproperty 
public var callstructureAdd:String

Holds the callstructure value to be inserted into the callstructure column of the table tbl_CallType in the application database.

commentsAddproperty 
public var commentsAdd:String

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

datecreatedproperty 
public var datecreated:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionAddproperty 
public var descriptionAdd:String

Holds the description value to be inserted into the description column of the table tbl_CallType 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_CallType 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_CallType in the application database.

iseditableAddproperty 
public var iseditableAdd:String

Holds the iseditable value to be inserted into the iseditable column of the table tbl_CallType in the application database.

isEditableAttributeIDproperty 
public var isEditableAttributeID:int

Holds the isEditableAttributeID value that represents the record id for the isEditable attribute in the application database.

nameAddproperty 
public var nameAdd:String

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

repidAddproperty 
public var repidAdd:int

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

titleabbreviationAddproperty 
public var titleabbreviationAdd:String

Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallType 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_CallType 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_CallType in the application database.

whomodifiedproperty 
public var whomodified:int

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

Constructor detail
CallType()constructor
public function CallType(id2Input:int, indicationidInput:int, repidInput:int, callstructureInput:String, titleabbreviationInput:String, iseditableInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
id2Input:int
 
indicationidInput:int
 
repidInput:int
 
callstructureInput:String
 
titleabbreviationInput:String
 
iseditableInput: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_CallType.

Parameters
event:SQLEventSQLEvent