All objects that you
create to read metadata or to add or update metadata on the SAS Metadata
Server must be contained in an MdObjectStore object. The MdObjectStore
object serves as a working container for metadata objects. When you
are ready to apply changes to the SAS Metadata Server, all of the
new and modified metadata objects in the object store are persisted
to the SAS Metadata Server as a group. The object store automatically
maintains lists of new, updated, and deleted metadata objects. These
lists are used to persist the updates to the SAS Metadata Server.
An object store is created
with the statement:
MdObjectStore store = MdFactory.createObjectStore();
The dispose method should
be used when the object store is no longer needed. The dispose method
removes all objects in the object store from memory.