persistent class %Library.TriggerDefinition
extends %AbstractDefinition
Note: The class definition classes in the %Library package have been superceded
by those in the %Dictionary package.
This class represents a specific SQL trigger description for a class contained
within the Caché Dictionary.
For more information on class definition classes, refer to
About Class Definition Classes.
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
9
|
|
|
|
|
|
property ClassName
as %CacheString;
A string containing the name of the class the SQL trigger belongs to.
property Code
as %CacheString;
A string containing the code for the SQL trigger.
property Description
as %CacheString;
A string containing a description of the SQL trigger.
property Event
as %CacheString;
A string containing the name of event the trigger is associated with.
This can be "INSERT", "UPDATE", or "DELETE".
property Internal
as %CacheString;
A flag indicating whether the trigger is internal (1) or not (0).
property Name
as %CacheString;
A string containing the name of the SQL trigger.
property Order
as %CacheString;
A number indicating the order in which the trigger should be fired.
property SequenceNumber
as %CacheString;
Sequence number used to determine order of this item in Studio editor and in XML export format.
property Time
as %CacheString [ InitialExpression = "BEFORE" ];
A string containing the name of event modifier for the trigger.
This can be "BEFORE" or "AFTER".