public class SoLicenseProperty extends Inventor implements SafeDisposable
Modifier and Type | Class and Description |
---|---|
static class |
SoLicenseProperty.SbLicenseTypes
Indicates the type of the license (SDK or RunTime).
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoLicenseProperty() |
Modifier and Type | Method and Description |
---|---|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
java.lang.String |
getCheckSum()
Returns the checksum of this license.
|
int |
getDaysToExpire()
Gets number of days before expiration for the given product version.
|
java.lang.String |
getExpirationDate()
Returns the expire date of the product for this license.
|
java.lang.String |
getHostID()
Returns the HostID for this license.
|
java.lang.String |
getInfo()
Returns the info for this license.
|
SoLicenseProperty.SbLicenseTypes |
getLicenseType()
Gets the product type (RunTime or SDK).
|
java.lang.String |
getNumUsers()
Returns the number of users of the product for this license.
|
java.lang.String |
getProductName()
Returns the name of the product for this license.
|
java.lang.String |
getProductVersion()
Returns the version of the product for this license.
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
boolean |
isExpired()
Returns true if the product is expired.
|
boolean |
isMasterPassword()
Returns true if the license is a master password.
|
getNativeResourceHandle
public boolean isDisposable()
SafeDisposable
SafeDisposable.dispose()
on the object.isDisposable
in interface SafeDisposable
true
if the object can be disposed in a safe mannerpublic boolean dispose()
Inventor
dispose
in interface SafeDisposable
dispose
in class Inventor
true
if this object native resources were successfully
disposed; false
if it was already disposed or no
native resources has been registered for this object.public boolean isMasterPassword()
public java.lang.String getProductVersion()
public java.lang.String getProductName()
public java.lang.String getCheckSum()
public int getDaysToExpire()
public SoLicenseProperty.SbLicenseTypes getLicenseType()
public java.lang.String getHostID()
public java.lang.String getInfo()
public java.lang.String getExpirationDate()
public boolean isExpired()
public java.lang.String getNumUsers()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com