Class ListedExceptionContainer
java.lang.Object
org.spdx.licenselistpublisher.ListedExceptionContainer
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
ConstructorsConstructorDescriptionListedExceptionContainer(org.spdx.library.model.v2.license.ListedLicenseException v2Exception, org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception) -
Method Summary
Modifier and TypeMethodDescriptionorg.spdx.library.model.v2.license.ListedLicenseExceptionorg.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseExceptionvoidsetV2Exception(org.spdx.library.model.v2.license.ListedLicenseException v2Exception) voidsetV3Exception(org.spdx.library.model.v3_0_1.expandedlicensing.ListedLicenseException v3Exception)
-
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
-