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 LocalDateTime
getDate(String featureName)
Map<String,javax0.license3j.Feature>
getFeatures()
String
getItemKey()
String
getItemName()
LocalDateTime
getLicenseCreationDate()
LocalDateTime
getLicenseExpireDate()
String
getLicenseKey()
LocalDateTime
getLicenseModificationDate()
String
getParentLicenseKey()
String
getString(String featureName)
boolean
isExpired()
boolean
isLicenseOK()
-
-
-
Method Detail
-
getLicenseKey
public String getLicenseKey()
-
getDate
public LocalDateTime getDate(String featureName)
-
isLicenseOK
public boolean isLicenseOK()
- Specified by:
isLicenseOK
in interfaceIItemLicenseModel
- Returns:
true
if the license-file is ok,false
otherwise
-
isExpired
public boolean isExpired()
- Specified by:
isExpired
in interfaceIItemLicenseModel
- Returns:
true
if the license is expired,false
otherwise
-
getParentLicenseKey
public String getParentLicenseKey()
- Specified by:
getParentLicenseKey
in interfaceIItemLicenseModel
-
getItemKey
public String getItemKey()
- Specified by:
getItemKey
in interfaceIItemLicenseModel
-
getItemName
public String getItemName()
- Specified by:
getItemName
in interfaceIItemLicenseModel
-
getLicenseCreationDate
public LocalDateTime getLicenseCreationDate()
- Specified by:
getLicenseCreationDate
in interfaceIItemLicenseModel
- Returns:
- the creation date of the license
-
getLicenseModificationDate
public LocalDateTime getLicenseModificationDate()
- Specified by:
getLicenseModificationDate
in interfaceIItemLicenseModel
- Returns:
- the modification date of the license
-
getLicenseExpireDate
public LocalDateTime getLicenseExpireDate()
- Specified by:
getLicenseExpireDate
in interfaceIItemLicenseModel
- Returns:
- the expire date of the license
-
-