Package de.xima.fc.mdl.license
Class ItemLicenseModel
java.lang.Object
de.xima.fc.mdl.license.ItemLicenseModel
- All Implemented Interfaces:
IItemLicenseModel,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax0.license3j.LicenseInitializes the license (if needed) and returns thembyte[]booleanboolean
-
Constructor Details
-
ItemLicenseModel
public ItemLicenseModel(byte[] licenseFileData) - Parameters:
licenseFileData- the license-file
-
-
Method Details
-
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
- Specified by:
getParentLicenseKeyin interfaceIItemLicenseModel
-
getItemKey
- Specified by:
getItemKeyin interfaceIItemLicenseModel
-
getItemName
- Specified by:
getItemNamein interfaceIItemLicenseModel
-
getItemLicenseKey
-
getLicenseCreationDate
- Specified by:
getLicenseCreationDatein interfaceIItemLicenseModel- Returns:
- the creation date of the license
-
getLicenseModificationDate
- Specified by:
getLicenseModificationDatein interfaceIItemLicenseModel- Returns:
- the modification date of the license
-
getLicenseExpireDate
- Specified by:
getLicenseExpireDatein interfaceIItemLicenseModel- Returns:
- the expire date of the license
-
getDate
-
getString
-
getLicenseFileData
public byte[] getLicenseFileData()
-