This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).

%Library.SerialState

abstract class %Library.SerialState

Serial object interface

Method Inventory (Including Private)

Parameters

parameter ODBCDELIMITER = ,;
parameter SERIALDELIMITER;
parameter STORAGECOMPILERCLASS = %Compiler.Storage.Serial;
parameter STORAGEINTERFACE = serial;
STORAGEINTERFACE defines the type of serialization implemented by this class. The value has to match the classtype of the class that is inheriting the serialization interface.

Methods

private method %GetSerial(force As %Integer = 0) as %String
Get Serialized State. %GetSerial() can assume that the ID values have already been reset for swizzled references since %Oid has already called %ResetAllObject()
private method %SetSerial(val As %String) as %Status
Set Serialized State.
classmethod LogicalToOdbc(%val As %String = "") as %String
LogicalToOdbc() Construct a string delimited by ODBCDELIMITER from an object's serialized state.
classmethod OdbcToLogical(%val As %String = "") as %String

Subclasses

Feedback