public class LicenseKeyProduct extends Object
Constructor and Description |
---|
LicenseKeyProduct(String productName,
int majorVersion,
int minorVersion,
LicenseKeyProductFeature[] productFeatures)
Creates a LicenseKeyProduct Pojo without an expiration date to be used in products that require a license.
|
LicenseKeyProduct(String productName,
int majorVersion,
int minorVersion,
String type,
LicenseKeyProductFeature[] productFeatures)
Creates a LicenseKeyProduct Pojo without an expiration date to be used in products that require a license.
|
LicenseKeyProduct(String productName,
int majorVersion,
int minorVersion,
String type,
String deploymentType,
Date expire,
String platform,
LicenseKeyProductFeature[] productFeatures)
Creates a LicenseKeyProduct Pojo
|
LicenseKeyProduct(String productName,
int majorVersion,
LicenseKeyProductFeature[] productFeatures)
Creates a LicenseKeyProduct Pojo without an expiration date to be used in products that require a license.
|
LicenseKeyProduct(String productName,
int majorVersion,
String type,
String deploymentType,
Date expire,
String platform,
LicenseKeyProductFeature[] productFeatures)
Creates a LicenseKeyProduct Pojo
|
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentType()
Getter for the deployment method.
|
Date |
getExpire()
Getter for the expiration date
|
int |
getMajorVersion()
Getter for the major version
|
int |
getMinorVersion()
Getter for the minor version
|
String |
getPlatform()
Getter for the platform
|
LicenseKeyProductFeature[] |
getProductFeatures()
Getter for the product features
|
String |
getProductName()
Getter for the product name
|
String |
getType()
Getter for the use
|
public LicenseKeyProduct(String productName, int majorVersion, int minorVersion, String type, String deploymentType, Date expire, String platform, LicenseKeyProductFeature[] productFeatures)
productName
- the name of the productmajorVersion
- the major version of the productminorVersion
- the minor version of the producttype
- the type of use of the productdeploymentType
- the type of deployment of the productexpire
- the expiration date of the productplatform
- the platform the product is used onproductFeatures
- the available featurespublic LicenseKeyProduct(String productName, int majorVersion, String type, String deploymentType, Date expire, String platform, LicenseKeyProductFeature[] productFeatures)
productName
- the name of the productmajorVersion
- the major version of the producttype
- the type of use of the productdeploymentType
- the type of deployment of the productexpire
- the expiration date of the productplatform
- the platform the product is used onproductFeatures
- the available featurespublic LicenseKeyProduct(String productName, int majorVersion, int minorVersion, LicenseKeyProductFeature[] productFeatures)
productName
- the name of the productmajorVersion
- the major version of the productminorVersion
- the minor version of the productproductFeatures
- the available featurespublic LicenseKeyProduct(String productName, int majorVersion, int minorVersion, String type, LicenseKeyProductFeature[] productFeatures)
productName
- the name of the productmajorVersion
- the major version of the productminorVersion
- the minor version of the producttype
- type of the productproductFeatures
- the available featurespublic LicenseKeyProduct(String productName, int majorVersion, LicenseKeyProductFeature[] productFeatures)
productName
- the name of the productmajorVersion
- the major version of the productproductFeatures
- the available featurespublic String getProductName()
public int getMajorVersion()
public int getMinorVersion()
public String getType()
public Date getExpire()
public String getPlatform()
public LicenseKeyProductFeature[] getProductFeatures()
public String getDeploymentType()
Copyright © 2018. All rights reserved.