Class ProductData
java.lang.Object
com.itextpdf.commons.actions.data.ProductData
Class is used to describe used product information.
-
Constructor Summary
ConstructorsConstructorDescriptionProductData(String publicProductName, String productName, String version, int sinceCopyrightYear, int toCopyrightYear) Creates a new instance of product data.ProductData(String publicProductName, String productName, String version, String minimalCompatibleLicenseKeyVersion, int sinceCopyrightYear, int toCopyrightYear) Creates a new instance of product data. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for the minimal compatible licensekey version.Getter for a technical name of the product.Getter for a product name.intGetter for the first year of copyright period.intGetter for the last year of copyright period.Getter for a version of the product.inthashCode()
-
Constructor Details
-
ProductData
public ProductData(String publicProductName, String productName, String version, int sinceCopyrightYear, int toCopyrightYear) Creates a new instance of product data.- Parameters:
-
publicProductName- is a product name -
productName- is a technical name of the product -
version- is a version of the product -
sinceCopyrightYear- is the first year of a product development -
toCopyrightYear- is a last year of a product development
-
ProductData
public ProductData(String publicProductName, String productName, String version, String minimalCompatibleLicenseKeyVersion, int sinceCopyrightYear, int toCopyrightYear) Creates a new instance of product data.- Parameters:
-
publicProductName- is a product name -
productName- is a technical name of the product -
version- is a version of the product -
minimalCompatibleLicenseKeyVersion- is a minimal compatible version of licensekey library -
sinceCopyrightYear- is the first year of a product development -
toCopyrightYear- is a last year of a product development
-
-
Method Details
-
getPublicProductName
Getter for a product name.- Returns:
- product name
-
getProductName
Getter for a technical name of the product.- Returns:
- the technical name of the product
-
getVersion
Getter for a version of the product.- Returns:
- version of the product
-
getSinceCopyrightYear
public int getSinceCopyrightYear()Getter for the first year of copyright period.- Returns:
- the first year of copyright
-
getToCopyrightYear
public int getToCopyrightYear()Getter for the last year of copyright period.- Returns:
- the last year of copyright
-
getMinCompatibleLicensingModuleVersion
Getter for the minimal compatible licensekey version.- Returns:
- minimal compatible version of licensekey library.
-
equals
-
hashCode
public int hashCode()
-