Package com.macrofocus.license

# Class SimpleLicenseModel

java.lang.Object
com.macrofocus.license.SimpleLicenseModel

All Implemented Interfaces:
  `LicenseModel`

public class SimpleLicenseModel extends 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, String username, String key)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `LicenseModel.Expiration`
  `getExpiration()`
  `Date`
  `getExpirationDate()`
  `String`
  `getUsername()`
  `LicenseModel.Validity`
  `getValidity()`
  `String`
  `toString()`
  `LicenseModel.State`
  `verify()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### SimpleLicenseModel

    public SimpleLicenseModel(ApplicationModel application, String username, String key)

- ## Method Details

  - ### getUsername

    public String getUsername()
    Specified by:
      `getUsername` in interface `LicenseModel`

  - ### getExpirationDate

    public Date getExpirationDate()
    Specified by:
      `getExpirationDate` in interface `LicenseModel`

  - ### getExpiration

    public LicenseModel.Expiration getExpiration()
    Specified by:
      `getExpiration` in interface `LicenseModel`

  - ### getValidity

    public LicenseModel.Validity getValidity()
    Specified by:
      `getValidity` in interface `LicenseModel`

  - ### verify

    public LicenseModel.State verify()
    Specified by:
      `verify` in interface `LicenseModel`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`