Uses of Class
org.spdx.library.model.ModelObject
Package | Description |
---|---|
org.spdx.library |
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
|
org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
org.spdx.library.model.license | |
org.spdx.library.model.pointer |
RDF model classes which implement the proposed W3C Pointer classes.
|
org.spdx.utility.compare |
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 ModelObject Modifier and Type Method Description static 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.model Modifier and Type Class Description class
Annotation
An Annotation is a comment on an SpdxItem by an agent.class
Checksum
A Checksum is value that allows the contents of a file to be authenticated.class
ExternalDocumentRef
Information about an external SPDX document reference including the checksum.class
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.class
ExternalSpdxElement
This is an SPDX element which is in an external document.class
GenericModelObject
Primarily used for testing, this model object does not implement any unique getters and setters nor does it implement any verification.class
GenericSpdxElement
Generic SPDX element - primarily used for testingclass
GenericSpdxItem
Generic SPDX item - primarily used for testingclass
Relationship
A Relationship represents a relationship between two SpdxElements.class
SpdxConstantElement
Type of SpdxElement which is a constant unmodifiable elementclass
SpdxCreatorInformation
class
SpdxDocument
An SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.class
SpdxElement
An SpdxElement is any thing described in SPDX, either a document or an SpdxItem.class
SpdxFile
A File represents a named sequence of information that is contained in a software package.class
SpdxItem
An SpdxItem is a potentially copyrightable work.class
SpdxNoAssertionElement
This SPDX element represents no assertion as to an actual SPDX element.class
SpdxNoneElement
This SPDX element represents no SPDX element at all.class
SpdxPackage
A Package represents a collection of software files that are delivered as a single functional component.class
SpdxPackageVerificationCode
class
SpdxSnippet
Snippets 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 ModelObject Modifier and Type Method Description ModelObject
ModelObject. clone(IModelStore modelStore)
Clone a new object using a different model storestatic ModelObject
SpdxModelFactory. 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 ModelObject
SpdxModelFactory. 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 ModelObject Modifier and Type Method Description static Optional<ModelObject>
SpdxModelFactory. getModelObject(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager)
Methods in org.spdx.library.model with parameters of type ModelObject Modifier and Type Method Description void
ModelObject. copyFrom(ModelObject source)
Copy all the properties from the source objectboolean
ExternalRef. equivalent(ModelObject compare, boolean ignoreRelatedElements)
boolean
ExternalSpdxElement. equivalent(ModelObject compare)
boolean
ModelObject. equivalent(ModelObject compare)
boolean
ModelObject. equivalent(ModelObject compare, boolean ignoreRelatedElements)
Method parameters in org.spdx.library.model with type arguments of type ModelObject Modifier and Type Method Description protected List<String>
ModelObject. verifyCollection(Collection<? extends ModelObject> collection, String warningPrefix, List<String> verifiedIds)
Verifies all elements in a collection -
Uses of ModelObject in org.spdx.library.model.license
Subclasses of ModelObject in org.spdx.library.model.license Modifier and Type Class Description class
AnyLicenseInfo
This abstract class represents several ways of describing licensing information.class
ConjunctiveLicenseSet
A set of licenses where all of the licenses applyclass
CrossRef
Cross reference details for the a URL referenceclass
DisjunctiveLicenseSet
A set of licenses where there is a choice of one of the licenses in the setclass
ExternalExtractedLicenseInfo
class
ExtractedLicenseInfo
An ExtractedLicensingInfo represents a license or licensing notice that was found in the package.class
License
Describes a license All licenses have an ID.class
LicenseException
Represents an SPDX license exception as defined in the License Expression Language Used with the "with" unary expression.class
LicenseSet
A specific form of license information where there is a set of licenses representedclass
ListedLicenseException
Represents a License Exception present on the SPDX License Listclass
OrLaterOperator
A license that has an or later operator (e.g.class
SimpleLicensingInfo
The SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.class
SpdxListedLicense
Listed license for SPDX as listed at spdx.org/licensesclass
SpdxNoAssertionLicense
Special class of license to represent no asserted license license in the file or packagesclass
SpdxNoneLicense
A special license meaning that no license was foundclass
WithExceptionOperator
A license that has a With exception operator (e.g.Methods in org.spdx.library.model.license with parameters of type ModelObject Modifier and Type Method Description boolean
ConjunctiveLicenseSet. equivalent(ModelObject compare)
boolean
DisjunctiveLicenseSet. equivalent(ModelObject compare)
boolean
ExternalExtractedLicenseInfo. equivalent(ModelObject compare)
boolean
ExtractedLicenseInfo. equivalent(ModelObject compare)
boolean
ExtractedLicenseInfo. equivalent(ModelObject compare, boolean ignoreRelatedElements)
boolean
License. equivalent(ModelObject compare, boolean ignoreExternalReferences)
boolean
ListedLicenseException. equivalent(ModelObject compare, boolean ignoreRelatedElements)
boolean
SpdxListedLicense. equivalent(ModelObject compare, boolean ignoreRelatedElements)
-
Uses of ModelObject in org.spdx.library.model.pointer
Subclasses of ModelObject in org.spdx.library.model.pointer Modifier and Type Class Description class
ByteOffsetPointer
Byte offset pointer per RDF 2.3.2.2 ByteOffsetPointer Classclass
CompoundPointer
A 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.class
LineCharPointer
class
SinglePointer
A pointing method made up of a unique pointer.class
StartEndPointer
A 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 ModelObject Modifier and Type Method Description static boolean
SpdxComparer. collectionsEquivalent(Collection<? extends ModelObject> collectionA, Collection<? extends ModelObject> collectionB)
static boolean
SpdxComparer. elementsEquivalent(Optional<? extends ModelObject> elementA, Optional<? extends ModelObject> elementB)