Uses of Class
org.spdx.storage.PropertyDescriptor
-
Packages that use PropertyDescriptor Package Description org.spdx.core Common classes used by the SPDX model and libraryorg.spdx.storage Classes that implement the storage interfaces for reading and writing SPDX document properties -
-
Uses of PropertyDescriptor in org.spdx.core
Methods in org.spdx.core that return PropertyDescriptor Modifier and Type Method Description PropertyDescriptor
NotEquivalentReason. getProperty()
PropertyDescriptor
ModelCollection. getPropertyDescriptor()
Methods in org.spdx.core that return types with arguments of type PropertyDescriptor Modifier and Type Method Description List<PropertyDescriptor>
CoreModelObject. getPropertyValueDescriptors()
Methods in org.spdx.core with parameters of type PropertyDescriptor Modifier and Type Method Description void
CoreModelObject. addPropertyValueToCollection(PropertyDescriptor propertyDescriptor, Object value)
Add a value to a collection of values associated with a property.static void
ModelObjectHelper. 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.void
CoreModelObject. clearValueCollection(PropertyDescriptor propertyDescriptor)
Clears a collection of values associated with a propertystatic void
ModelObjectHelper. clearValueCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor)
Clears a collection of values associated with a property creating the property if it does not existOptional<Boolean>
CoreModelObject. getBooleanPropertyValue(PropertyDescriptor propertyDescriptor)
Optional<Double>
CoreModelObject. getDoublePropertyValue(PropertyDescriptor propertyDescriptor)
Optional<Enum<?>>
CoreModelObject. getEnumPropertyValue(PropertyDescriptor propertyDescriptor)
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)
Collection<String>
CoreModelObject. getStringCollection(PropertyDescriptor propertyDescriptor)
Optional<String>
CoreModelObject. getStringPropertyValue(PropertyDescriptor propertyDescriptor)
boolean
CoreModelObject. isCollectionMembersAssignableTo(PropertyDescriptor propertyDescriptor, Class<?> clazz)
protected boolean
CoreModelObject. isEquivalentToNull(Object propertyValue, PropertyDescriptor descriptor)
abstract boolean
CoreModelObject. isRelatedElement(PropertyDescriptor propertyDescriptor)
void
CoreModelObject. removeProperty(PropertyDescriptor propertyDescriptor)
Removes a property and its value from the model store if it existsstatic void
ModelObjectHelper. removeProperty(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor)
Removes a property and its value from the model store if it existsvoid
CoreModelObject. removePropertyValueFromCollection(PropertyDescriptor propertyDescriptor, Object value)
Remove a property value from a collectionstatic void
ModelObjectHelper. removePropertyValueFromCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Object value)
Remove a property value from a collectionstatic void
ModelObjectHelper. replacePropertyValueCollection(IModelStore modelStore, String objectUri, PropertyDescriptor propertyDescriptor, Collection<?> values, IModelCopyManager copyManager, String idPrefix)
Replace the entire value collection for a property.void
NotEquivalentReason. setProperty(PropertyDescriptor property)
void
CoreModelObject. setPropertyValue(PropertyDescriptor propertyDescriptor, Object value)
Set a property value for a property descriptor, creating the property if necessarystatic void
ModelObjectHelper. 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 necessaryIModelStore.ModelUpdate
CoreModelObject. updateAddPropertyValueToCollection(PropertyDescriptor propertyDescriptor, Object value)
Create an update when, when applied, adds a value to a collection of values associated with a property.IModelStore.ModelUpdate
CoreModelObject. updateClearValueCollection(PropertyDescriptor propertyDescriptor)
Create an update when, when applied by the ModelStore, clears a collection of values associated with a propertyIModelStore.ModelUpdate
CoreModelObject. updatePropertyValue(PropertyDescriptor propertyDescriptor, Object value)
Create an update when, when applied by the ModelStore, sets a property value for a property descriptor, creating the property if necessaryIModelStore.ModelUpdate
CoreModelObject. updateRemoveProperty(PropertyDescriptor propertyDescriptor)
Create an update when, when applied by the ModelStore, removes a property and its value from the model store if it existsIModelStore.ModelUpdate
CoreModelObject. updateRemovePropertyValueFromCollection(PropertyDescriptor propertyDescriptor, Object value)
Create an update when, when applied, removes a property value from a collectionConstructors in org.spdx.core with parameters of type PropertyDescriptor Constructor Description ModelCollection(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)
NotEquivalentReason(NotEquivalentReason.NotEquivalent reason, PropertyDescriptor property)
Constructs a NotEquivalentReason with the specified reason and property. -
Uses of PropertyDescriptor in org.spdx.storage
Methods in org.spdx.storage that return types with arguments of type PropertyDescriptor Modifier and Type Method Description List<PropertyDescriptor>
IModelStore. getPropertyValueDescriptors(String objectUri)
List<PropertyDescriptor>
NullModelStore. getPropertyValueDescriptors(String objectUri)
Methods in org.spdx.storage with parameters of type PropertyDescriptor Modifier and Type Method Description boolean
IModelStore. addValueToCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
Adds a value to a property collection creating the propertyDescriptor if it does not existboolean
NullModelStore. addValueToCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
void
IModelStore. clearValueCollection(String objectUri, PropertyDescriptor propertyDescriptor)
Sets the value collection for the property to an empty collection creating the propertyDescriptor if it does not existvoid
NullModelStore. clearValueCollection(String objectUri, PropertyDescriptor propertyDescriptor)
boolean
IModelStore. collectionContains(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
boolean
NullModelStore. collectionContains(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
int
IModelStore. collectionSize(String objectUri, PropertyDescriptor propertyDescriptor)
int
NullModelStore. collectionSize(String objectUri, PropertyDescriptor propertyDescriptor)
Optional<Object>
IModelStore. getValue(String objectUri, PropertyDescriptor propertyDescriptor)
Optional<Object>
NullModelStore. getValue(String objectUri, PropertyDescriptor propertyDescriptor)
boolean
IModelStore. isCollectionMembersAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz)
boolean
NullModelStore. isCollectionMembersAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz)
boolean
IModelStore. isCollectionProperty(String objectUri, PropertyDescriptor propertyDescriptor)
boolean
NullModelStore. isCollectionProperty(String objectUri, PropertyDescriptor propertyDescriptor)
boolean
IModelStore. isPropertyValueAssignableTo(String objectUri, PropertyDescriptor propertyDescriptor, Class<?> clazz, String specVersion)
boolean
NullModelStore. 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)
void
IModelStore. removeProperty(String objectUri, PropertyDescriptor propertyDescriptor)
Removes a property from the document for the given ID if the property exists.void
NullModelStore. removeProperty(String objectUri, PropertyDescriptor propertyDescriptor)
boolean
IModelStore. removeValueFromCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
Removes a value from a collection of values associated with a propertyboolean
NullModelStore. removeValueFromCollection(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
void
IModelStore. 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 existvoid
NullModelStore. setValue(String objectUri, PropertyDescriptor propertyDescriptor, Object value)
-