Uses of Class
org.spdx.core.InvalidSPDXAnalysisException
-
Packages that use InvalidSPDXAnalysisException Package Description org.spdx.core Common classes used by the SPDX model and libraryorg.spdx.licenseTemplate License template are used for matching licensesorg.spdx.storage Classes that implement the storage interfaces for reading and writing SPDX document properties -
-
Uses of InvalidSPDXAnalysisException in org.spdx.core
Subclasses of InvalidSPDXAnalysisException in org.spdx.core Modifier and Type Class Description classDefaultStoreNotInitializedExceptionException where the default store is used before it has been initializedclassDuplicateSpdxIdExceptionException for duplicate SPDX ID creationsclassInvalidSpdxPropertyExceptionInvalid property name or value for an SPDX itemclassModelRegistryExceptionExceptions related to a model registryclassSpdxIdInUseExceptionException when an SPDX element is in use (e.g. exception thrown when attempting to delete)classSpdxIdNotFoundExceptionException for no SPDX identifier foundclassSpdxInvalidIdExceptionInvalid SPDX identifierclassSpdxInvalidTypeExceptionInvalid type for an SPDX propertyclassSpdxObjectNotInStoreExceptionException when an SPDX ID or object was not found in a model storeMethods in org.spdx.core that throw InvalidSPDXAnalysisException Modifier and Type Method Description voidCoreModelObject. addPropertyValueToCollection(PropertyDescriptor propertyDescriptor, Object value)Add a value to a collection of values associated with a property.static voidModelObjectHelper. addValueToCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Object value, IModelCopyManager copyManager, String idPrefix)Add a value to a collection of values associated with a property.voidCoreModelObject. clearValueCollection(PropertyDescriptor propertyDescriptor)Clears a collection of values associated with a propertystatic voidModelObjectHelper. clearValueCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor)Clears a collection of values associated with a property creating the property if it does not existvoidIModelCopyManager. copy(IModelStore toStore, String toObjectUri, IModelStore fromStore, String fromObjectUri, String toSpecVersion, String toNamespace)Copy an item from one Model Object Store to anotherTypedValueIModelCopyManager. copy(IModelStore toStore, IModelStore fromStore, String sourceUri, String toSpecVersion, String toNamespace)Copy an item from one Model Object Store to another using the source ID for the target unless it is anonymousvoidCoreModelObject. copyFrom(CoreModelObject source)Copy all the properties from the source objectCoreModelObjectISpdxModelInfo. createExternalElement(IModelStore store, String uri, IModelCopyManager copyManager, Class<?> type, String specVersion)CoreModelObjectISpdxModelInfo. createModelObject(IModelStore modelStore, String objectUri, String type, IModelCopyManager copyManager, String specVersion, boolean create, String idPrefix)IModelStore.IModelStoreLockCoreModelObject. enterCriticalSection(boolean readLockRequested)Enter a critical section. leaveCriticalSection must be called.booleanCoreModelObject. equivalent(CoreModelObject compare)booleanCoreModelObject. equivalent(CoreModelObject compare, boolean ignoreRelatedElements)Optional<Boolean>CoreModelObject. getBooleanPropertyValue(PropertyDescriptor propertyDescriptor)Optional<Double>CoreModelObject. getDoublePropertyValue(PropertyDescriptor propertyDescriptor)Optional<Enum<?>>CoreModelObject. getEnumPropertyValue(PropertyDescriptor propertyDescriptor)ObjectModelRegistry. getExternalElement(IModelStore store, String uri, IModelCopyManager copyManager, Class<?> type, String specVersion)Optional<Integer>CoreModelObject. getIntegerPropertyValue(PropertyDescriptor propertyDescriptor)Optional<Object>CoreModelObject. getObjectPropertyValue(PropertyDescriptor propertyDescriptor)Get an object value for a propertyOptional<Object>CoreModelObject. getObjectPropertyValue(PropertyDescriptor propertyDescriptor, Class<?> type)Get an object value for a propertystatic Optional<Object>ModelObjectHelper. getObjectPropertyValue(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, IModelCopyManager copyManager, String specVersion, Class<?> type, String idPrefix)Get an object value for a propertyModelCollection<?>CoreModelObject. getObjectPropertyValueCollection(PropertyDescriptor propertyDescriptor, Class<?> type)ModelSet<?>CoreModelObject. getObjectPropertyValueSet(PropertyDescriptor propertyDescriptor, Class<?> type)List<PropertyDescriptor>CoreModelObject. getPropertyValueDescriptors()StringCoreModelObject. getSpecVersion()Collection<String>CoreModelObject. getStringCollection(PropertyDescriptor propertyDescriptor)Optional<String>CoreModelObject. getStringPropertyValue(PropertyDescriptor propertyDescriptor)CoreModelObjectModelRegistry. inflateModelObject(IModelStore modelStore, String objectUri, String type, IModelCopyManager copyManager, String specVersion, boolean create, String idPrefix)If the object exists in the model store, it will be "inflated" back to the Java object.booleanCoreModelObject. isCollectionMembersAssignableTo(PropertyDescriptor propertyDescriptor, Class<?> clazz)static ObjectModelObjectHelper. modelObjectToStoredObject(Object value, IModelStore modelStore, IModelCopyManager copyManager, String idPrefix)Converts a model object to the object to be storedstatic Optional<Object>ModelObjectHelper. optionalStoredObjectToModelObject(Optional<Object> value, IModelStore modelStore, IModelCopyManager copyManager, String specVersion, Class<?> type, String idPrefix)Converts any typed value or IndividualValue objects to a ModelObject, returning an existing ModelObject if it exists or creates a new ModelObjectvoidCoreModelObject. removeProperty(PropertyDescriptor propertyDescriptor)Removes a property and its value from the model store if it existsstatic voidModelObjectHelper. removeProperty(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor)Removes a property and its value from the model store if it existsvoidCoreModelObject. removePropertyValueFromCollection(PropertyDescriptor propertyDescriptor, Object value)Remove a property value from a collectionstatic voidModelObjectHelper. removePropertyValueFromCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Object value)Remove a property value from a collectionstatic voidModelObjectHelper. replacePropertyValueCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Collection<?> values, IModelCopyManager copyManager, String idPrefix)Replace the entire value collection for a property.voidCoreModelObject. setPropertyValue(PropertyDescriptor propertyDescriptor, Object value)Set a property value for a property descriptor, creating the property if necessarystatic voidModelObjectHelper. setPropertyValue(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Object value, IModelCopyManager copyManager, String idPrefix)Set a property value for a property descriptor, creating the property if necessarystatic ObjectModelObjectHelper. storedObjectToModelObject(Object value, IModelStore modelStore, IModelCopyManager copyManager, String specVersion, Class<?> type, String idPrefix)Converts any typed value or individual value objects to a ModelObject, returning an existing ModelObject if it exists or creates a new ModelObjectObjectSimpleUriValue. toModelObject(IModelStore store, IModelCopyManager copyManager, String specVersion, Class<?> type)inflate the value back to either an Enum (if the URI matches), an Individual (if the URI matches), the modelObject (if the store contains the object matching the URI), or an ExternalObject if not in the storeTypedValueCoreModelObject. toTypedValue()Constructors in org.spdx.core with parameters of type InvalidSPDXAnalysisException Constructor Description RuntimeSpdxException(String message, InvalidSPDXAnalysisException cause)RuntimeSpdxException(InvalidSPDXAnalysisException cause)Constructors in org.spdx.core that throw InvalidSPDXAnalysisException Constructor Description CoreModelObject(String specVersion)Create a new Model Object using an Anonymous ID with the default store and default document URICoreModelObject(String objectUri, String specVersion)Open or create a model object with the default storeCoreModelObject(CoreModelObject.CoreModelObjectBuilder builder, String specVersion)CoreModelObject(IModelStore modelStore, String objectUri, IModelCopyManager copyManager, boolean create, String specVersion, String idPrefix)Creates a new model objectModelCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, IModelCopyManager copyManager, Class<?> type, String specVersion, String idPrefix)ModelSet(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, IModelCopyManager copyManager, Class<?> type, String specVersion, String idPrefix) -
Uses of InvalidSPDXAnalysisException in org.spdx.licenseTemplate
Subclasses of InvalidSPDXAnalysisException in org.spdx.licenseTemplate Modifier and Type Class Description classLicenseParserExceptionException caused by an invalid license expression -
Uses of InvalidSPDXAnalysisException in org.spdx.storage
Methods in org.spdx.storage that throw InvalidSPDXAnalysisException Modifier and Type Method Description booleanIModelStore. addValueToCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)Adds a value to a property collection creating the propertyDescriptor if it does not existbooleanNullModelStore. addValueToCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)voidIModelStore.ModelUpdate. apply()voidIModelStore. clearValueCollection(String objectUri, PropertyDescriptor propertyDescriptor)Sets the value collection for the property to an empty collection creating the propertyDescriptor if it does not existvoidNullModelStore. clearValueCollection(String objectUri, PropertyDescriptor propertyDescriptor)booleanIModelStore. collectionContains(String objectUri, PropertyDescriptor propertyDescriptor, Object value)booleanNullModelStore. collectionContains(String objectUri, PropertyDescriptor propertyDescriptor, Object value)intIModelStore. collectionSize(String objectUri, PropertyDescriptor propertyDescriptor)intNullModelStore. collectionSize(String objectUri, PropertyDescriptor propertyDescriptor)voidIModelStore. create(TypedValue typedValue)Create a new object with objectUri, type and version from the typedValuevoidNullModelStore. create(TypedValue typedValue)voidIModelStore. delete(String objectUri)Deletes an item from the documentvoidNullModelStore. delete(String objectUri)CoreModelObjectISerializableModelStore. deSerialize(InputStream stream, boolean overwrite)Deserialize / read an SPDX document from a streamIModelStore.IModelStoreLockIModelStore. enterCriticalSection(boolean readLockRequested)Enter a critical section. leaveCriticalSection must be called.IModelStore.IModelStoreLockNullModelStore. enterCriticalSection(boolean readLockRequested)Stream<TypedValue>IModelStore. getAllItems(String nameSpace, String typeFilter)Stream<TypedValue>NullModelStore. getAllItems(String nameSpace, String typeFilter)StringIModelStore. getNextId(IModelStore.IdType idType)Generate a unique ID within the model store - Note: for a full URI, the id should be prepended with a URI prefixStringNullModelStore. getNextId(IModelStore.IdType idType)List<PropertyDescriptor>IModelStore. getPropertyValueDescriptors(String objectUri)List<PropertyDescriptor>NullModelStore. getPropertyValueDescriptors(String objectUri)Optional<TypedValue>IModelStore. getTypedValue(String objectUri)Optional<TypedValue>NullModelStore. getTypedValue(String objectUri)Optional<Object>IModelStore. getValue(String objectUri, PropertyDescriptor propertyDescriptor)Optional<Object>NullModelStore. getValue(String objectUri, PropertyDescriptor propertyDescriptor)booleanIModelStore. isCollectionMembersAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz)booleanNullModelStore. isCollectionMembersAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz)booleanIModelStore. isCollectionProperty(String objectUri, PropertyDescriptor propertyDescriptor)booleanNullModelStore. isCollectionProperty(String objectUri, PropertyDescriptor propertyDescriptor)booleanIModelStore. isPropertyValueAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz, String specVersion)booleanNullModelStore. isPropertyValueAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz, String specVersion)Iterator<Object>IModelStore. listValues(String objectUri, PropertyDescriptor propertyDescriptor)Iterator<Object>NullModelStore. listValues(String objectUri, PropertyDescriptor propertyDescriptor)voidIModelStore. removeProperty(String objectUri, PropertyDescriptor propertyDescriptor)Removes a property from the document for the given ID if the property exists.voidNullModelStore. removeProperty(String objectUri, PropertyDescriptor propertyDescriptor)booleanIModelStore. removeValueFromCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)Removes a value from a collection of values associated with a propertybooleanNullModelStore. removeValueFromCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)voidISerializableModelStore. serialize(OutputStream stream)Serialize all the items stored in the model storevoidISerializableModelStore. serialize(OutputStream stream, CoreModelObject objectToSerialize)Serialize the items stored in the model storevoidIModelStore. setValue(String objectUri, PropertyDescriptor propertyDescriptor, Object value)Sets a property value for a String or Boolean type of value creating the propertyDescriptor if it does not existvoidNullModelStore. setValue(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
-