Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Library.CacheRegObj
Private  Storage   

%Library.CacheRegObj


class %Library.CacheRegObj extends
%CacheLiteral

Property superclass for registered object values, for internal use only

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary


Methods
Get GetSwizzled IsValid NewObject Set


Methods


• method Get() as %CacheString
• method GetSwizzled() as %RegisteredObject
Returns an oref, performing swizzling if necessary it returns "" ($$$NULLOREF) if there is no oref and the id=""
• method NewObject() as %ObjectHandle
Creates a new object for the referenced property
• method Set(newvalue As %CacheString) as %Status
Set the property to an oref value if the new oref is different from an old oref, the old object is closed