Caplin Trader 4.7.1

Interface: module:br/presenter/SerializablePresentationModel

module:br/presenter/SerializablePresentationModel

Interface implemented by presentation models in order to provide a serialized form of the data they contain.

Methods

deserialize(sData)

Presentation models can implement this method in order to provide a deserialization mechanism.
Parameters:
Name Type Description
sData String Serialized presentation model.

serialize()

This method provides the serialized form of the presentation model. Keep in mind that the implementor should be the one providing the deserialization implementation.
Returns:
Serialized presentation model.