This is a brief overview on how to create and maintain a Model Store for the SPDX Java Library.
Model stores are used to store and retrieve data used by SPDX objects.
NOTE: This README is currently under development.
The class org.spdx.library.ModelStorageClassConverter contains static methods to convert object types supported by the SPI.
storedObjectToModelObject will convert a stored object to a Model object.
modelObjectToStoredObject will convert a model object to a stored object.
These methods should be used to avoid common errors when converting between supported object types.
Note: You can extend the default org.spdx.storage.simple.InMemSpdxStore with a couple of serialization / de-serialization methods to implement a storage interface to a serializeable format (such as a JSON or YAML file).