Class ProductData

java.lang.Object
com.itextpdf.commons.actions.data.ProductData

public final class ProductData extends Object
Class is used to describe used product information.
  • 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

      public String getPublicProductName()
      Getter for a product name.
      Returns:
      product name
    • getProductName

      public String getProductName()
      Getter for a technical name of the product.
      Returns:
      the technical name of the product
    • getVersion

      public String 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

      public String getMinCompatibleLicensingModuleVersion()
      Getter for the minimal compatible licensekey version.
      Returns:
      minimal compatible version of licensekey library.
    • equals

      public boolean equals (Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object