Class ListedExceptionContainer

java.lang.Object
org.spdx.licenselistpublisher.ListedExceptionContainer

public class ListedExceptionContainer extends Object
Simple class that holds both the SPDX Spec version 2 and SPDX Spec version 3 forms of the Listed License Exceptions
Author:
Gary O'Neall
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListedExceptionContainer(org.spdx.library.model.v2.license.ListedLicenseException v2Exception, org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.spdx.library.model.v2.license.ListedLicenseException
     
    org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException
     
    void
    setV2Exception(org.spdx.library.model.v2.license.ListedLicenseException v2Exception)
     
    void
    setV3Exception(org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ListedExceptionContainer

      public ListedExceptionContainer(org.spdx.library.model.v2.license.ListedLicenseException v2Exception, org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception)
  • Method Details

    • getV2Exception

      public org.spdx.library.model.v2.license.ListedLicenseException getV2Exception()
      Returns:
      the v2Exception
    • setV2Exception

      public void setV2Exception(org.spdx.library.model.v2.license.ListedLicenseException v2Exception)
      Parameters:
      v2Exception - the v2Exception to set
    • getV3Exception

      public org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException getV3Exception()
      Returns:
      the v3Exception
    • setV3Exception

      public void setV3Exception(org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception)
      Parameters:
      v3Exception - the v3Exception to set