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.License
Initializes the license (if needed) and returns thembyte[]
boolean
boolean
-
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:
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
- Specified by:
getParentLicenseKey
in interfaceIItemLicenseModel
-
getItemKey
- Specified by:
getItemKey
in interfaceIItemLicenseModel
-
getItemName
- Specified by:
getItemName
in interfaceIItemLicenseModel
-
getItemLicenseKey
-
getLicenseCreationDate
- Specified by:
getLicenseCreationDate
in interfaceIItemLicenseModel
- Returns:
- the creation date of the license
-
getLicenseModificationDate
- Specified by:
getLicenseModificationDate
in interfaceIItemLicenseModel
- Returns:
- the modification date of the license
-
getLicenseExpireDate
- Specified by:
getLicenseExpireDate
in interfaceIItemLicenseModel
- Returns:
- the expire date of the license
-
getDate
-
getString
-
getLicenseFileData
public byte[] getLicenseFileData()
-