%Dictionary.CompiledConstraint
Class %Dictionary.CompiledConstraint Extends (%Persistent, %Dictionary.CompiledConstraintQuery) [ StorageStrategy = custom, System = 2 ]
Parameters
SQLENABLED
Parameter SQLENABLED = 1;
Properties
parent
Relationship parent As %Dictionary.CompiledClass [ Cardinality = parent, Inverse = Constraints ];
Pointer to the containing parent object
%isDefined
Property %isDefined As %RawString [ MultiDimensional, Private, Transient ];
Stores the DEFINED state of each attribute.
Category
Property Category As %RawString;
Specifies the type of constraint.
CompilerGenerated
Property CompilerGenerated As %Boolean;
CompilerGenerated
Deferrable
Property Deferrable As %Boolean [ SqlFieldName = _Deferrable ];
Deferrable
Deprecated
Property Deprecated As %Boolean;
True if this constraint is deprecated.
Final
Property Final As %Boolean;
Final
FormalSpec
Property FormalSpec As %RawString;
Specifies the list of arguments that are passed to the constraint.
FormalSpecParsed
Property FormalSpecParsed As %RawString;
FormalSpecParsed
GeneratedFrom
Property GeneratedFrom As %RawString;
Specifies the name of the class member from which this constraint is generated, member type depends on the value of the Category keyword.
Id
Property Id As %Integer;
Id
InheritedId
Property InheritedId As %Boolean;
InheritedId
Initialmode
Property Initialmode As %RawString;
Initialmode
KeywordError
Property KeywordError As %Boolean;
KeywordError
KeywordModified
Property KeywordModified As %Boolean;
KeywordModified
Methods
Relationship Methods As %Dictionary.CompiledConstraintMethod [ Cardinality = children, Inverse = parent ];
Method
Name
Property Name As %Dictionary.Identifier [ Required ];
Name
NotInheritable
Property NotInheritable As %Boolean;
NotInheritable
Origin
Property Origin As %RawString;
Origin
Parameters
Property Parameters As array Of %RawString;
Parameter
SqlName
Property SqlName As %RawString;
SqlName
Type
Property Type As %RawString;
Type
Triggers
OnInsertUpdate
Trigger OnInsertUpdate [ Event = INSERT/UPDATE ]
OnDelete
Trigger OnDelete [ Event = DELETE ]
Methods
%OnNew
Method %OnNew(name As %String) As %Status [ Private ]
%LockId
ClassMethod %LockId(id As %String, shared As %Boolean = 0, timeout As %Integer) As %Status
%UnlockId
ClassMethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) As %Status
%Exists
ClassMethod %Exists(oid As %ObjectIdentity) As %Boolean
%LoadData
Method %LoadData(id As %String) As %Status [ Private ]
%SaveData
Method %SaveData(id As %String) As %Status [ Private ]
%DeleteData
ClassMethod %DeleteData(id As %String, concurrency As %Integer) As %Status [ Private ]
DeprecatedSet
Method DeprecatedSet(value As %String = "") As %Status
DeprecatedReset
Method DeprecatedReset()
DeprecatedIsDefined
Method DeprecatedIsDefined() As %Boolean
parentOnDelete
ClassMethod parentOnDelete(id As %String, concurrency As %Integer) As %Status