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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


ElementClassType ElementType LiteralBehavior OrefStorage
Owner ReadOnly Storage StreamLocation
%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 Define
Find FindObjectId FindOref GetAt
GetNext GetObjectAt GetObjectIdAt GetObjectIdNext
GetObjectIdPrevious GetObjectNext GetObjectPrevious GetPrevious
IsDefined LogicalToOdbc Next OdbcToLogical
Previous RemoveAt Serialize SetAt
SetObjectAt SetObjectIdAt


method Find(element As %ObjectIdentity, key As %String) as %String
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
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA