Package org.spdx.library
Class DefaultModelStore
java.lang.Object
org.spdx.library.DefaultModelStore
public class DefaultModelStore extends Object
- Author:
- Gary O'Neall Singleton class to hold a default model store used when no model store is provided WARNING: The model store is in memory and will continue to grow as it is utilized. There is NO garbage collection.
-
Method Summary
Modifier and Type Method Description static ModelCopyManagergetDefaultCopyManager()static StringgetDefaultDocumentUri()static IModelStoregetDefaultModelStore()static voidreset()Clears the default model store by replacing the default model store with a new onestatic voidreset(IModelStore newModelStore, String newDefaultDocumentUri, ModelCopyManager newDefaultCopyManager)
-
Method Details
-
getDefaultModelStore
-
getDefaultDocumentUri
-
reset
public static final void reset()Clears the default model store by replacing the default model store with a new one -
reset
public static final void reset(IModelStore newModelStore, String newDefaultDocumentUri, ModelCopyManager newDefaultCopyManager) -
getDefaultCopyManager
-