Class LicenseJsonTOC.LicenseJson

java.lang.Object
org.spdx.storage.listedlicense.LicenseJsonTOC.LicenseJson
Enclosing class:
LicenseJsonTOC

public static class LicenseJsonTOC.LicenseJson
extends Object
  • Constructor Details

  • Method Details

    • 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
    • getSeeAlso

      public List<String> getSeeAlso()
      Returns:
      the seeAlso
    • isOsiApproved

      public boolean isOsiApproved()
      Returns:
      the isOsiApproved
    • getFsfLibre

      @Nullable public Boolean getFsfLibre()
      Returns:
      fsfLibre
    • 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
    • setSeeAlso

      public void setSeeAlso​(List<String> seeAlso)
      Parameters:
      seeAlso - the seeAlso to set
    • setOsiApproved

      public void setOsiApproved​(boolean isOsiApproved)
      Parameters:
      isOsiApproved - the isOsiApproved to set