Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Collection.ListOfObjCN
Private  Storage   

%Collection.ListOfObjCN


class %Collection.ListOfObjCN extends
%Collection.ListOfObj

A version of the %Collection.ListOfObjects collection class that stores class names in OIDs. These %Collection classes can only be used when you have a collection property of another object as they rely on storing the data inside the parent object, they can not be used as 'stand alone' collections, for this use the %ListOfObjectsWithClassName.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Properties
ElementClassType ElementType LiteralBehavior OrefStorage
Owner ReadOnly Size Storage
StreamLocation

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%Disconnect %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%IsNull %New %NormalizeObject %ObjectModified
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %UnSwizzleAt %ValidateObject BuildValueArray
Clear Count DeSerialize Find
FindObjectId FindOref GetAt GetNext
GetObjectAt GetObjectIdAt GetObjectIdNext GetObjectIdPrevious
GetObjectNext GetObjectPrevious GetPrevious Insert
InsertAt InsertList InsertObject InsertObjectAt
InsertObjectId InsertObjectIdAt InsertOrdered IsDefined
LogicalToOdbc Next OdbcToLogical Previous
RemoveAt Serialize SetAt SetObjectAt
SetObjectIdAt SizeGet SizeSet


Methods


• method Find(element As %ObjectIdentity, key As %Integer) as %String
Starting from, but not including, position key, Find finds the next element in the list whose OID value equals element. If key is a null string, Find starts at the beginning of the list.

Find returns the position of the found element or null string ("") if no element was found.

• method Serialize(force As %Integer = 0) as %String
Serialize() constructs a serialized form of the collection as a string