Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%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.

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


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.