Heirs of this abstract class must decide how object should be stored and how they should be read from a structure.