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 String
getDetailsUrl()
Retrieve the details URLString
getLicenseExceptionId()
Retrieve the license exception IDString
getName()
Retrieve the nameString
getReference()
Retrieve the referenceint
getReferenceNumber()
Retrieve the reference numberList<String>
getSeeAlso()
Retrieve the see-also listboolean
isDeprecatedLicenseId()
Check whether this is a deprecated license IDvoid
setDeprecatedLicenseId(boolean isDeprecatedLicenseId)
Set whether this is a deprecated license IDvoid
setDetailsUrl(String detailsUrl)
Set the details URLvoid
setLicenseExceptionId(String licenseExceptionId)
Set the license exception IDvoid
setName(String name)
Set the namevoid
setReference(String reference)
Set the referencevoid
setReferenceNumber(int referenceNumber)
Set the reference numbervoid
setSeeAlso(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
-
-