Package org.spdx.storage.listedlicense
Class LicenseJsonTOC.LicenseJson
java.lang.Object
org.spdx.storage.listedlicense.LicenseJsonTOC.LicenseJson
- Enclosing class:
- LicenseJsonTOC
public static class LicenseJsonTOC.LicenseJson extends Object
-
Constructor Summary
Constructors Constructor Description LicenseJson() -
Method Summary
Modifier and Type Method Description StringgetDetailsUrl()BooleangetFsfLibre()StringgetLicenseId()StringgetName()StringgetReference()intgetReferenceNumber()List<String>getSeeAlso()booleanisDeprecatedLicenseId()booleanisOsiApproved()voidsetDeprecatedLicenseId(boolean isDeprecatedLicenseId)voidsetDetailsUrl(String detailsUrl)voidsetFsfLibre(Boolean fsfLibre)voidsetLicenseId(String licenseId)voidsetName(String name)voidsetOsiApproved(boolean isOsiApproved)voidsetReference(String reference)voidsetReferenceNumber(int referenceNumber)voidsetSeeAlso(List<String> seeAlso)
-
Constructor Details
-
LicenseJson
public LicenseJson()
-
-
Method Details
-
getReference
- Returns:
- the reference
-
isDeprecatedLicenseId
public boolean isDeprecatedLicenseId()- Returns:
- the isDeprecatedLicenseId
-
getDetailsUrl
- Returns:
- the detailsUrl
-
getReferenceNumber
public int getReferenceNumber()- Returns:
- the referenceNumber
-
getName
- Returns:
- the name
-
getLicenseId
- Returns:
- the licenseId
-
getSeeAlso
- Returns:
- the seeAlso
-
isOsiApproved
public boolean isOsiApproved()- Returns:
- the isOsiApproved
-
getFsfLibre
- Returns:
- fsfLibre
-
setFsfLibre
- Parameters:
fsfLibre- the fsfLibre flag to set
-
setReference
- Parameters:
reference- the reference to set
-
setDeprecatedLicenseId
public void setDeprecatedLicenseId(boolean isDeprecatedLicenseId)- Parameters:
isDeprecatedLicenseId- the isDeprecatedLicenseId to set
-
setDetailsUrl
- Parameters:
detailsUrl- the detailsUrl to set
-
setReferenceNumber
public void setReferenceNumber(int referenceNumber)- Parameters:
referenceNumber- the referenceNumber to set
-
setName
- Parameters:
name- the name to set
-
setLicenseId
- Parameters:
licenseId- the licenseId to set
-
setSeeAlso
- Parameters:
seeAlso- the seeAlso to set
-
setOsiApproved
public void setOsiApproved(boolean isOsiApproved)- Parameters:
isOsiApproved- the isOsiApproved to set
-