Package de.xima.fc.mdl.license
Class ItemLicenseModel
- java.lang.Object
 - 
- de.xima.fc.mdl.license.ItemLicenseModel
 
 
- 
- All Implemented Interfaces:
 IItemLicenseModel,Serializable
public class ItemLicenseModel extends Object implements IItemLicenseModel
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ItemLicenseModel(byte[] licenseFileData) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDateTimegetDate(String featureName)StringgetItemKey()StringgetItemLicenseKey()StringgetItemName()javax0.license3j.LicensegetLicense()Initializes the license (if needed) and returns themLocalDateTimegetLicenseCreationDate()LocalDateTimegetLicenseExpireDate()byte[]getLicenseFileData()LocalDateTimegetLicenseModificationDate()StringgetParentLicenseKey()StringgetString(String featureName)booleanisExpired()booleanisLicenseOK() 
 - 
 
- 
- 
Method Detail
- 
getLicense
public javax0.license3j.License getLicense()
Initializes the license (if needed) and returns them- Returns:
 - the license
 
 
- 
isLicenseOK
public boolean isLicenseOK()
- Specified by:
 isLicenseOKin interfaceIItemLicenseModel- Returns:
 trueif the license-file is ok,falseotherwise
 
- 
isExpired
public boolean isExpired()
- Specified by:
 isExpiredin interfaceIItemLicenseModel- Returns:
 trueif the license is expired,falseotherwise
 
- 
getParentLicenseKey
public String getParentLicenseKey()
- Specified by:
 getParentLicenseKeyin interfaceIItemLicenseModel
 
- 
getItemKey
public String getItemKey()
- Specified by:
 getItemKeyin interfaceIItemLicenseModel
 
- 
getItemName
public String getItemName()
- Specified by:
 getItemNamein interfaceIItemLicenseModel
 
- 
getItemLicenseKey
public String getItemLicenseKey()
 
- 
getLicenseCreationDate
public LocalDateTime getLicenseCreationDate()
- Specified by:
 getLicenseCreationDatein interfaceIItemLicenseModel- Returns:
 - the creation date of the license
 
 
- 
getLicenseModificationDate
public LocalDateTime getLicenseModificationDate()
- Specified by:
 getLicenseModificationDatein interfaceIItemLicenseModel- Returns:
 - the modification date of the license
 
 
- 
getLicenseExpireDate
public LocalDateTime getLicenseExpireDate()
- Specified by:
 getLicenseExpireDatein interfaceIItemLicenseModel- Returns:
 - the expire date of the license
 
 
- 
getDate
public LocalDateTime getDate(String featureName)
 
- 
getLicenseFileData
public byte[] getLicenseFileData()
 
 - 
 
 -