The
As with Binary Large Objects (blobs) and String Large Objects (slobs), collection block information is made available only when access mode is set to Jaa_AccessMode_Long (by calling the setAccessMode method).
Collection block information can be retrieved for collections of Set, ObjectArray, and MemberKeyDictionary classes and their subclasses.
The new Jaa_Object_CollectionBlock (5) class constant now enables the getNextRecord and getNextRecordUTC methods to return the collection block object type. When the object type is a collection block, the oid parameter of these methods contains the oid of the collection.
You can now also call the following new JadeAuditAccess class methods.
getCollectionBlockOid method to return the block oid as a string
getCollectionBlockOids method to have the addedOids and removedOids ObjectArray parameters populated with the string representations of the oids added and removed in this edition of the collection block
descriptionClassIsSubclass method, which returns true if the class number specified in the classNumber parameter is a subclass of the class number specified in the superclassNumber parameter in the loaded description
When the current oid is a MemberKeyDictionary or subclass (that is, jaa.descriptionClassIsSubclass(recordClassNumber, MemberKeyDictionary.number) is true), you can call the new getCollectionBlockKeys method, which populates the passed array with dynamic objects describing the additions, removals, and changes in this edition of the MemberKeyDictionary collection block. The attributes on each dynamic object are the entry oid as a String value, the byte length of the keys as an Integer value, and the before and after keys as Binary values.
Entries added to the collection block will have empty before keys, entries removed from the collection block will have empty after keys, and entries with changed keys have before and after keys.
For details, see the