Home > Class Reference > ENSLIB namespace > %Dictionary.StorageSQLMapRowIdSpecDefinition

%Dictionary.StorageSQLMapRowIdSpecDefinition

persistent class %Dictionary.StorageSQLMapRowIdSpecDefinition extends %Library.Persistent

SQL Table Name: %Dictionary.StorageSQLMapRowIdSpecDefinition

Parameters

parameter SQLENABLED = 1;

Properties

property Expression as %CacheString;
Expression
Property methods: ExpressionGet(), ExpressionIsValid(), ExpressionSet()
property Field as %CacheString;
Field
Property methods: FieldGet(), FieldIsValid(), FieldSet()
property Name as %Integer [ Required ];
Name
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameNormalize(), NameSet()
relationship parent as %Dictionary.StorageSQLMapDefinition [ Required , Inverse = RowIdSpecs , Cardinality = parent ];
Pointer to the containing parent object
Property methods: parentCheck(), parentDelete(), parentGet(), parentGetObject(), parentGetObjectId(), parentGetSwizzled(), parentIsValid(), parentNewObject(), parentOnDelete(), parentRClose(), parentRExec(), parentRFetch(), parentRelate(), parentSQLCompute(), parentSet(), parentSetObject(), parentSetObjectId(), parentUnRelate(), parentUnSwizzle()

Methods

classmethod %Exists(oid As %ObjectIdentity) as %Boolean
Inherited description: 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, timeout As %Integer) as %Status
Inherited description: 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
Inherited description: 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 parentOnDelete(id As %String, concurrency As %Integer) as %Status

Inherited Methods

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

Indexes

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

Triggers