public class ActivatedLicenseState extends java.lang.Object implements LicenseState
Constructor and Description |
---|
ActivatedLicenseState(LicenseDetails platformLicense,
ModuleLicense moduleLicense) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LicenseMode |
getLicenseMode()
The LicenseMode for this given LicenseState.
|
ModuleLicense |
getModuleLicense()
Returns the ModuleLicense in effect for this LicenseState for this particular module.
|
LicenseDetails |
getPlatformLicense()
Returns the PlatformLicense in effect for this LicenseState.
|
java.util.Date |
getTrialExpirationDate()
The Date at which this demo's trial period will expire, or expired at if already expired.
|
boolean |
isTrialExpired()
Whether or not this demo's trial period has expired.
|
java.lang.String |
toString() |
public ActivatedLicenseState(LicenseDetails platformLicense, ModuleLicense moduleLicense)
public LicenseMode getLicenseMode()
LicenseState
getLicenseMode
in interface LicenseState
public ModuleLicense getModuleLicense()
LicenseState
getModuleLicense
in interface LicenseState
public LicenseDetails getPlatformLicense()
LicenseState
getPlatformLicense
in interface LicenseState
public boolean isTrialExpired()
LicenseState
isTrialExpired
in interface LicenseState
public java.util.Date getTrialExpirationDate()
LicenseState
getTrialExpirationDate
in interface LicenseState
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object