Uses of Class
org.spdx.library.model.v2.Checksum
-
Packages that use Checksum Package Description org.spdx.library.model.v2 Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3) -
-
Uses of Checksum in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return Checksum Modifier and Type Method Description static Checksum
Checksum. create(org.spdx.storage.IModelStore modelStore, String documentUri, ChecksumAlgorithm algorithm, String value)
Create a checksum with an anonymous IDChecksum
ModelObjectV2. createChecksum(ChecksumAlgorithm algorithm, String value)
Methods in org.spdx.library.model.v2 that return types with arguments of type Checksum Modifier and Type Method Description Optional<Checksum>
ExternalDocumentRef. getChecksum()
Collection<Checksum>
SpdxFile. getChecksums()
Collection<Checksum>
SpdxPackage. getChecksums()
Methods in org.spdx.library.model.v2 with parameters of type Checksum Modifier and Type Method Description boolean
SpdxFile. addChecksum(Checksum checksum)
Add a checksumSpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. addChecksum(Checksum checksum)
SpdxPackage
SpdxPackage. addChecksum(Checksum checksum)
Add a checksum to the collection of checksums for this packageSpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. addChecksum(Checksum checksum)
int
Checksum. compareTo(Checksum compare)
ExternalDocumentRef
ModelObjectV2. createExternalDocumentRef(String externalDocumentId, String externalDocumentUri, Checksum checksum)
SpdxFile.SpdxFileBuilder
ModelObjectV2. createSpdxFile(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, Checksum sha1)
Create an SpdxFileBuilder with all of the required properties - the build() method will build the fileExternalDocumentRef
ExternalDocumentRef. setChecksum(Checksum checksum)
Method parameters in org.spdx.library.model.v2 with type arguments of type Checksum Modifier and Type Method Description SpdxFile.SpdxFileBuilder
SpdxFile.SpdxFileBuilder. setChecksums(Collection<Checksum> checksums)
SpdxPackage.SpdxPackageBuilder
SpdxPackage.SpdxPackageBuilder. setChecksums(Collection<Checksum> checksums)
Constructors in org.spdx.library.model.v2 with parameters of type Checksum Constructor Description SpdxFileBuilder(org.spdx.storage.IModelStore modelStore, String documentUri, String id, org.spdx.core.IModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, Checksum sha1)
Build a file with the required parameters
-