java.lang.Object
omix.util.licensing.LicenseKey
public class LicenseKey extends Object
This class represents all entries of an Omix license key file.
- Since:
- Omix 1.7.0
- Author:
- Dr. Peter Droste
-
Field Summary
Fields Modifier and Type Field Description String
hardwareAddress
String
licensee
int
licenseID
String
licenseURL
VersionNumber
maxVersion
VersionNumber
minVersion
String
organization
String
product
String
serialNumber
String
serialNumberData
byte[]
signature
String
siteRestriction
Date
startDate
int
subscriptionID
Date
terminationDate
LicenseType
type
Date
updatesUntilDate
String
username
String
vendor
int
volumeRestriction
-
Constructor Summary
Constructors Constructor Description LicenseKey(byte[] signature, String username, String serialNumberData, String serialNumber, String licensee, String organization, String vendor, String licenseURL, int licenseID, int subscriptionID, String product, VersionNumber minVersion, VersionNumber maxVersion, Date startDate, Date terminationDate, Date updatesUntilDate, int volumeRestriction, String siteRestriction, String hardwareAddress, LicenseType type)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getFormattedLicenseID()
String
getFormattedSubscriptionID()
int
hashCode()
-
Field Details
-
username
-
serialNumber
-
serialNumberData
-
licensee
-
organization
-
vendor
-
licenseURL
-
licenseID
public final int licenseID -
subscriptionID
public final int subscriptionID -
product
-
type
-
minVersion
-
maxVersion
-
startDate
-
terminationDate
-
updatesUntilDate
-
volumeRestriction
public final int volumeRestriction -
siteRestriction
-
hardwareAddress
-
signature
public final byte[] signature
-
-
Constructor Details
-
LicenseKey
@ConstructorProperties({"signature","username","serialNumber","licensee","organization","vendor","licenseURL","licenseID","subscriptionID","product","minVersion","maxVersion","startDate","terminationDate","updatesUntilDate","volumeRestriction","siteRestriction","hardwareAddress","type"}) public LicenseKey(byte[] signature, String username, String serialNumberData, String serialNumber, String licensee, String organization, String vendor, String licenseURL, int licenseID, int subscriptionID, String product, VersionNumber minVersion, VersionNumber maxVersion, Date startDate, Date terminationDate, Date updatesUntilDate, int volumeRestriction, String siteRestriction, String hardwareAddress, LicenseType type)
-
-
Method Details
-
getFormattedLicenseID
-
getFormattedSubscriptionID
-
hashCode
public int hashCode() -
equals
-