Uses of Class
org.spdx.library.model.SpdxItem
| Package | Description |
|---|---|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.utility.compare |
Utility classes for comparing SPDX model objects
|
-
Uses of SpdxItem in org.spdx.library.model
Subclasses of SpdxItem in org.spdx.library.model Modifier and Type Class Description classGenericSpdxItemGeneric SPDX item - primarily used for testingclassSpdxFileA File represents a named sequence of information that is contained in a software package.classSpdxPackageA Package represents a collection of software files that are delivered as a single functional component.classSpdxSnippetSnippets 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 SpdxItem Modifier and Type Method Description SpdxItemSpdxItem. setCopyrightText(String copyrightText)SpdxItemSpdxItem. setLicenseComments(String licenseComments)SpdxItemSpdxItem. setLicenseConcluded(AnyLicenseInfo license)Set the licenseConcludedSpdxItemSpdxItem. setName(String name)Method parameters in org.spdx.library.model with type arguments of type SpdxItem Modifier and Type Method Description SpdxDocumentSpdxDocument. setDocumentDescribes(List<SpdxItem> documentDescribes)clear and reset document describes to the paramater collection -
Uses of SpdxItem in org.spdx.utility.compare
Fields in org.spdx.utility.compare with type parameters of type SpdxItem Modifier and Type Field Description protected Map<SpdxDocument,SpdxItem>SpdxItemComparer. documentItemMap of SPDX document to ItemsMethods in org.spdx.utility.compare that return SpdxItem Modifier and Type Method Description SpdxItemSpdxItemComparer. getItem(SpdxDocument doc)Get the item contained by the document docMethods in org.spdx.utility.compare with parameters of type SpdxItem Modifier and Type Method Description voidSpdxItemComparer. addDocumentItem(SpdxDocument spdxDocument, SpdxItem spdxItem)Add a new item to the comparer and compare the contents of the item to all items which have been previously addedConstructors in org.spdx.utility.compare with parameters of type SpdxItem Constructor Description SpdxItemDifference(SpdxItem itemA, SpdxItem itemB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<AnyLicenseInfo> uniqueSeenLicensesA, List<AnyLicenseInfo> uniqueSeenLicensesB, boolean relationshipsEquals, List<Relationship> uniqueRelationshipA, List<Relationship> uniqueRelationshipB, boolean annotationsEquals, List<Annotation> uniqueAnnotationsA, List<Annotation> uniqueAnnotationsB)