Class LicenseWrapper
java.lang.Object
com.elpical.jclaro.admin.ws.server.LicenseWrapper
Information about various aspects of the license
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty ConstructorLicenseWrapper(com.elpical.jclaro.license.License license)
Construct a LicenseWrapper from the server object License -
Method Summary
Modifier and TypeMethodDescriptionint
long
Returns the expiration time of the licenselong
getId()
Returns the id of the licenselong
Returns the last time the license has been changedint
Returns the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7);Returns the name of the product for which this license appliesReturns the version build number the license is valid forint
Returns the major version the license is valid forint
Returns the minor version the license is valid forvoid
setComparetype(int comparetype)
void
setExpirationDate(long expirationDate)
Sets the expiration time of the licensevoid
setId(long id)
Sets the id of the licensevoid
setLastEditDate(long lastEditDate)
Sets the last time the license has been changedvoid
setLicensetype(int licensetype)
Sets the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7);void
setProductname(String set)
Sets the name of the product for which this license appliesvoid
setVersionNrBuild(String versionNrBuild)
Sets the version build number the license is valid forvoid
setVersionNrMajor(int versionNrMajor)
Sets the major version the license is valid forvoid
setVersionNrMinor(int versionNrMinor)
Sets the minor version the license is valid for
-
Constructor Details
-
LicenseWrapper
public LicenseWrapper()Empty Constructor -
LicenseWrapper
public LicenseWrapper(com.elpical.jclaro.license.License license)Construct a LicenseWrapper from the server object License
-
-
Method Details
-
getProductname
Returns the name of the product for which this license applies- Returns:
- The name of the product for which this license applies
-
setProductname
Sets the name of the product for which this license applies- Parameters:
set
- The name of the product for which this license applies
-
getLicensetype
public int getLicensetype()Returns the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7);- Returns:
- The type of license
-
setLicensetype
public void setLicensetype(int licensetype)Sets the type of license Evaluation(1),Subscription(2),Perpetual(3),NFR(4),PayPerUse(5),Backup(6),Developer(7); -
getComparetype
public int getComparetype() -
setComparetype
public void setComparetype(int comparetype) -
getExpirationDate
public long getExpirationDate()Returns the expiration time of the license- Returns:
- The expiration time of the license
-
setExpirationDate
public void setExpirationDate(long expirationDate)Sets the expiration time of the license- Parameters:
expirationDate
- The expiration time of the license
-
getLastEditDate
public long getLastEditDate()Returns the last time the license has been changed- Returns:
- The last time the license has been changed
-
setLastEditDate
public void setLastEditDate(long lastEditDate)Sets the last time the license has been changed- Parameters:
lastEditDate
- The last time the license has been changed
-
getVersionNrMajor
public int getVersionNrMajor()Returns the major version the license is valid for -
setVersionNrMajor
public void setVersionNrMajor(int versionNrMajor)Sets the major version the license is valid for -
getVersionNrMinor
public int getVersionNrMinor()Returns the minor version the license is valid for -
setVersionNrMinor
public void setVersionNrMinor(int versionNrMinor)Sets the minor version the license is valid for -
getVersionNrBuild
Returns the version build number the license is valid for- Returns:
- The version build number the license is valid for
-
setVersionNrBuild
Sets the version build number the license is valid for- Parameters:
versionNrBuild
- The version build number the license is valid for
-
getId
public long getId()Returns the id of the license- Returns:
- The id of the license
-
setId
public void setId(long id)Sets the id of the license- Parameters:
id
- The id of the license
-