Package org.spdx.library.model.v2
Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3)
- Author:
- Gary O'Neall
-
Class Summary Class Description Annotation An Annotation is a comment on an SpdxItem by an agent.Checksum A Checksum is value that allows the contents of a file to be authenticated.ExternalDocumentRef Information about an external SPDX document reference including the checksum.ExternalRef An 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.ExternalSpdxElement This is an SPDX element which is in an external document.GenericModelObject Generic model object - primarily used for testing.GenericSpdxElement Generic SPDX element - primarily used for testingGenericSpdxItem Generic SPDX item - primarily used for testingModelObjectV2 Superclass for all SPDX spec version 2 model objects Provides the primary interface to the storage class that access and stores the data for the model objects.ReferenceType Type of external reference Note that there are very few required fields for this class in that the external reference type does not need to be provided in the SPDX document for the document to be valid.RelatedElementCollection Collection of SPDX elements related to an SpdxElementRelationship A Relationship represents a relationship between two SpdxElements.SpdxConstantElement Type of SpdxElement which is a constant unmodifiable elementSpdxConstantsCompatV2 Constants which map to the SPDX specifications for versions prior to SPDX Spec version 3.0SpdxCreatorInformation Provides the necessary information for forward and backward compatibility for processing tools.SpdxDocument An SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.SpdxElement An SpdxElement is any thing described in SPDX, either a document or an SpdxItem.SpdxFile A File represents a named sequence of information that is contained in a software package.SpdxFile.SpdxFileBuilder SpdxItem An SpdxItem is a potentially copyrightable work.SpdxModelFactoryCompatV2 Factory class to create ModelObjects based on the type and SPDX Spec Version Types are defined classes in the SpdxConstantsCompatV2 class and map to the standard SPDX modelSpdxModelInfoV2_X Compatible model info for all supported spec version 2 (2.0, 2.1, 2.2, 2.2.1, 2.3)SpdxNoAssertion Represents either a NoAssertionLicense OR a NoAssertionElement.SpdxNoAssertionElement This SPDX element represents no assertion as to an actual SPDX element.SpdxNone Represents either a NoneLicense OR a NoneElement The correct class should be replaced by the caller based on the context.SpdxNoneElement This SPDX element represents no SPDX element at all.SpdxPackage A Package represents a collection of software files that are delivered as a single functional component.SpdxPackage.SpdxPackageBuilder SpdxPackageVerificationCode Verification Code for packagesSpdxSnippet Snippets can optionally be used when a file is known to have some content that has been included from another original source.SpdxSnippet.SpdxSnippetBuilder SpdxVerificationHelper Holds static methods used for verify various property valuesVersion Static class to manage the SPDX versions and the version of the implementation classes