Class LicenseWrapper

java.lang.Object
com.elpical.jclaro.admin.ws.server.LicenseWrapper

public class LicenseWrapper extends Object
Information about various aspects of the license
  • Constructor Details

    • LicenseWrapper

      public LicenseWrapper()
      Empty Constructor
    • LicenseWrapper

      public LicenseWrapper(com.elpical.jclaro.license.License license)
      Construct a LicenseWrapper from the server object License
  • Method Details

    • getProductname

      public String getProductname()
      Returns the name of the product for which this license applies
      Returns:
      The name of the product for which this license applies
    • setProductname

      public void setProductname(String set)
      Sets the name of the product for which this license applies
      Parameters:
      set - The name of the product for which this license applies
    • getLicensetype

      public int getLicensetype()
      Returns the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7);
      Returns:
      The type of license
    • setLicensetype

      public void setLicensetype(int licensetype)
      Sets the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7);
    • getComparetype

      public int getComparetype()
    • setComparetype

      public void setComparetype(int comparetype)
    • getExpirationDate

      public long getExpirationDate()
      Returns the expiration time of the license
      Returns:
      The expiration time of the license
    • setExpirationDate

      public void setExpirationDate(long expirationDate)
      Sets the expiration time of the license
      Parameters:
      expirationDate - The expiration time of the license
    • getLastEditDate

      public long getLastEditDate()
      Returns the last time the license has been changed
      Returns:
      The last time the license has been changed
    • setLastEditDate

      public void setLastEditDate(long lastEditDate)
      Sets the last time the license has been changed
      Parameters:
      lastEditDate - The last time the license has been changed
    • getVersionNrMajor

      public int getVersionNrMajor()
      Returns the major version the license is valid for
    • setVersionNrMajor

      public void setVersionNrMajor(int versionNrMajor)
      Sets the major version the license is valid for
    • getVersionNrMinor

      public int getVersionNrMinor()
      Returns the minor version the license is valid for
    • setVersionNrMinor

      public void setVersionNrMinor(int versionNrMinor)
      Sets the minor version the license is valid for
    • getVersionNrBuild

      public String getVersionNrBuild()
      Returns the version build number the license is valid for
      Returns:
      The version build number the license is valid for
    • setVersionNrBuild

      public void setVersionNrBuild(String versionNrBuild)
      Sets the version build number the license is valid for
      Parameters:
      versionNrBuild - The version build number the license is valid for
    • getId

      public long getId()
      Returns the id of the license
      Returns:
      The id of the license
    • setId

      public void setId(long id)
      Sets the id of the license
      Parameters:
      id - The id of the license