Class Reference
  [%SYS] >  [%Library] >  [TriggerDefinition]
Private  Storage

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 Class Dictionary.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


ClassName Code Deprecated Description Event
Internal Name Order SequenceNumber Time

%AddToSaveSet %AddToSyncSet %BuildIndices %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%IsA %IsModified %IsNull %KillExtent
%LockExtent %LockId %New %NormalizeObject
%ObjectIsNull %ObjectModified %Oid %OnBeforeAddToSync
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject GetTransientState SetTransientState
lb li ll


• property ClassName as %RawString;
A string containing the name of the class the SQL trigger belongs to.
• property Code as %RawString;
A string containing the code for the SQL trigger.
• property Deprecated as %RawString;
A flag indicating if this trigger is deprecated (1) or not (0).
• property Description as %RawString;
A string containing a description of the SQL trigger.
• property Event as %RawString;
A string containing the name of event the trigger is associated with. This can be "INSERT", "UPDATE", or "DELETE".
• property Internal as %RawString;
A flag indicating whether the trigger is internal (1) or not (0).
• property Name as %RawString;
A string containing the name of the SQL trigger.
• property Order as %RawString;
A number indicating the order in which the trigger should be fired.
• property SequenceNumber as %RawString;
Sequence number used to determine order of this item in Studio editor and in XML export format.
• property Time as %RawString [ InitialExpression = "BEFORE" ];
A string containing the name of event modifier for the trigger. This can be "BEFORE" or "AFTER".

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.