com.jp.protection.pub.pro.ls
Class BasicLicenseStorage.BasicLicenseEntry

java.lang.Object
  extended by com.jp.protection.pub.pro.ls.BasicLicenseStorage.BasicLicenseEntry
All Implemented Interfaces:
LicenseStorage.LicenseEntry, java.io.Serializable
Enclosing class:
BasicLicenseStorage

public static class BasicLicenseStorage.BasicLicenseEntry
extends java.lang.Object
implements LicenseStorage.LicenseEntry, java.io.Serializable

Basic implementation of the LicenseEntry interface

Since:
3.0
See Also:
Serialized Form

Field Summary
protected  BasicLicenseStorage fBasicLicenseStorage
           
protected  int fCheckoutPeriod
           
protected  int fCPULimit
           
protected  int fID
           
protected  byte[] fLicenseBytes
           
protected  java.util.Date fLicenseIssueDate
           
protected  java.lang.String fLicenseNumber
           
protected  int fLicenseType
           
protected  int fLockPeriod
           
protected  java.lang.String fMainLicenseNumber
           
protected  int fMajorVersion
           
protected  long fMemoryLimit
           
protected  int fMinorVersion
           
protected  java.lang.String fModifiedBy
           
protected  int fNumberCopies
           
protected  java.lang.String fProduct
           
protected  java.lang.String fProductEdition
           
protected  java.beans.PropertyChangeSupport fPropertyChangeSupport
           
protected  int fState
           
protected  int fSupplementalCPULimit
           
protected  long fSupplementalMemoryLimit
           
protected  int fSupplementalNumberCopies
           
protected  int fSupplementalUsageLimit
           
protected  int fUsageLimit
           
protected  int fUserLicensingModel
           
protected  boolean fValid
           
static java.lang.String PROPERTY_LICENSE_BYTES
           
static java.lang.String PROPERTY_LICENSE_NUMBER
           
static java.lang.String PROPERTY_LICENSE_TYPE
           
static java.lang.String PROPERTY_MAIN_LICENSE_NUMBER
           
static java.lang.String PROPERTY_MAJOR_VERSION
           
static java.lang.String PROPERTY_MINOR_VERSION
           
static java.lang.String PROPERTY_PRODUCT
           
static java.lang.String PROPERTY_PRODUCT_EDITION
           
static java.lang.String PROPERTY_USER_LICENSING_MODEL
           
static java.lang.String PROPERTY_VALID
           
static long serialVersionUID
           
 
Constructor Summary
BasicLicenseStorage.BasicLicenseEntry(int anID)
          Creates a new instance of the BasicLicenseEntry
BasicLicenseStorage.BasicLicenseEntry(int anID, byte[] aLicenseBytes, java.lang.String aProduct)
          Creates a new instance of the BasicLicenseEntry
BasicLicenseStorage.BasicLicenseEntry(int anID, byte[] aLicenseBytes, java.lang.String aProduct, java.lang.String aProductEdition, int aMajorVersion, int aMinorVersion, int aLicenseType)
          Creates a new instance of the BasicLicenseEntry
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Adds a listener to the listeners list
 boolean equals(java.lang.Object anOther)
           
 BasicLicenseStorage getBasicLicenseStorage()
          Returns license storage this license entry belongs to
 int getCheckoutPeriod()
          Returns license checkout period
 int getCPULimit()
          Retuens CPU core limit
 int getID()
          Returns unique identifier
 byte[] getLicenseBytes()
          Returns license bytes
 java.util.Date getLicenseIssueDate()
          Returns license issue date
 java.lang.String getLicenseNumber()
          Returns license number
 int getLicenseType()
          Returns license type
 int getLockPeriod()
          Returns license lock period
 java.lang.String getMainLicenseNumber()
          Returns main license number.
 int getMajorVersion()
          Returns major version
 long getMemoryLimit()
          Returns memory limit
 int getMinorVersion()
          Returns minor version
 java.lang.String getModifiedBy()
          Returns identifier of the app that created or modified that entry in the form of app_id:instance_id
 int getNumberCopies()
          Returns the number of copies
 java.lang.String getProduct()
          Returns product identifier
 java.lang.String getProductEdition()
          Returns product edition identifier
 java.beans.PropertyChangeSupport getPropertyChangeSupport()
          Returns an instance of the PropertyChangeSupport used to fire corresponding events
 int getState()
          Returns the state of the entry as one of License.STATE constants.
 int getSupplementalCPULimit()
          Returns the total CPU Core limit supplied by all the supplemental licenses.
 long getSupplementalMemoryLimit()
          Returns the total memory limit supplied by all the supplemental licenses.
 int getSupplementalNumberCopies()
          Returns number of copies supplied by all the supplemental licenses.
 int getSupplementalUsageLimit()
          Returns the total usage limit supplied by all the supplemental licenses.
 int getUsageLimit()
          Returns usage limit
 int getUserLicensingModel()
          Returns user licensing model
 int hashCode()
           
 boolean isSupplemental()
          Checks whether the license entry represents a supplemental license
 boolean isSupplementalFor(LicenseStorage.LicenseEntry aLicenseEntry)
          Checks whether the license entry represents a supplemental license
 boolean isValid()
          Returns whether the entry is valid.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          Removes a listener from the listeners list
protected  void setBasicLicenseStorage(BasicLicenseStorage aBasicLicenseStorage)
           
 void setCheckoutPeriod(int aCheckoutPeriod)
           
 void setCPULimit(int aCPULimit)
           
 void setLicenseBytes(byte[] aLicenseBytes)
          Specifies license bytes for the entry
 void setLicenseIssueDate(java.util.Date aLicenseIssueDate)
           
 void setLicenseNumber(java.lang.String aLicenseNumber)
          Specifies license number for the entry
 void setLicenseType(int aLicenseType)
          Specifies license type for the entry
 void setLockPeriod(int aLockPeriod)
           
 void setMainLicenseNumber(java.lang.String aMainLicenseNumber)
          Specifies main license number for the entry.
 void setMajorVersion(int aMajorVersion)
          Specifies major version for the entry
 void setMemoryLimit(long aMemoryLimit)
           
 void setMinorVersion(int aMinorVersion)
          Specifies minor version for the entry
 void setModifiedBy(java.lang.String aModifiedBy)
           
 void setNumberCopies(int aNumberCopies)
           
 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 setState(int aState)
          Specifies the state of the entry.
 void setSupplementalCPULimit(int aSupplementalCPULimit)
          Specifies the total CPU Core limit supplied by all the supplemental licenses.
 void setSupplementalMemoryLimit(long aSupplementalMemoryLimit)
          Specifies the total memory limit supplied by all the supplemental licenses.
 void setSupplementalNumberCopies(int aSupplementalNumberCopies)
          Specifies number of copies supplied by all the supplemental licenses.
 void setSupplementalUsageLimit(int aSupplementalUsageLimit)
          Specifies the total usage limit supplied by all the supplemental licenses.
 void setUsageLimit(int aUsageLimit)
           
 void setUserLicensingModel(int aUserLicensingModel)
          Specifies user licensing model for the entry
 void setValid(boolean aValid)
          Specifies that the license entry is valid.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

PROPERTY_LICENSE_BYTES

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

PROPERTY_LICENSE_TYPE

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

PROPERTY_LICENSE_NUMBER

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

PROPERTY_PRODUCT

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

PROPERTY_PRODUCT_EDITION

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

PROPERTY_MAJOR_VERSION

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

PROPERTY_MINOR_VERSION

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

PROPERTY_USER_LICENSING_MODEL

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

PROPERTY_MAIN_LICENSE_NUMBER

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

PROPERTY_VALID

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

fLicenseBytes

protected transient byte[] fLicenseBytes

fLicenseNumber

protected java.lang.String fLicenseNumber

fLicenseType

protected int fLicenseType

fProduct

protected java.lang.String fProduct

fProductEdition

protected java.lang.String fProductEdition

fMajorVersion

protected int fMajorVersion

fMinorVersion

protected int fMinorVersion

fUserLicensingModel

protected int fUserLicensingModel

fMainLicenseNumber

protected java.lang.String fMainLicenseNumber

fValid

protected boolean fValid

fSupplementalNumberCopies

protected int fSupplementalNumberCopies

fBasicLicenseStorage

protected transient BasicLicenseStorage fBasicLicenseStorage

fPropertyChangeSupport

protected transient java.beans.PropertyChangeSupport fPropertyChangeSupport

fID

protected int fID

fSupplementalUsageLimit

protected int fSupplementalUsageLimit

fSupplementalCPULimit

protected int fSupplementalCPULimit

fSupplementalMemoryLimit

protected long fSupplementalMemoryLimit

fState

protected int fState

fModifiedBy

protected java.lang.String fModifiedBy

fNumberCopies

protected int fNumberCopies

fLicenseIssueDate

protected java.util.Date fLicenseIssueDate

fCPULimit

protected int fCPULimit

fMemoryLimit

protected long fMemoryLimit

fLockPeriod

protected int fLockPeriod

fCheckoutPeriod

protected int fCheckoutPeriod

fUsageLimit

protected int fUsageLimit
Constructor Detail

BasicLicenseStorage.BasicLicenseEntry

public BasicLicenseStorage.BasicLicenseEntry(int anID)
Creates a new instance of the BasicLicenseEntry

Parameters:
anID - unique identifier to assign

BasicLicenseStorage.BasicLicenseEntry

public BasicLicenseStorage.BasicLicenseEntry(int anID,
                                             byte[] aLicenseBytes,
                                             java.lang.String aProduct)
Creates a new instance of the BasicLicenseEntry

Parameters:
anID - unique identifier to be assigned
aLicenseBytes - byte[] license bytes to be assigned
aProduct - product identifier to be assigned

BasicLicenseStorage.BasicLicenseEntry

public BasicLicenseStorage.BasicLicenseEntry(int anID,
                                             byte[] aLicenseBytes,
                                             java.lang.String aProduct,
                                             java.lang.String aProductEdition,
                                             int aMajorVersion,
                                             int aMinorVersion,
                                             int aLicenseType)
Creates a new instance of the BasicLicenseEntry

Parameters:
anID - unique identifier to be assigned
aLicenseBytes - byte[] license bytes to be assigned
aProduct - product identifier to be assigned
aProductEdition - product edition identifier to be assigned
aMajorVersion - major version to be assigned
aMinorVersion - minor version to be assigned
aLicenseType - license type to be assigned
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getModifiedBy

public java.lang.String getModifiedBy()
Description copied from interface: LicenseStorage.LicenseEntry
Returns identifier of the app that created or modified that entry in the form of app_id:instance_id

Specified by:
getModifiedBy in interface LicenseStorage.LicenseEntry
Returns:
modified by

setModifiedBy

public void setModifiedBy(java.lang.String aModifiedBy)
Specified by:
setModifiedBy in interface LicenseStorage.LicenseEntry

getNumberCopies

public int getNumberCopies()
Description copied from interface: LicenseStorage.LicenseEntry
Returns the number of copies

Specified by:
getNumberCopies in interface LicenseStorage.LicenseEntry
Returns:
number of copies

setNumberCopies

public void setNumberCopies(int aNumberCopies)
Specified by:
setNumberCopies in interface LicenseStorage.LicenseEntry

getLicenseIssueDate

public java.util.Date getLicenseIssueDate()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license issue date

Specified by:
getLicenseIssueDate in interface LicenseStorage.LicenseEntry
Returns:
license issue date

setLicenseIssueDate

public void setLicenseIssueDate(java.util.Date aLicenseIssueDate)
Specified by:
setLicenseIssueDate in interface LicenseStorage.LicenseEntry

getCPULimit

public int getCPULimit()
Description copied from interface: LicenseStorage.LicenseEntry
Retuens CPU core limit

Specified by:
getCPULimit in interface LicenseStorage.LicenseEntry
Returns:
CPU core limit

setCPULimit

public void setCPULimit(int aCPULimit)
Specified by:
setCPULimit in interface LicenseStorage.LicenseEntry

getMemoryLimit

public long getMemoryLimit()
Description copied from interface: LicenseStorage.LicenseEntry
Returns memory limit

Specified by:
getMemoryLimit in interface LicenseStorage.LicenseEntry
Returns:
memory limit

setMemoryLimit

public void setMemoryLimit(long aMemoryLimit)
Specified by:
setMemoryLimit in interface LicenseStorage.LicenseEntry

getLockPeriod

public int getLockPeriod()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license lock period

Specified by:
getLockPeriod in interface LicenseStorage.LicenseEntry
Returns:
license lock period

setLockPeriod

public void setLockPeriod(int aLockPeriod)
Specified by:
setLockPeriod in interface LicenseStorage.LicenseEntry

getCheckoutPeriod

public int getCheckoutPeriod()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license checkout period

Specified by:
getCheckoutPeriod in interface LicenseStorage.LicenseEntry
Returns:
license checkout period

setCheckoutPeriod

public void setCheckoutPeriod(int aCheckoutPeriod)
Specified by:
setCheckoutPeriod in interface LicenseStorage.LicenseEntry

getUsageLimit

public int getUsageLimit()
Description copied from interface: LicenseStorage.LicenseEntry
Returns usage limit

Specified by:
getUsageLimit in interface LicenseStorage.LicenseEntry
Returns:
usage limit

setUsageLimit

public void setUsageLimit(int aUsageLimit)
Specified by:
setUsageLimit in interface LicenseStorage.LicenseEntry

getID

public int getID()
Description copied from interface: LicenseStorage.LicenseEntry
Returns unique identifier

Specified by:
getID in interface LicenseStorage.LicenseEntry
Returns:
unique (per License Storage) identifier

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object anOther)
Overrides:
equals in class java.lang.Object

getPropertyChangeSupport

public java.beans.PropertyChangeSupport getPropertyChangeSupport()
Returns an instance of the PropertyChangeSupport used to fire corresponding events

Returns:
instance of the PropertyChangeSupport

getBasicLicenseStorage

public BasicLicenseStorage getBasicLicenseStorage()
Returns license storage this license entry belongs to

Returns:
license storage

isSupplemental

public boolean isSupplemental()
Checks whether the license entry represents a supplemental license

Specified by:
isSupplemental in interface LicenseStorage.LicenseEntry
Returns:
true if the license entry represents a supplemental license
Since:
4.8.0

isSupplementalFor

public boolean isSupplementalFor(LicenseStorage.LicenseEntry aLicenseEntry)
Description copied from interface: LicenseStorage.LicenseEntry
Checks whether the license entry represents a supplemental license

Specified by:
isSupplementalFor in interface LicenseStorage.LicenseEntry
Returns:
true if the license entry represents a supplemental license

getSupplementalUsageLimit

public int getSupplementalUsageLimit()
Description copied from interface: LicenseStorage.LicenseEntry
Returns the total usage limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
getSupplementalUsageLimit in interface LicenseStorage.LicenseEntry
Returns:
total usage limit supplied by all the supplemental licenses

setSupplementalUsageLimit

public void setSupplementalUsageLimit(int aSupplementalUsageLimit)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies the total usage limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
setSupplementalUsageLimit in interface LicenseStorage.LicenseEntry
Parameters:
aSupplementalUsageLimit - total usage limit supplied by all the supplemental licenses

getSupplementalCPULimit

public int getSupplementalCPULimit()
Description copied from interface: LicenseStorage.LicenseEntry
Returns the total CPU Core limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
getSupplementalCPULimit in interface LicenseStorage.LicenseEntry
Returns:
total CPU Core limit supplied by all the supplemental licenses

setSupplementalCPULimit

public void setSupplementalCPULimit(int aSupplementalCPULimit)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies the total CPU Core limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
setSupplementalCPULimit in interface LicenseStorage.LicenseEntry
Parameters:
aSupplementalCPULimit - total CPU Core limit supplied by all the supplemental licenses

getSupplementalMemoryLimit

public long getSupplementalMemoryLimit()
Description copied from interface: LicenseStorage.LicenseEntry
Returns the total memory limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
getSupplementalMemoryLimit in interface LicenseStorage.LicenseEntry
Returns:
memory limit supplied by all the supplemental licenses

setSupplementalMemoryLimit

public void setSupplementalMemoryLimit(long aSupplementalMemoryLimit)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies the total memory limit supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
setSupplementalMemoryLimit in interface LicenseStorage.LicenseEntry
Parameters:
aSupplementalMemoryLimit - memory limit supplied by all the supplemental licenses

setBasicLicenseStorage

protected void setBasicLicenseStorage(BasicLicenseStorage aBasicLicenseStorage)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener to the listeners list

Parameters:
listener - a listener to add

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a listener from the listeners list

Parameters:
listener - a listener to remove

getLicenseBytes

public byte[] getLicenseBytes()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license bytes

Specified by:
getLicenseBytes in interface LicenseStorage.LicenseEntry
Returns:
license bytes

setLicenseBytes

public void setLicenseBytes(byte[] aLicenseBytes)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies license bytes for the entry

Specified by:
setLicenseBytes in interface LicenseStorage.LicenseEntry
Parameters:
aLicenseBytes - license bytes to set

setLicenseType

public void setLicenseType(int aLicenseType)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies license type for the entry

Specified by:
setLicenseType in interface LicenseStorage.LicenseEntry
Parameters:
aLicenseType - license type to set

setMajorVersion

public void setMajorVersion(int aMajorVersion)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies major version for the entry

Specified by:
setMajorVersion in interface LicenseStorage.LicenseEntry
Parameters:
aMajorVersion - major version to set

setMinorVersion

public void setMinorVersion(int aMinorVersion)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies minor version for the entry

Specified by:
setMinorVersion in interface LicenseStorage.LicenseEntry
Parameters:
aMinorVersion - minor version to set

setProduct

public void setProduct(java.lang.String aProduct)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies product identifier for the entry

Specified by:
setProduct in interface LicenseStorage.LicenseEntry
Parameters:
aProduct - product identifier to set

setProductEdition

public void setProductEdition(java.lang.String aProductEdition)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies product edition identifier for the entry

Specified by:
setProductEdition in interface LicenseStorage.LicenseEntry
Parameters:
aProductEdition - product edition identifier to set

setLicenseNumber

public void setLicenseNumber(java.lang.String aLicenseNumber)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies license number for the entry

Specified by:
setLicenseNumber in interface LicenseStorage.LicenseEntry
Parameters:
aLicenseNumber - license number to set

setUserLicensingModel

public void setUserLicensingModel(int aUserLicensingModel)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies user licensing model for the entry

Specified by:
setUserLicensingModel in interface LicenseStorage.LicenseEntry
Parameters:
aUserLicensingModel - user licensing model to set

getLicenseType

public int getLicenseType()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license type

Specified by:
getLicenseType in interface LicenseStorage.LicenseEntry
Returns:
license type

getProduct

public java.lang.String getProduct()
Description copied from interface: LicenseStorage.LicenseEntry
Returns product identifier

Specified by:
getProduct in interface LicenseStorage.LicenseEntry
Returns:
product identifier

getProductEdition

public java.lang.String getProductEdition()
Description copied from interface: LicenseStorage.LicenseEntry
Returns product edition identifier

Specified by:
getProductEdition in interface LicenseStorage.LicenseEntry
Returns:
product edition identifier

getMajorVersion

public int getMajorVersion()
Description copied from interface: LicenseStorage.LicenseEntry
Returns major version

Specified by:
getMajorVersion in interface LicenseStorage.LicenseEntry
Returns:
major version

getMinorVersion

public int getMinorVersion()
Description copied from interface: LicenseStorage.LicenseEntry
Returns minor version

Specified by:
getMinorVersion in interface LicenseStorage.LicenseEntry
Returns:
minor version

getLicenseNumber

public java.lang.String getLicenseNumber()
Description copied from interface: LicenseStorage.LicenseEntry
Returns license number

Specified by:
getLicenseNumber in interface LicenseStorage.LicenseEntry
Returns:
license number

getUserLicensingModel

public int getUserLicensingModel()
Description copied from interface: LicenseStorage.LicenseEntry
Returns user licensing model

Specified by:
getUserLicensingModel in interface LicenseStorage.LicenseEntry
Returns:
user licensing model

setValid

public void setValid(boolean aValid)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies that the license entry is valid. Note, reserved for use by Licensing Server.

Specified by:
setValid in interface LicenseStorage.LicenseEntry
Parameters:
aValid - true if the entry is valid

getState

public int getState()
Description copied from interface: LicenseStorage.LicenseEntry
Returns the state of the entry as one of License.STATE constants. Note, reserved for use by Licensing Server.

Specified by:
getState in interface LicenseStorage.LicenseEntry
Returns:
the state of the entry

setState

public void setState(int aState)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies the state of the entry. Note, reserved for use by Licensing Server.

Specified by:
setState in interface LicenseStorage.LicenseEntry
Parameters:
aState - the state of the entry as one of License.STATE_ constants

isValid

public boolean isValid()
Description copied from interface: LicenseStorage.LicenseEntry
Returns whether the entry is valid. Note, reserved for use by Licensing Server.

Specified by:
isValid in interface LicenseStorage.LicenseEntry
Returns:
true if the entry is valid; false otherwise

setMainLicenseNumber

public void setMainLicenseNumber(java.lang.String aMainLicenseNumber)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies main license number for the entry. Note, reserved for use by Licensing Server.

Specified by:
setMainLicenseNumber in interface LicenseStorage.LicenseEntry
Parameters:
aMainLicenseNumber - main license number to set

getMainLicenseNumber

public java.lang.String getMainLicenseNumber()
Description copied from interface: LicenseStorage.LicenseEntry
Returns main license number. Note, reserved for use by Licensing Server.

Specified by:
getMainLicenseNumber in interface LicenseStorage.LicenseEntry
Returns:
main license number

getSupplementalNumberCopies

public int getSupplementalNumberCopies()
Description copied from interface: LicenseStorage.LicenseEntry
Returns number of copies supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
getSupplementalNumberCopies in interface LicenseStorage.LicenseEntry
Returns:
umber of copies supplied by all the supplemental licenses

setSupplementalNumberCopies

public void setSupplementalNumberCopies(int aSupplementalNumberCopies)
Description copied from interface: LicenseStorage.LicenseEntry
Specifies number of copies supplied by all the supplemental licenses. Note, reserved for use by Licensing Server.

Specified by:
setSupplementalNumberCopies in interface LicenseStorage.LicenseEntry
Parameters:
aSupplementalNumberCopies - number of copies supplied by all the supplemental licenses