Home > Class Reference > ENSLIB namespace > %Collection.ListOfObjCN
Private  Storage   


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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


ElementClassType ElementType LiteralBehavior OrefStorage
Owner ReadOnly Size Storage

%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


• 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