Table of Contents

ITMSFNCPersistenceIO Interface

Extended persistence I/O interface that adds object-reference tracking and owner repair to the base creation factory; implement when the persisted graph contains cross-references between objects.

API unit family: TMSFNCPersistence Extends: ITMSFNCBasePersistenceIO

Syntax

ITMSFNCPersistenceIO = interface(ITMSFNCBasePersistenceIO)

Methods

Name Description
CreateObject Creates and returns a new instance of the class identified by AClassName, constrained to be a descendant of ABaseClass. (inherited from ITMSFNCBasePersistenceIO)
FindObject Resolves a reference token previously produced by GetObjectReference and returns the corresponding live object.
FixOwners Repairs owner relationships for all objects in AObjectList after deserialization is complete.
NeedsObjectReference Determines whether objects of the given class should be stored as reference tokens rather than inline JSON during serialization.