Class ExceptionJsonTOC.ExceptionJson
java.lang.Object
org.spdx.storage.listedlicense.ExceptionJsonTOC.ExceptionJson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the details URLRetrieve the license exception IDgetName()Retrieve the nameRetrieve the referenceintRetrieve the reference numberRetrieve the see-also listbooleanCheck 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 IDvoidSet the namevoidsetReference(String reference) Set the referencevoidsetReferenceNumber(int referenceNumber) Set the reference numbervoidsetSeeAlso(List<String> seeAlso) Set the see-also list
-
Constructor Details
-
ExceptionJson
public ExceptionJson()
-
-
Method Details
-
getLicenseExceptionId
Retrieve the license exception ID- Returns:
- the licenseExceptionId
-
getReference
-
isDeprecatedLicenseId
public boolean isDeprecatedLicenseId()Check whether this is a deprecated license ID- Returns:
- the isDeprecatedLicenseId
-
getDetailsUrl
-
getReferenceNumber
public int getReferenceNumber()Retrieve the reference number- Returns:
- the referenceNumber
-
getName
-
getSeeAlso
-
setReference
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
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
-
setLicenseExceptionId
Set the license exception ID- Parameters:
licenseExceptionId- the licenseExceptionId to set
-
setSeeAlso
-