Package org.spdx.storage.listedlicense
Class LicenseJsonTOC.LicenseJson
java.lang.Object
org.spdx.storage.listedlicense.LicenseJsonTOC.LicenseJson
- Enclosing class:
- LicenseJsonTOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intbooleanbooleanvoidsetDeprecatedLicenseId(boolean isDeprecatedLicenseId) voidsetDetailsUrl(String detailsUrl) voidsetFsfLibre(Boolean fsfLibre) voidsetLicenseId(String licenseId) voidvoidsetOsiApproved(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
-