Interface IListedLicenseStore
- All Superinterfaces:
AutoCloseable,org.spdx.storage.IModelStore
- All Known Implementing Classes:
SpdxListedLicenseLocalStore,SpdxListedLicenseModelStore,SpdxListedLicenseWebStore
public interface IListedLicenseStore
extends org.spdx.storage.IModelStore
Extends the model store to include interfaces specific to listed licenses
- Author:
- Gary O'Neall
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spdx.storage.IModelStore
org.spdx.storage.IModelStore.IdType, org.spdx.storage.IModelStore.IModelStoreLock, org.spdx.storage.IModelStore.ModelUpdate -
Method Summary
Modifier and TypeMethodDescriptionorg.spdx.library.model.v3_0_1.core.CreationInfobooleanisSpdxListedExceptionId(String listedLicenseDocumentUri, String exceptionId) booleanisSpdxListedLicenseId(String listedLicenseDocumentUri, String licenseId) listedExceptionIdCaseSensitive(String exceptionId) listedLicenseIdCaseSensitive(String licenseId) Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.spdx.storage.IModelStore
addValueToCollection, clearValueCollection, collectionContains, collectionSize, create, delete, enterCriticalSection, exists, getAllItems, getCaseSensisitiveId, getCaseSensitiveId, getIdType, getNextId, getPropertyValueDescriptors, getTypedValue, getValue, isAnon, isCollectionMembersAssignableTo, isCollectionProperty, isPropertyValueAssignableTo, leaveCriticalSection, listValues, removeProperty, removeValueFromCollection, setValue
-
Method Details
-
getSpdxListedLicenseIds
-
getLicenseListVersion
String getLicenseListVersion()- Returns:
- The version of the loaded license list in the form M.N, where M is the major release and N is the minor release.
-
isSpdxListedLicenseId
-
isSpdxListedExceptionId
-
getSpdxListedExceptionIds
-
listedLicenseIdCaseSensitive
-
listedExceptionIdCaseSensitive
-
getListedLicenseCreationInfo
org.spdx.library.model.v3_0_1.core.CreationInfo getListedLicenseCreationInfo() throws org.spdx.core.InvalidSPDXAnalysisException- Returns:
- the CreationInfo used for all SPDX listed licenses and listed exceptions
- Throws:
org.spdx.core.InvalidSPDXAnalysisException- on error inflating the creation info
-