Skip to main content

%Library.TriggerDefinition

SQL Table Name: %Library.TriggerDefinition

Note: The class definition classes in the %Library package have been superceded by those in the %Dictionary package. Instead use %Dictionary.TriggerDefinition.

This class represents a specific SQL trigger description.

Property Inventory

Properties

property ClassName as %RawString;
A string containing the name of the class the SQL trigger belongs to.
Property methods: ClassNameGet(), ClassNameIsValid(), ClassNameSet()
property Code as %RawString;
A string containing the code for the SQL trigger.
Property methods: CodeGet(), CodeIsValid(), CodeSet()
property Deprecated as %RawString;
A flag indicating if this trigger is deprecated (1) or not (0).
Property methods: DeprecatedGet(), DeprecatedIsValid(), DeprecatedSet()
property Description as %RawString;
A string containing a description of the SQL trigger.
Property methods: DescriptionGet(), DescriptionIsValid(), DescriptionSet()
property Event as %RawString;
A string containing the name of event the trigger is associated with. This can be "INSERT", "UPDATE", or "DELETE".
Property methods: EventGet(), EventIsValid(), EventSet()
property Internal as %RawString;
A flag indicating whether the trigger is internal (1) or not (0).
Property methods: InternalGet(), InternalIsValid(), InternalSet()
property Name as %RawString;
A string containing the name of the SQL trigger.
Property methods: NameGet(), NameIsValid(), NameSet()
property Order as %RawString;
A number indicating the order in which the trigger should be fired.
Property methods: OrderGet(), OrderIsValid(), OrderSet()
property SequenceNumber as %RawString;
Sequence number used to determine order of this item in Studio editor and in XML export format.
Property methods: SequenceNumberGet(), SequenceNumberIsValid(), SequenceNumberSet()
property Time as %RawString [ InitialExpression = "BEFORE" ];
A string containing the name of event modifier for the trigger. This can be "BEFORE" or "AFTER".
Property methods: TimeGet(), TimeIsValid(), TimeSet()

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%Library.AbstractDefinition)

^%Library.AbstractDefinitionD(ID)
=
%%CLASSNAME
FeedbackOpens in a new tab