Skip to main content

%Collection.ArrayOfObjCN

class %Collection.ArrayOfObjCN extends %Collection.ArrayOfObj

A version of the %Collection.ArrayOfObj 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 %ArrayOfObjectsWithClassName.

Method Inventory

Methods

method Find(element As %ObjectIdentity, key As %String) as %String
Inherited description: Starting from, but not including, location key, finds the next element in the array whose OID value equals element.

If key is a null string (""), the search starts at the beginning of the array.

Find returns the key associated with the found element or null string ("") if no element is found.

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

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab