persistent class %SYS.Journal.SetKillRecord
extends %SYS.Journal.Record
Journal SET/KILL record related API
parameter READONLY = 1;
READONLY = 1 means that objects can be created, opened but not saved or deleted.
Tables are projected to SQL as READONLY.
property ClusterSequence
as %Integer [ Calculated ];
Cluster journal sequence number of the record on a clustered system or 0 otherwise
property Collation
as %Integer [ Calculated ];
The collation of the subscripts in GlobalNode
property DatabaseName
as %SysPath [ Calculated ];
Directory path of the database updated by the SET or KILL
property GlobalNode
as %VarString [ Calculated ];
Global node of the SET or KILL (GlobalReference minus the namespace)
property GlobalReference
as %VarString [ Calculated ];
Extended global reference of the SET or KILL
property NewValue
as %VarString [ Calculated ];
(For SET record only) The value the global node was set to
property NumberOfValues
as %Integer [ Calculated ];
Number of data values stored in the record. It can be 0, 1 or 2 depending on
whether the record is a SET or KILL and whether it is in a transaction.
property OldValue
as %VarString [ Calculated ];
(For InTransaction record only) The value of the global node prior to the SET or KILL
method ClusterSequenceGet()
as %Integer
This is a Get accessor method for the ClusterSequence property.
method CollationGet()
as %Integer
This is a Get accessor method for the Collation property.
method DatabaseNameGet()
as %String
This is a Get accessor method for the DatabaseName property.
method ExistsNewValue()
as %Boolean
TRUE if there is a NewValue (including "") in the record
method ExistsOldValue()
as %Boolean
TRUE if there is an OldValue (including "") in the record
method GlobalNodeGet()
as %String
This is a Get accessor method for the GlobalNode property.
method GlobalReferenceGet()
as %String
This is a Get accessor method for the GlobalReference property.
method NewValueGet()
as %String
This is a Get accessor method for the NewValue property.
method NumberOfValuesGet()
as %Integer
This is a Get accessor method for the NumberOfValues property.
method OldValueGet()
as %String
This is a Get accessor method for the OldValue property.
method Restore(Detail As %Integer)
as %Status
Restore a SET or KILL