com.jp.protection.pub.pro.ls
Interface LicenseStorage.LicenseEntry

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BasicLicenseStorage.BasicLicenseEntry
Enclosing interface:
LicenseStorage

public static interface LicenseStorage.LicenseEntry
extends java.io.Serializable

Interface describes single license stored in the license storage

Since:
3.0

Method Summary
 int getID()
          Returns unique identifier
 byte[] getLicenseBytes()
          Returns license bytes
 java.lang.String getLicenseNumber()
          Returns license number
 int getLicenseType()
          Returns license type
 int getMajorVersion()
          Returns major version
 int getMinorVersion()
          Returns minor version
 java.lang.String getProduct()
          Returns product identifier
 java.lang.String getProductEdition()
          Returns product edition identifier
 int getUserLicensingModel()
          Returns user licensing model
 void setLicenseBytes(byte[] aLicenseBytes)
          Specifies license bytes for the entry
 void setLicenseNumber(java.lang.String aLicenseNumber)
          Specifies license number for the entry
 void setLicenseType(int aLicenseType)
          Specifies license type for the entry
 void setMajorVersion(int aMajorVersion)
          Specifies major version for the entry
 void setMinorVersion(int aMinorVersion)
          Specifies minor version for the entry
 void setProduct(java.lang.String aProduct)
          Specifies product identifier for the entry
 void setProductEdition(java.lang.String aProductEdition)
          Specifies product edition identifier for the entry
 void setUserLicensingModel(int aUserLicensingModel)
          Specifies user licensing model for the entry
 

Method Detail

getID

int getID()
Returns unique identifier

Returns:
unique (per License Storage) identifier

getLicenseBytes

byte[] getLicenseBytes()
Returns license bytes

Returns:
license bytes

setLicenseBytes

void setLicenseBytes(byte[] aLicenseBytes)
Specifies license bytes for the entry

Parameters:
aLicenseBytes - license bytes to set

getLicenseNumber

java.lang.String getLicenseNumber()
Returns license number

Returns:
license number

setLicenseNumber

void setLicenseNumber(java.lang.String aLicenseNumber)
Specifies license number for the entry

Parameters:
aLicenseNumber - license number to set

getLicenseType

int getLicenseType()
Returns license type

Returns:
license type

setLicenseType

void setLicenseType(int aLicenseType)
Specifies license type for the entry

Parameters:
aLicenseType - license type to set

getUserLicensingModel

int getUserLicensingModel()
Returns user licensing model

Returns:
user licensing model

setUserLicensingModel

void setUserLicensingModel(int aUserLicensingModel)
Specifies user licensing model for the entry

Parameters:
aUserLicensingModel - user licensing model to set

getProduct

java.lang.String getProduct()
Returns product identifier

Returns:
product identifier

setProduct

void setProduct(java.lang.String aProduct)
Specifies product identifier for the entry

Parameters:
aProduct - product identifier to set

getProductEdition

java.lang.String getProductEdition()
Returns product edition identifier

Returns:
product edition identifier

setProductEdition

void setProductEdition(java.lang.String aProductEdition)
Specifies product edition identifier for the entry

Parameters:
aProductEdition - product edition identifier to set

getMajorVersion

int getMajorVersion()
Returns major version

Returns:
major version

setMajorVersion

void setMajorVersion(int aMajorVersion)
Specifies major version for the entry

Parameters:
aMajorVersion - major version to set

getMinorVersion

int getMinorVersion()
Returns minor version

Returns:
minor version

setMinorVersion

void setMinorVersion(int aMinorVersion)
Specifies minor version for the entry

Parameters:
aMinorVersion - minor version to set