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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getReference
public String getReference()
- Returns:
- the reference
-
isDeprecatedLicenseId
public boolean isDeprecatedLicenseId()
- Returns:
- the isDeprecatedLicenseId
-
getDetailsUrl
public String getDetailsUrl()
- Returns:
- the detailsUrl
-
getReferenceNumber
public int getReferenceNumber()
- Returns:
- the referenceNumber
-
getName
public String getName()
- Returns:
- the name
-
getLicenseId
public String getLicenseId()
- Returns:
- the licenseId
-
isOsiApproved
public boolean isOsiApproved()
- Returns:
- the isOsiApproved
-
setFsfLibre
public void setFsfLibre(@Nullable Boolean fsfLibre)
- Parameters:
fsfLibre- the fsfLibre flag to set
-
setReference
public void setReference(String reference)
- Parameters:
reference- the reference to set
-
setDeprecatedLicenseId
public void setDeprecatedLicenseId(boolean isDeprecatedLicenseId)
- Parameters:
isDeprecatedLicenseId- the isDeprecatedLicenseId to set
-
setDetailsUrl
public void setDetailsUrl(String detailsUrl)
- Parameters:
detailsUrl- the detailsUrl to set
-
setReferenceNumber
public void setReferenceNumber(int referenceNumber)
- Parameters:
referenceNumber- the referenceNumber to set
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
setLicenseId
public void setLicenseId(String licenseId)
- Parameters:
licenseId- the licenseId to set
-
setOsiApproved
public void setOsiApproved(boolean isOsiApproved)
- Parameters:
isOsiApproved- the isOsiApproved to set
-
-