%Compiler.Type.RegisteredObject
Class %Compiler.Type.RegisteredObject Extends %Compiler.Type.Literal [ NoContext, System = 1 ]
Property superclass for registered object values, for internal use only
Methods
Get
Method Get() As %RawString [ CodeMode = generator, ServerOnly = 1 ]
GetSwizzled
Method GetSwizzled() As %RegisteredObject [ CodeMode = generator, ServerOnly = 1 ]
Returns an oref, performing swizzling if necessary it returns "" ($$$NULLOREF) if there is no oref and the id=""
NewObject
Method NewObject() As %ObjectHandle [ CodeMode = generator, GenerateAfter = Set, ServerOnly = 1 ]
Creates a new object for the referenced property
Set
Method Set(newvalue As %RawString) As %Status [ CodeMode = generator, GenerateAfter = Get, ServerOnly = 1 ]
Set the property to an oref value if the new oref is different from an old oref, the old object is closed