In the first part of my series, I showed how to prepare EclipseStore for use in a project. We also initialized the StorageManager
and saved, modified, and deleted the first data. But what about more complex structures? Can you use inheritance? To do this, we will now create a small class model.
First, let's look at what inheritance looks like. To do this, we take an interface called BaseInterfaceA
, an implementation BaseClassA
and a derivative LevelOneA
. We will now try to save this and see how it behaves depending on the input when saving.