public class LicenseValidInfo extends Object implements Serializable
LicenseValidInfo class
represents validation information for a license.| Constructor and Description |
|---|
LicenseValidInfo()
Default constructor
|
LicenseValidInfo(int numLicenses,
boolean isDemo,
Date expireDate,
String tokenList)
Constructs new
LicenseValidInfo object that accepts string. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
Date |
getExpireDate()
Returns expiration date of license.
|
int |
getNumLicenses()
Returns number of active licenses.
|
String |
getTokenList()
Returns additional information for the license.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
boolean |
isDemo()
Returns
TRUE if the license is a Demo license. |
String |
toString()
Returns a string description of the object.
|
public LicenseValidInfo()
public LicenseValidInfo(int numLicenses,
boolean isDemo,
Date expireDate,
String tokenList)
LicenseValidInfo object that accepts string.numLicenses - Number of licenseisDemo - Boolean if license is DemoexpireDate - Expiration date of licensetokenList - Additional license datapublic Date getExpireDate()
public int getNumLicenses()
public boolean isDemo()
TRUE if the license is a Demo license.public String getTokenList()
public String toString()
public int hashCode()
public boolean equals(Object obj)
? Copyright 2013 BMC Software, Inc.