public class SPDXPackageInfo extends Object
| Constructor and Description |
|---|
SPDXPackageInfo(String declaredName,
String versionInfo,
String machineName,
String sha1,
String sourceInfo,
SPDXLicenseInfo declaredLicense,
SPDXLicenseInfo concludedLicense,
SPDXLicenseInfo[] licensesFromFiles,
String licenseComments,
String declaredCopyright,
String shortDescription,
String description,
String url,
SpdxPackageVerificationCode spdxPackageVerificationCode,
String supplier,
String originator,
String homePage) |
public SPDXPackageInfo(String declaredName, String versionInfo, String machineName, String sha1, String sourceInfo, SPDXLicenseInfo declaredLicense, SPDXLicenseInfo concludedLicense, SPDXLicenseInfo[] licensesFromFiles, String licenseComments, String declaredCopyright, String shortDescription, String description, String url, SpdxPackageVerificationCode spdxPackageVerificationCode, String supplier, String originator, String homePage)
public SpdxPackageVerificationCode getVerificationCode()
public void setVerificationCode(SpdxPackageVerificationCode verificationCode)
verificationCode - the verificationCode to setpublic String getVersionInfo()
public void setVersionInfo(String versionInfo)
versionInfo - the versionInfo to setpublic void setConcludedLicense(SPDXLicenseInfo concludedLicense)
concludedLicense - the concludedLicense to setpublic String getSupplier()
public void setSupplier(String supplier)
supplier - the supplier to setpublic String getOriginator()
public void setOriginator(String originator)
originator - the originator to setpublic SPDXLicenseInfo[] getLicensesFromFiles()
public void setLicensesFromFiles(SPDXLicenseInfo[] licensesFromFiles)
licensesFromFiles - the licensesFromFiles to setpublic String getLicenseComments()
public void setLicenseComments(String licenseComments)
licenseComments - the licenseComments to setpublic String getUrl()
public void setUrl(String url)
url - the url to setpublic SpdxPackageVerificationCode getPackageVerification()
public void setPackageVerification(SpdxPackageVerificationCode verificationCode)
verificationCode - the verificationCode to setpublic String getDeclaredName()
public void setDeclaredName(String declaredName)
declaredName - the declaredName to setpublic String getFileName()
public void setFileName(String fileName)
fileName - the fileName to setpublic String getSha1()
public void setSha1(String sha1)
sha1 - the sha1 to setpublic String getSourceInfo()
public void setSourceInfo(String sourceInfo)
sourceInfo - the sourceInfo to setpublic SPDXLicenseInfo getDeclaredLicenses()
public void setDeclaredLicenses(SPDXLicenseInfo declaredLicenses)
declaredLicenses - the declaredLicenses to setpublic SPDXLicenseInfo getConcludedLicense()
public void setDConcludedLicense(SPDXLicenseInfo concludedLicense)
concludedLicense - the detectedLicenses to setpublic String getDeclaredCopyright()
public void setDeclaredCopyright(String declaredCopyright)
declaredCopyright - the declaredCopyright to setpublic String getShortDescription()
public void setShortDescription(String shortDescription)
shortDescription - the shortDescription to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic String getHomePage()
public void setHomePage(String homePage)
homePage - Copyright © 2014 Linux Foundation. All Rights Reserved.