Uses of Class
org.spdx.library.model.ModelObject
Packages that use ModelObject
Package
Description
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
Copyright (c) 2019 Source Auditor Inc.
RDF model classes which implement the proposed W3C Pointer classes.
Utility classes for comparing SPDX model objects
-
Uses of ModelObject in org.spdx.library
Methods in org.spdx.library that return types with arguments of type ModelObjectModifier and TypeMethodDescriptionstatic Stream<? extends ModelObject>Read.getAllItems(IModelStore modelStore, String documentUri, String typeFilter) -
Uses of ModelObject in org.spdx.library.model
Subclasses of ModelObject in org.spdx.library.modelModifier and TypeClassDescriptionclassAn Annotation is a comment on an SpdxItem by an agent.classA Checksum is value that allows the contents of a file to be authenticated.classInformation about an external SPDX document reference including the checksum.classAn External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package.classThis is an SPDX element which is in an external document.classPrimarily used for testing, this model object does not implement any unique getters and setters nor does it implement any verification.classGeneric SPDX element - primarily used for testingclassGeneric SPDX item - primarily used for testingclassA Relationship represents a relationship between two SpdxElements.classType of SpdxElement which is a constant unmodifiable elementclassclassAn SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.classAn SpdxElement is any thing described in SPDX, either a document or an SpdxItem.classA File represents a named sequence of information that is contained in a software package.classAn SpdxItem is a potentially copyrightable work.classThis SPDX element represents no assertion as to an actual SPDX element.classThis SPDX element represents no SPDX element at all.classA Package represents a collection of software files that are delivered as a single functional component.classclassSnippets can optionally be used when a file is known to have some content that has been included from another original source.Methods in org.spdx.library.model that return ModelObjectModifier and TypeMethodDescriptionModelObject.clone(IModelStore modelStore) Clone a new object using a different model storestatic ModelObjectSpdxModelFactory.createModelObject(IModelStore modelStore, String documentUri, String id, String type, ModelCopyManager copyManager) Create a model object in a model store given the document URI, ID and typestatic ModelObjectSpdxModelFactory.getModelObject(IModelStore modelStore, String documentUri, String id, String type, ModelCopyManager copyManager, boolean create) Create a model object in a model store given the document URI, ID and typeMethods in org.spdx.library.model that return types with arguments of type ModelObjectModifier and TypeMethodDescriptionstatic Optional<ModelObject>SpdxModelFactory.getModelObject(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager) Methods in org.spdx.library.model with parameters of type ModelObjectModifier and TypeMethodDescriptionvoidModelObject.copyFrom(ModelObject source) Copy all the properties from the source objectbooleanExternalRef.equivalent(ModelObject compare, boolean ignoreRelatedElements) booleanExternalSpdxElement.equivalent(ModelObject compare) booleanModelObject.equivalent(ModelObject compare) booleanModelObject.equivalent(ModelObject compare, boolean ignoreRelatedElements) Method parameters in org.spdx.library.model with type arguments of type ModelObjectModifier and TypeMethodDescriptionModelObject.verifyCollection(Collection<? extends ModelObject> collection, String warningPrefix, Set<String> verifiedIds, String specVersion) Verifies all elements in a collection -
Uses of ModelObject in org.spdx.library.model.license
Subclasses of ModelObject in org.spdx.library.model.licenseModifier and TypeClassDescriptionclassExtractedLicenseInfo which can be represented as a concrete ExtractedLicenseInfo within the same SPDX document with all properties accessible, or as an ExternalExtractedLicenseInfo which represents a license not included within the SPDX document.classThis abstract class represents several ways of describing licensing information.classA set of licenses where all of the licenses applyclassCross reference details for the a URL referenceclassA set of licenses where there is a choice of one of the licenses in the setclassclassAn ExtractedLicensingInfo represents a license or licensing notice that was found in the package.classDescribes a license All licenses have an ID.classRepresents an SPDX license exception as defined in the License Expression Language Used with the "with" unary expression.classA specific form of license information where there is a set of licenses representedclassRepresents a License Exception present on the SPDX License ListclassA license that has an or later operator (e.g.classThe SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.classListed license for SPDX as listed at spdx.org/licensesclassSpecial class of license to represent no asserted license license in the file or packagesclassA special license meaning that no license was foundclassA license that has a With exception operator (e.g.Methods in org.spdx.library.model.license with parameters of type ModelObjectModifier and TypeMethodDescriptionbooleanConjunctiveLicenseSet.equivalent(ModelObject compare) booleanDisjunctiveLicenseSet.equivalent(ModelObject compare) booleanExternalExtractedLicenseInfo.equivalent(ModelObject compare) booleanExternalExtractedLicenseInfo.equivalent(ModelObject compare, boolean ignoreRelatedElements) booleanExtractedLicenseInfo.equivalent(ModelObject compare) booleanExtractedLicenseInfo.equivalent(ModelObject compare, boolean ignoreRelatedElements) booleanLicense.equivalent(ModelObject compare, boolean ignoreExternalReferences) booleanListedLicenseException.equivalent(ModelObject compare, boolean ignoreRelatedElements) booleanSpdxListedLicense.equivalent(ModelObject compare, boolean ignoreRelatedElements) -
Uses of ModelObject in org.spdx.library.model.pointer
Subclasses of ModelObject in org.spdx.library.model.pointerModifier and TypeClassDescriptionclassByte offset pointer per RDF 2.3.2.2 ByteOffsetPointer ClassclassA pointing method made up of a pair of pointers that identify a well defined section within a document delimited by a begin and an end.classclassA pointing method made up of a unique pointer.classA compound pointer pointing out parts of a document by means of a range delimited by a pair of single pointers that define the start point and the end point. -
Uses of ModelObject in org.spdx.utility.compare
Method parameters in org.spdx.utility.compare with type arguments of type ModelObjectModifier and TypeMethodDescriptionstatic booleanSpdxComparer.collectionsEquivalent(Collection<? extends ModelObject> collectionA, Collection<? extends ModelObject> collectionB) static booleanSpdxComparer.elementsEquivalent(Optional<? extends ModelObject> elementA, Optional<? extends ModelObject> elementB)