Home > Class Reference > %SYS namespace > %Library.StorageSQLMapSubscriptDefinition

%Library.StorageSQLMapSubscriptDefinition

persistent class %Library.StorageSQLMapSubscriptDefinition extends %Library.AbstractDefinition

SQL Table Name: %Library.StorageSQLMapSubscriptDefinition

Contains SQL subscript information for a storage definition for a class within the Class Dictionary.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property AccessType as %RawString;
Property methods: AccessTypeGet(), AccessTypeIsValid(), AccessTypeSet()
property ClassName as %RawString;
Property methods: ClassNameGet(), ClassNameIsValid(), ClassNameSet()
property Delimiter as %RawString;
Property methods: DelimiterGet(), DelimiterIsValid(), DelimiterSet()
property Expression as %RawString;
Property methods: ExpressionGet(), ExpressionIsValid(), ExpressionSet()
property InvalidCondition as %ListOfPersistentChildObjects (CLASSNAME = 1);
Property methods: InvalidConditionGet(), InvalidConditionGetObject(), InvalidConditionGetObjectId(), InvalidConditionGetSwizzled(), InvalidConditionIsValid(), InvalidConditionNewObject(), InvalidConditionSet(), InvalidConditionSetObject(), InvalidConditionSetObjectId(), InvalidConditionUnSwizzle()
property MapName as %RawString;
Property methods: MapNameGet(), MapNameIsValid(), MapNameSet()
property Name as %RawString;
Property methods: NameGet(), NameIsValid(), NameSet()
property NextCode as %RawString;
Property methods: NextCodeGet(), NextCodeIsValid(), NextCodeSet()
property StartValue as %RawString;
Property methods: StartValueGet(), StartValueIsValid(), StartValueSet()
property StopExpression as %RawString;
Property methods: StopExpressionGet(), StopExpressionIsValid(), StopExpressionSet()
property StopValue as %RawString;
Property methods: StopValueGet(), StopValueIsValid(), StopValueSet()
property StorageName as %RawString;
Property methods: StorageNameGet(), StorageNameIsValid(), StorageNameSet()

Methods (Including Private)

private classmethod %DeleteData(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]
Inherited description: This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL. Persistent classes using some other storage class, such as %Library.CustomStorage must override this method.
private method %LoadData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %LoadData() - loads an object from storage. This method is implemented by the storage class.
private method %OnNew(initvalue As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

private method %OnValidateObject() as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %ValidateObject() method to provide notification that the current object is being validated.

If this method returns an error then %ValidateObject() will fail.

private method %SaveData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %SaveData() - saves an object to disk, checks uniqueness and referential integrity constraints, and maintains index structures. This method is implemented by the storage class.

Inherited Members

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%Library.AbstractDefinition)

^%Library.AbstractDefinitionD(ID)
=
%%CLASSNAME
FeedbackOpens in a new window