Package org.spdx.rdfparser
Class SPDXPackageInfo
java.lang.Object
org.spdx.rdfparser.SPDXPackageInfo
@Deprecated public class SPDXPackageInfo extends Object
Deprecated.
This class is no longer used in the SPDX 2.0 version - it is provided for compatibility only
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description SPDXPackageInfo(String declaredName, String versionInfo, String machineName, String sha1, String sourceInfo, AnyLicenseInfo declaredLicense, AnyLicenseInfo concludedLicense, AnyLicenseInfo[] licensesFromFiles, String licenseComments, String declaredCopyright, String shortDescription, String description, String url, SpdxPackageVerificationCode spdxPackageVerificationCode, String supplier, String originator, String homePage)Deprecated. -
Method Summary
Modifier and Type Method Description AnyLicenseInfogetConcludedLicense()Deprecated.StringgetDeclaredCopyright()Deprecated.AnyLicenseInfogetDeclaredLicenses()Deprecated.StringgetDeclaredName()Deprecated.StringgetDescription()Deprecated.StringgetFileName()Deprecated.StringgetHomePage()Deprecated.StringgetLicenseComments()Deprecated.AnyLicenseInfo[]getLicensesFromFiles()Deprecated.StringgetOriginator()Deprecated.SpdxPackageVerificationCodegetPackageVerification()Deprecated.StringgetSha1()Deprecated.StringgetShortDescription()Deprecated.StringgetSourceInfo()Deprecated.StringgetSupplier()Deprecated.StringgetUrl()Deprecated.SpdxPackageVerificationCodegetVerificationCode()Deprecated.StringgetVersionInfo()Deprecated.voidsetConcludedLicense(AnyLicenseInfo concludedLicense)Deprecated.voidsetDConcludedLicense(AnyLicenseInfo concludedLicense)Deprecated.voidsetDeclaredCopyright(String declaredCopyright)Deprecated.voidsetDeclaredLicenses(AnyLicenseInfo declaredLicenses)Deprecated.voidsetDeclaredName(String declaredName)Deprecated.voidsetDescription(String description)Deprecated.voidsetFileName(String fileName)Deprecated.voidsetHomePage(String homePage)Deprecated.Set the home page for the projectvoidsetLicenseComments(String licenseComments)Deprecated.voidsetLicensesFromFiles(AnyLicenseInfo[] licensesFromFiles)Deprecated.voidsetOriginator(String originator)Deprecated.voidsetPackageVerification(SpdxPackageVerificationCode verificationCode)Deprecated.voidsetSha1(String sha1)Deprecated.voidsetShortDescription(String shortDescription)Deprecated.voidsetSourceInfo(String sourceInfo)Deprecated.voidsetSupplier(String supplier)Deprecated.voidsetUrl(String url)Deprecated.voidsetVerificationCode(SpdxPackageVerificationCode verificationCode)Deprecated.voidsetVersionInfo(String versionInfo)Deprecated.
-
Constructor Details
-
SPDXPackageInfo
public SPDXPackageInfo(String declaredName, String versionInfo, String machineName, String sha1, String sourceInfo, AnyLicenseInfo declaredLicense, AnyLicenseInfo concludedLicense, AnyLicenseInfo[] licensesFromFiles, String licenseComments, String declaredCopyright, String shortDescription, String description, String url, SpdxPackageVerificationCode spdxPackageVerificationCode, String supplier, String originator, String homePage)Deprecated.
-
-
Method Details
-
getVerificationCode
Deprecated.- Returns:
- the verificationCode
-
setVerificationCode
Deprecated.- Parameters:
verificationCode- the verificationCode to set
-
getVersionInfo
Deprecated.- Returns:
- the versionInfo
-
setVersionInfo
Deprecated.- Parameters:
versionInfo- the versionInfo to set
-
setConcludedLicense
Deprecated.- Parameters:
concludedLicense- the concludedLicense to set
-
getSupplier
Deprecated.- Returns:
- the supplier
-
setSupplier
Deprecated.- Parameters:
supplier- the supplier to set
-
getOriginator
Deprecated.- Returns:
- the originator
-
setOriginator
Deprecated.- Parameters:
originator- the originator to set
-
getLicensesFromFiles
Deprecated.- Returns:
- the licensesFromFiles
-
setLicensesFromFiles
Deprecated.- Parameters:
licensesFromFiles- the licensesFromFiles to set
-
getLicenseComments
Deprecated.- Returns:
- the licenseComments
-
setLicenseComments
Deprecated.- Parameters:
licenseComments- the licenseComments to set
-
getUrl
Deprecated.- Returns:
- the url
-
setUrl
Deprecated.- Parameters:
url- the url to set
-
getPackageVerification
Deprecated.- Returns:
- the verificationCode
-
setPackageVerification
Deprecated.- Parameters:
verificationCode- the verificationCode to set
-
getDeclaredName
Deprecated.- Returns:
- the declaredName
-
setDeclaredName
Deprecated.- Parameters:
declaredName- the declaredName to set
-
getFileName
Deprecated.- Returns:
- the fileName
-
setFileName
Deprecated.- Parameters:
fileName- the fileName to set
-
getSha1
Deprecated.- Returns:
- the sha1
-
setSha1
Deprecated.- Parameters:
sha1- the sha1 to set
-
getSourceInfo
Deprecated.- Returns:
- the sourceInfo
-
setSourceInfo
Deprecated.- Parameters:
sourceInfo- the sourceInfo to set
-
getDeclaredLicenses
Deprecated.- Returns:
- the declaredLicenses
-
setDeclaredLicenses
Deprecated.- Parameters:
declaredLicenses- the declaredLicenses to set
-
getConcludedLicense
Deprecated.- Returns:
- the detectedLicenses
-
setDConcludedLicense
Deprecated.- Parameters:
concludedLicense- the detectedLicenses to set
-
getDeclaredCopyright
Deprecated.- Returns:
- the declaredCopyright
-
setDeclaredCopyright
Deprecated.- Parameters:
declaredCopyright- the declaredCopyright to set
-
getShortDescription
Deprecated.- Returns:
- the shortDescription
-
setShortDescription
Deprecated.- Parameters:
shortDescription- the shortDescription to set
-
getDescription
Deprecated.- Returns:
- the description
-
setDescription
Deprecated.- Parameters:
description- the description to set
-
getHomePage
Deprecated.- Returns:
- home page for the project
-
setHomePage
Deprecated.Set the home page for the project- Parameters:
homePage-
-