Package com.macrofocus.license
Class SimpleLicenseModel
- java.lang.Object
-
- com.macrofocus.license.SimpleLicenseModel
-
- All Implemented Interfaces:
LicenseModel
public class SimpleLicenseModel extends java.lang.Object implements LicenseModel
User: gluc Date: Oct 28, 2005 Time: 2:38:46 AM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.license.LicenseModel
LicenseModel.Expiration, LicenseModel.State, LicenseModel.Validity
-
-
Constructor Summary
Constructors Constructor Description SimpleLicenseModel(ApplicationModel application, java.lang.String username, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseModel.Expiration
getExpiration()
java.util.Date
getExpirationDate()
java.lang.String
getUsername()
LicenseModel.Validity
getValidity()
java.lang.String
toString()
LicenseModel.State
verify()
-
-
-
Constructor Detail
-
SimpleLicenseModel
public SimpleLicenseModel(ApplicationModel application, java.lang.String username, java.lang.String key)
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interfaceLicenseModel
-
getExpirationDate
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate
in interfaceLicenseModel
-
getExpiration
public LicenseModel.Expiration getExpiration()
- Specified by:
getExpiration
in interfaceLicenseModel
-
getValidity
public LicenseModel.Validity getValidity()
- Specified by:
getValidity
in interfaceLicenseModel
-
verify
public LicenseModel.State verify()
- Specified by:
verify
in interfaceLicenseModel
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-