Class Reference
%Dictionary.CompiledConstraint
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [USER] >  [%Dictionary] >  [CompiledConstraint]
Private  Storage

persistent class %Dictionary.CompiledConstraint extends %Persistent, %Dictionary.CompiledConstraintQuery

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 20 7 1 2


Summary

Properties
Category CompilerGenerated Deferrable Final
FormalSpec FormalSpecParsed GeneratedFrom Id
InheritedId Initialmode KeywordError KeywordModified
Methods Name NotInheritable Origin
Parameters SqlName Type parent

Methods
%%OIDGet %AddToSaveSet %AddToSyncSet %BuildIndices
%CheckUnique %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 %KillExtent %LockExtent
%LockId %New %NormalizeObject %ObjectModified
%Oid %OnBeforeAddToSync %OnDetermineClass %Open
%OpenId %OriginalNamespace %PackageName %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SerializeObject %SetModified
%SortBegin %SortEnd %SyncObjectIn %SyncTransport
%UnlockExtent %UnlockId %ValidateObject SummaryClose
SummaryExecute SummaryFetch


Parameters

• parameter SQLENABLED = 1;

Properties

• property Category as %CacheString;
Specifies the type of constraint.
• property CompilerGenerated as %Boolean;
CompilerGenerated
• property Deferrable as %Boolean [ SqlFieldName = _Deferrable ];
Deferrable
• property Final as %Boolean;
Final
• property FormalSpec as %CacheString;
Specifies the list of arguments that are passed to the constraint.
• property FormalSpecParsed as %CacheString;
FormalSpecParsed
• property GeneratedFrom as %CacheString;
Specifies the name of the class member from which this constraint is generated, member type depends on the value of the Category keyword.
• property Id as %Integer;
Id
• property InheritedId as %Boolean;
InheritedId
• property Initialmode as %CacheString;
Initialmode
• property KeywordError as %Boolean;
KeywordError
• property KeywordModified as %Boolean;
KeywordModified
• relationship Methods as %Dictionary.CompiledConstraintMethod [ Inverse = parent,Cardinality = children ];
Method
• property Name as %Dictionary.CacheIdentifier;
Name
• property NotInheritable as %Boolean;
NotInheritable
• property Origin as %CacheString;
Origin
• property Parameters as array of %CacheString;
Parameter
• property SqlName as %CacheString;
SqlName
• property Type as %CacheString;
Type
• relationship parent as %Dictionary.CompiledClass [ Inverse = Constraints,Cardinality = parent ];
Pointer to the containing parent object

Methods

• classmethod %Exists(oid As %ObjectIdentity) as %Boolean
Checks to see if the object identified by the OID oid exists in the extent.

Returns %Boolean TRUE if it exists, FALSE if it does not.

• classmethod %LockId(id As %String, shared As %Boolean = 0) as %Status
%LockId() Obtain an exclusive or shared lock on the object identified by id. The type of lock obtained is determined by shared. This method is normally generated by the storage class for persistent classes using %Library.CacheStorage or %Library.CacheSQLStorage.
• classmethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) as %Status
%UnlockId() Release an exclusive or shared lock on the object identified by id. The type of lock released is determined by shared. If this method is not overridden then the default implementation returns an error. This method is normally generated by the storage class for persistent classes using %Library.CacheStorage or %Library.CacheSQLStorage.

Indices

• index (IDKEY on Name) [IdKey];

Triggers

• trigger OnDelete (BEFORE event DELETE)
• trigger OnInsertUpdate (BEFORE event INSERT/UPDATE)