public class AppLicense extends LicenseKey
Constructor and Description |
---|
AppLicense(Id<AppLicense,Long> id,
short licFWVersion,
LicenseType type,
LicenseStatus status,
boolean base,
short product,
String prodName,
short prodVersion,
long lockId,
long created,
long activated,
short metric,
String metricName,
int metricQty,
short deactCode,
short sno,
short expDays,
String key) |
AppLicense(short licFWVersion,
int type,
int status,
boolean base,
short product,
String prodName,
short prodVersion,
long lockId,
long created,
long activated,
short metric,
String metricName,
int metricQty,
short deactCode,
short sno,
short expDays,
String key) |
AppLicense(short licFWVersion,
LicenseType type,
LicenseStatus status,
boolean base,
short product,
String prodName,
short prodVersion,
long lockId,
long created,
long activated,
short metric,
String metricName,
int metricQty,
short deactCode,
short sno,
short expDays,
String key) |
Modifier and Type | Method and Description |
---|---|
long |
getActivated() |
long |
getCreated() |
short |
getDeactCode() |
long |
getExpDays() |
short |
getLicFWVersion() |
long |
getLockId() |
short |
getMetric() |
String |
getMetricName() |
int |
getMetricQty() |
short |
getProduct() |
String |
getProductName() |
short |
getProdVersion() |
LicenseStatus |
getStatus() |
LicenseType |
getType() |
boolean |
isBase() |
getKey, getLastUpdated, getSno, setLastUpdated
equals, getId, hashCode, toString
public AppLicense(Id<AppLicense,Long> id, short licFWVersion, LicenseType type, LicenseStatus status, boolean base, short product, String prodName, short prodVersion, long lockId, long created, long activated, short metric, String metricName, int metricQty, short deactCode, short sno, short expDays, String key)
id
- idlicFWVersion
- license framework versiontype
- license type i.e. DEMO, PROD, TEST, TRIALstatus
- license status i.e. NEW, ACTIVE, EXPIRED, INACTIVEbase
- license is a base type or notproduct
- licensed productprodName
- product nameprodVersion
- licensed product versionlockId
- install idcreated
- license creation dateactivated
- licenses added at the productmetric
- licensed for metric type i.e. NODES, USERSmetricName
- metric namemetricQty
- licensed quantitydeactCode
- deactivated license codesno
- license record/serial numberexpDays
- license expiration in days since it's creationkey
- license keyIllegalArgumentException
- if licFWVersion, product, lockId,
created, metric, metricQty, sno, or expDays values are invalidNullPointerException
- if type, status, or key are nullpublic AppLicense(short licFWVersion, LicenseType type, LicenseStatus status, boolean base, short product, String prodName, short prodVersion, long lockId, long created, long activated, short metric, String metricName, int metricQty, short deactCode, short sno, short expDays, String key)
licFWVersion
- license framework versiontype
- license type i.e. DEMO, PROD, TEST, TRIALstatus
- license status i.e. NEW, ACTIVE, EXPIRED, INACTIVEbase
- license is a base type or notproduct
- licensed productprodName
- product nameprodVersion
- licensed product versionlockId
- install idcreated
- license creation dateactivated
- licenses added at the productmetric
- licensed for metric type i.e. NODES, USERSmetricName
- metric namemetricQty
- licensed quantitydeactCode
- deactivated license codesno
- license record/serial numberexpDays
- license expiration in days since it's creationkey
- license keyIllegalArgumentException
- if licFWVersion, product, lockId,
created, metric, metricQty, sno, or expDays values are invalidNullPointerException
- if type, status, or key are nullpublic AppLicense(short licFWVersion, int type, int status, boolean base, short product, String prodName, short prodVersion, long lockId, long created, long activated, short metric, String metricName, int metricQty, short deactCode, short sno, short expDays, String key)
licFWVersion
- license framework versiontype
- license type id i.e. DEMO, PROD, TEST, TRIALstatus
- license status id i.e. NEW, ACTIVE, EXPIRED, INACTIVEbase
- license is a base type or notproduct
- licensed productprodName
- product nameprodVersion
- licensed product versionlockId
- install idcreated
- license creation dateactivated
- licenses added at the productmetric
- licensed for metric type i.e. NODES, USERSmetricName
- metric namemetricQty
- licensed quantitydeactCode
- deactivated license codesno
- license record/serial numberexpDays
- license expiration in days since it's creationkey
- license keyIllegalArgumentException
- if licFWVersion, product, lockId,
created, metric, metricQty, sno, or expDays values are invalidNullPointerException
- if type, status, or key are nullpublic LicenseType getType()
public LicenseStatus getStatus()
public boolean isBase()
public short getProduct()
public String getProductName()
public short getProdVersion()
public long getLockId()
public long getCreated()
public long getActivated()
public short getMetric()
public String getMetricName()
public int getMetricQty()
public short getDeactCode()
public short getLicFWVersion()
public long getExpDays()
Copyright © 2016. All Rights Reserved.