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 String
getDetailsUrl()
Boolean
getFsfLibre()
String
getLicenseId()
String
getName()
String
getReference()
int
getReferenceNumber()
List<String>
getSeeAlso()
boolean
isDeprecatedLicenseId()
boolean
isOsiApproved()
void
setDeprecatedLicenseId(boolean isDeprecatedLicenseId)
void
setDetailsUrl(String detailsUrl)
void
setFsfLibre(Boolean fsfLibre)
void
setLicenseId(String licenseId)
void
setName(String name)
void
setOsiApproved(boolean isOsiApproved)
void
setReference(String reference)
void
setReferenceNumber(int referenceNumber)
void
setSeeAlso(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
-
-