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


abstract class %Library.SerialState

Serial object interface

Method Inventory (Including Private)


parameter ODBCDELIMITER = ,;
parameter STORAGECOMPILERCLASS = %Compiler.Storage.CustomSerial;
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 [ Language = objectscript ]
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 [ Language = objectscript ]
Set Serialized State.
classmethod LogicalToOdbc(%val As %String = "") as %String [ Language = objectscript ]
LogicalToOdbc() Construct a string delimited by ODBCDELIMITER from an object's serialized state.
classmethod OdbcToLogical(%val As %String = "") as %String [ Language = objectscript ]