Package org.spdx.storage.listedlicense
Class ExceptionJsonTOC.ExceptionJson
- java.lang.Object
-
- org.spdx.storage.listedlicense.ExceptionJsonTOC.ExceptionJson
-
- Enclosing class:
- ExceptionJsonTOC
public static class ExceptionJsonTOC.ExceptionJson extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetailsUrl()Retrieve the details URLStringgetLicenseExceptionId()Retrieve the license exception IDStringgetName()Retrieve the nameStringgetReference()Retrieve the referenceintgetReferenceNumber()Retrieve the reference numberList<String>getSeeAlso()Retrieve the see-also listbooleanisDeprecatedLicenseId()Check whether this is a deprecated license IDvoidsetDeprecatedLicenseId(boolean isDeprecatedLicenseId)Set whether this is a deprecated license IDvoidsetDetailsUrl(String detailsUrl)Set the details URLvoidsetLicenseExceptionId(String licenseExceptionId)Set the license exception IDvoidsetName(String name)Set the namevoidsetReference(String reference)Set the referencevoidsetReferenceNumber(int referenceNumber)Set the reference numbervoidsetSeeAlso(List<String> seeAlso)Set the see-also list
-
-
-
Method Detail
-
getLicenseExceptionId
public String getLicenseExceptionId()
Retrieve the license exception ID- Returns:
- the licenseExceptionId
-
getReference
public String getReference()
Retrieve the reference- Returns:
- the reference
-
isDeprecatedLicenseId
public boolean isDeprecatedLicenseId()
Check whether this is a deprecated license ID- Returns:
- the isDeprecatedLicenseId
-
getDetailsUrl
public String getDetailsUrl()
Retrieve the details URL- Returns:
- the detailsUrl
-
getReferenceNumber
public int getReferenceNumber()
Retrieve the reference number- Returns:
- the referenceNumber
-
getName
public String getName()
Retrieve the name- Returns:
- the name
-
setReference
public void setReference(String reference)
Set the reference- Parameters:
reference- the reference to set
-
setDeprecatedLicenseId
public void setDeprecatedLicenseId(boolean isDeprecatedLicenseId)
Set whether this is a deprecated license ID- Parameters:
isDeprecatedLicenseId- the isDeprecatedLicenseId to set
-
setDetailsUrl
public void setDetailsUrl(String detailsUrl)
Set the details URL- Parameters:
detailsUrl- the detailsUrl to set
-
setReferenceNumber
public void setReferenceNumber(int referenceNumber)
Set the reference number- Parameters:
referenceNumber- the referenceNumber to set
-
setName
public void setName(String name)
Set the name- Parameters:
name- the name to set
-
setLicenseExceptionId
public void setLicenseExceptionId(String licenseExceptionId)
Set the license exception ID- Parameters:
licenseExceptionId- the licenseExceptionId to set
-
-