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 classAnnotationAn Annotation is a comment on an SpdxItem by an agent.classChecksumA Checksum is value that allows the contents of a file to be authenticated.classExternalDocumentRefInformation about an external SPDX document reference including the checksum.classExternalRefAn 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.classExternalSpdxElementThis is an SPDX element which is in an external document.classGenericModelObjectPrimarily used for testing, this model object does not implement any unique getters and setters nor does it implement any verification.classGenericSpdxElementGeneric SPDX element - primarily used for testingclassGenericSpdxItemGeneric SPDX item - primarily used for testingclassRelationshipA Relationship represents a relationship between two SpdxElements.classSpdxConstantElementType of SpdxElement which is a constant unmodifiable elementclassSpdxCreatorInformationclassSpdxDocumentAn SpdxDocument is a summary of the contents, provenance, ownership and licensing analysis of a specific software package.classSpdxElementAn SpdxElement is any thing described in SPDX, either a document or an SpdxItem.classSpdxFileA File represents a named sequence of information that is contained in a software package.classSpdxItemAn SpdxItem is a potentially copyrightable work.classSpdxNoAssertionElementThis SPDX element represents no assertion as to an actual SPDX element.classSpdxNoneElementThis SPDX element represents no SPDX element at all.classSpdxPackageA Package represents a collection of software files that are delivered as a single functional component.classSpdxPackageVerificationCodeclassSpdxSnippetSnippets 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 ModelObjectModelObject. 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 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 voidModelObject. 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 ModelObject Modifier and Type Method Description protected List<String>ModelObject. 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.license Modifier and Type Class Description classAbstractExtractedLicenseInfoExtractedLicenseInfo 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.classAnyLicenseInfoThis abstract class represents several ways of describing licensing information.classConjunctiveLicenseSetA set of licenses where all of the licenses applyclassCrossRefCross reference details for the a URL referenceclassDisjunctiveLicenseSetA set of licenses where there is a choice of one of the licenses in the setclassExternalExtractedLicenseInfoclassExtractedLicenseInfoAn ExtractedLicensingInfo represents a license or licensing notice that was found in the package.classLicenseDescribes a license All licenses have an ID.classLicenseExceptionRepresents an SPDX license exception as defined in the License Expression Language Used with the "with" unary expression.classLicenseSetA specific form of license information where there is a set of licenses representedclassListedLicenseExceptionRepresents a License Exception present on the SPDX License ListclassOrLaterOperatorA license that has an or later operator (e.g.classSimpleLicensingInfoThe SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.classSpdxListedLicenseListed license for SPDX as listed at spdx.org/licensesclassSpdxNoAssertionLicenseSpecial class of license to represent no asserted license license in the file or packagesclassSpdxNoneLicenseA special license meaning that no license was foundclassWithExceptionOperatorA 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 booleanConjunctiveLicenseSet. 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.pointer Modifier and Type Class Description classByteOffsetPointerByte offset pointer per RDF 2.3.2.2 ByteOffsetPointer ClassclassCompoundPointerA 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.classLineCharPointerclassSinglePointerA pointing method made up of a unique pointer.classStartEndPointerA 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 booleanSpdxComparer. collectionsEquivalent(Collection<? extends ModelObject> collectionA, Collection<? extends ModelObject> collectionB)static booleanSpdxComparer. elementsEquivalent(Optional<? extends ModelObject> elementA, Optional<? extends ModelObject> elementB)