com.jp.protection.pub.pro.integration
Class LicenseDescr

java.lang.Object
  extended by com.jp.protection.pub.pro.integration.LicenseDescr

public class LicenseDescr
extends java.lang.Object

This class briefly describes the license required to get using LicensingFacade


Field Summary
protected  int fLicenseType
           
protected  java.lang.String fProduct
           
protected  java.lang.String fProductEdition
           
protected  int fProductMajorVersion
           
protected  int fProductMinorVersion
           
 
Constructor Summary
LicenseDescr()
           
 
Method Summary
 int getLicenseType()
          Returns type of the license.
 java.lang.String getProduct()
          Returns identifier of the product the license is issued for.
 java.lang.String getProductEdition()
          Returns identifier of the product editions the license is issued for.
 int getProductMajorVersion()
          Returns major version of the product.
 int getProductMinorVersion()
          Returns minor version of the product.
 void setLicenseType(int aLicenseType)
          Specifies the type of the license.
 void setProduct(java.lang.String aProduct)
          Specifies identifier of the product the license is issued for.
 void setProductEdition(java.lang.String aProductEdition)
          Specifies identifier of the product editions the license is issued for.
 void setProductMajorVersion(int aProductMajorVersion)
          Specifies major version of the product.
 void setProductMinorVersion(int aProductMinorVersion)
          Specifies minor version of the product.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fLicenseType

protected int fLicenseType

fProduct

protected java.lang.String fProduct

fProductEdition

protected java.lang.String fProductEdition

fProductMajorVersion

protected int fProductMajorVersion

fProductMinorVersion

protected int fProductMinorVersion
Constructor Detail

LicenseDescr

public LicenseDescr()
Method Detail

getLicenseType

public int getLicenseType()
Returns type of the license.

Returns:
license type, which can be one of the LicenseBase.TYPE constants.

setLicenseType

public void setLicenseType(int aLicenseType)
Specifies the type of the license.

Parameters:
aLicenseType - license type.

getProduct

public java.lang.String getProduct()
Returns identifier of the product the license is issued for.

Returns:
identifier of the product.

setProduct

public void setProduct(java.lang.String aProduct)
Specifies identifier of the product the license is issued for.

Parameters:
aProduct - identifier of the product.

getProductEdition

public java.lang.String getProductEdition()
Returns identifier of the product editions the license is issued for.

Returns:
identifier of the product edition.

setProductEdition

public void setProductEdition(java.lang.String aProductEdition)
Specifies identifier of the product editions the license is issued for.

Parameters:
aProductEdition - identifier of the product edition.

getProductMajorVersion

public int getProductMajorVersion()
Returns major version of the product.

Returns:
major version number.

setProductMajorVersion

public void setProductMajorVersion(int aProductMajorVersion)
Specifies major version of the product.

Parameters:
aProductMajorVersion - major version number.

getProductMinorVersion

public int getProductMinorVersion()
Returns minor version of the product.

Returns:
minor version number

setProductMinorVersion

public void setProductMinorVersion(int aProductMinorVersion)
Specifies minor version of the product.

Parameters:
aProductMinorVersion - minor version number