BBjTriggerData

Creation Path

BBjAPI

|

+--BBjFileSystem

|

+--BBjTriggerData

Description

In BBj 6.0 and higher, BBjTriggerData provides access to the running trigger.

Creation

Return Value

Method

BBjTriggerData

getTriggerData()

Methods of BBjTriggerData

Return Value

Method

boolean

getAllowOverwrite()

string

getBBjProgram()

BBjNumber

getDirection()

boolean

getDOM()

string

getExpectedDiskData()

boolean

getExtract()

boolean

getField()

string

getFileComment()

string

getFilename()

boolean

getFind()

string

getIDString()

BBjNumber

getIndex()

string

getKey()

string

getKeyCallType()

string

getKeyDescriptions()

string

getKeyName()

int

getKeyNumber()

string

getModeValue(string p_modeKey)

string

getReadBuffer()

BBjNumber

getSize()

int

getTimeOut()

string

getTriggerType()

string

getUser()

string

getWriteBuffer()

void

setEOF()

void

setExpectedDiskData(string p_value)

void

setReadBuffer(string p_data)

void

setWriteBuffer(string p_value)

Remarks

The BBjTriggerData is available only during execution of a file system trigger.

Example

REM Get a Trigger object from the BBj File System
tt! = BBjAPI().getFileSystem().getTriggerData()

See Also

BBjAPI

BBjStoredProcedureData

BBjFileSystem

CREATE/ALTER PROCEDURE

CREATE/ALTER TRIGGER

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.