[Previous] [Next]
The roles and functions of the Object By Value design pattern are as follows:
- PersistableObject Specifies an interface for reading and writing the state of an object to and from a data stream.
- ConcretePersistableObject A class that implements behavior of the PersistableObject interface for reading and writing its state to a data stream.
- ObjectTransformer A class that defines the behavior for facilitating the transformation of an original object's state to a data stream and a data stream back into a newly constructed copy of the original object in the same state.