persistent class %Dictionary.StorageDataDefinition
extends %Persistent
parameter SQLENABLED = 1;
property Attribute
as %CacheString;
Attribute
property Name
as %CacheString;
Specifies the name of the StorageData definition. This name must be a valid storage member name and must not conflict with any other StorageData names.
property Structure
as %CacheString [ InitialExpression = "listnode" ];
Specifies how the data is stored into a global node.
property Subscript
as %CacheString;
Subscript
relationship Values
as %Dictionary.StorageDataValueDefinition [ Inverse = parent,Cardinality = children ];
Value
relationship parent
as %Dictionary.StorageDefinition [ Inverse = Data,Cardinality = parent ];
Pointer to the containing parent object
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.
classmethod StructureIsValid(val As %String)
as %Status
index (IDKEY on Name) [IdKey];
trigger OnDelete
(AFTER event DELETE) trigger OnInsertUpdate
(BEFORE event INSERT/UPDATE)