com.jp.protection.pub.pro.lserver
Interface LicenseData

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
LicenseData.Request, LicenseData.Response
All Known Implementing Classes:
LicenseDataImpl, LicenseDataImpl.RequestImpl, LicenseDataImpl.ResponceImpl

public interface LicenseData
extends java.io.Serializable, java.lang.Cloneable

The class describes license need to be locked or obtained using the Licensing Server

Since:
3.0

Nested Class Summary
static interface LicenseData.Request
          Markup interface to identify request sent to the Licensing Server
static interface LicenseData.Response
          Markup interface to identify response from the Licensing Server
 
Field Summary
static java.lang.String PROPERTY_LICENSE_EXPIRE_INFO
           
static java.lang.String PROPERTY_LICENSE_ISSUE_DATE
           
static java.lang.String PROPERTY_LICENSE_NUMBER
           
static java.lang.String PROPERTY_LICENSE_TYPE
           
static java.lang.String PROPERTY_NUMBER_COPIES
           
static java.lang.String PROPERTY_PRODUCT
           
static java.lang.String PROPERTY_PRODUCT_EDITION
           
static java.lang.String PROPERTY_PRODUCT_MAJOR_VERSION
           
static java.lang.String PROPERTY_PRODUCT_MINOR_VERSION
           
static java.lang.String PROPERTY_USER_LICENSING_MODEL
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getLicenseExpireInfo()
          Returns textual representation of the license expiration information
 java.util.Date getLicenseIssueDate()
          Returns the license issue date
 java.lang.String getLicenseNumber()
          Returns the license number
 int getLicenseOptions()
          Return the license options as a combination of the License.OPTION_ constants
 int getLicenseType()
          Returns the license type as one of the License.TYPE_ constants
 int getNumberCopies()
          Returns the license number of copies value
 java.lang.String getProduct()
          Returns the product identifier
 java.lang.String getProductEdition()
          Returns the product's edition identifier
 int getProductMajorVersion()
          Returns the product's major version
 int getProductMinorVersion()
          Returns the product's minor version
 int getUserLicensingModel()
          Returns the user licensing model as one of the License.USER_LICENSING_ constants
 

Field Detail

PROPERTY_LICENSE_NUMBER

static final java.lang.String PROPERTY_LICENSE_NUMBER
See Also:
Constant Field Values

PROPERTY_NUMBER_COPIES

static final java.lang.String PROPERTY_NUMBER_COPIES
See Also:
Constant Field Values

PROPERTY_PRODUCT

static final java.lang.String PROPERTY_PRODUCT
See Also:
Constant Field Values

PROPERTY_PRODUCT_EDITION

static final java.lang.String PROPERTY_PRODUCT_EDITION
See Also:
Constant Field Values

PROPERTY_PRODUCT_MAJOR_VERSION

static final java.lang.String PROPERTY_PRODUCT_MAJOR_VERSION
See Also:
Constant Field Values

PROPERTY_PRODUCT_MINOR_VERSION

static final java.lang.String PROPERTY_PRODUCT_MINOR_VERSION
See Also:
Constant Field Values

PROPERTY_LICENSE_TYPE

static final java.lang.String PROPERTY_LICENSE_TYPE
See Also:
Constant Field Values

PROPERTY_USER_LICENSING_MODEL

static final java.lang.String PROPERTY_USER_LICENSING_MODEL
See Also:
Constant Field Values

PROPERTY_LICENSE_ISSUE_DATE

static final java.lang.String PROPERTY_LICENSE_ISSUE_DATE
See Also:
Constant Field Values

PROPERTY_LICENSE_EXPIRE_INFO

static final java.lang.String PROPERTY_LICENSE_EXPIRE_INFO
See Also:
Constant Field Values
Method Detail

getLicenseNumber

java.lang.String getLicenseNumber()
Returns the license number

Returns:
license number

getNumberCopies

int getNumberCopies()
Returns the license number of copies value

Returns:
license number of copies value

getProduct

java.lang.String getProduct()
Returns the product identifier

Returns:
product identifier

getProductEdition

java.lang.String getProductEdition()
Returns the product's edition identifier

Returns:
product edition identifier

getProductMajorVersion

int getProductMajorVersion()
Returns the product's major version

Returns:
product major version

getProductMinorVersion

int getProductMinorVersion()
Returns the product's minor version

Returns:
product minor version

getLicenseOptions

int getLicenseOptions()
Return the license options as a combination of the License.OPTION_ constants

Returns:
license options

getLicenseType

int getLicenseType()
Returns the license type as one of the License.TYPE_ constants

Returns:
license type

getUserLicensingModel

int getUserLicensingModel()
Returns the user licensing model as one of the License.USER_LICENSING_ constants

Returns:
user licensing model

getLicenseIssueDate

java.util.Date getLicenseIssueDate()
Returns the license issue date

Returns:
license issue date

getLicenseExpireInfo

java.lang.String getLicenseExpireInfo()
Returns textual representation of the license expiration information

Returns:
expiration information

clone

java.lang.Object clone()