This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %Library.SerialState


abstract class %Library.SerialState

Serial object interface

Method Inventory (Including Private)


parameter ODBCDELIMITER = ,;
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 (Including Private)

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


FeedbackOpens in a new window