Package de.xima.fc.mdl.license
Class EmbeddedItemLicenseModel
- java.lang.Object
-
- de.xima.fc.mdl.license.EmbeddedItemLicenseModel
-
- All Implemented Interfaces:
IItemLicenseModel,Serializable
public class EmbeddedItemLicenseModel extends Object implements IItemLicenseModel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmbeddedItemLicenseModel(String licenseKey, String parentLicenseKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDateTimegetDate(String featureName)Map<String,javax0.license3j.Feature>getFeatures()StringgetItemKey()StringgetItemName()LocalDateTimegetLicenseCreationDate()LocalDateTimegetLicenseExpireDate()StringgetLicenseKey()LocalDateTimegetLicenseModificationDate()StringgetParentLicenseKey()StringgetString(String featureName)booleanisExpired()booleanisLicenseOK()
-
-
-
Method Detail
-
getLicenseKey
public String getLicenseKey()
-
getDate
public LocalDateTime getDate(String featureName)
-
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
-
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
-
-