public final class Lic
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected void |
addIncrLicense(Lic incrLicense) |
void |
addUpgradeLicense(Lic upgrLicense) |
java.util.Collection<LicEntry> |
getAllEntries() |
int |
getCustomerID() |
int |
getDaysTillExpiry()
returns number of Days or -1 if there is no expiry.
|
LicEntry |
getEntry(byte code) |
long |
getExpirationTime() |
java.util.List<Lic> |
getIncrLicenses() |
java.lang.String |
getLicenseIDString() |
java.lang.String |
getLicenseSubType() |
int |
getLicenseType() |
java.lang.String |
getLicenseTypeString() |
int |
getLimitValue(byte code,
int defaultValue) |
int |
getLimitValueByPodType(byte code,
PodType type) |
int |
getSerialNuber() |
boolean |
hasExpired() |
boolean |
hasExpired(byte code) |
boolean |
isBaseLicense() |
boolean |
isCount(LicEntry entry) |
boolean |
isFeatureLicensed(byte code) |
boolean |
isUpgradeLicense() |
public int getLicenseType()
public java.lang.String getLicenseTypeString()
public java.util.Collection<LicEntry> getAllEntries()
public boolean isCount(LicEntry entry)
public int getDaysTillExpiry()
public int getCustomerID()
public int getSerialNuber()
public java.lang.String getLicenseIDString()
public LicEntry getEntry(byte code)
public int getLimitValue(byte code, int defaultValue)
public boolean isFeatureLicensed(byte code)
public long getExpirationTime()
public boolean hasExpired()
public boolean hasExpired(byte code)
public boolean isBaseLicense()
public boolean isUpgradeLicense()
protected void addIncrLicense(Lic incrLicense)
baseLicense
- the baseLicense to setpublic void addUpgradeLicense(Lic upgrLicense)
public java.util.List<Lic> getIncrLicenses()
public int getLimitValueByPodType(byte code, PodType type)
public java.lang.String getLicenseSubType()