electric.util.product
Class ProductInfo

java.lang.Object
  extended byelectric.util.product.ProductInfo
All Implemented Interfaces:
ILicenseConstants, ILoggingConstants

public final class ProductInfo
extends java.lang.Object
implements ILoggingConstants, ILicenseConstants

ProductInfo

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Fields inherited from interface electric.util.license.ILicenseConstants
CLIENT_LICENSE, CONNECTION_LIMIT, COPYRIGHT, CPUCOUNT, ERROR_MESSAGES, EXPIRATION_DATE, EXPIRED, FEATURE_TIMEOUT, HOSTNAME, INVALIDCODE, IPADDRESS, LICENSE_KEY_TYPE, LICENSETYPE, NODELOCK_INFO, NON_SHAREABLE, OS, VERSION
 
Constructor Summary
ProductInfo()
           
ProductInfo(java.lang.String name, int id, int majorVersion, int minorVersion, int patchVersion)
           
 
Method Summary
 java.lang.String getDescription()
           
 int getId()
           
 LicenseInfo getLicenseInfo()
           
 java.lang.String getLicenseLimitationsDescription()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 java.lang.String getName()
           
 int getPatchVersion()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String getShortDescription()
           
 java.lang.String getVersion()
           
 void setLicenseInfo(LicenseInfo licenseInfo)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 boolean verify(ProductInfo productInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductInfo

public ProductInfo()

ProductInfo

public ProductInfo(java.lang.String name,
                   int id,
                   int majorVersion,
                   int minorVersion,
                   int patchVersion)
Parameters:
name -
id -
majorVersion -
minorVersion -
patchVersion -
Method Detail

getName

public java.lang.String getName()

getId

public int getId()

getMajorVersion

public int getMajorVersion()

getMinorVersion

public int getMinorVersion()

getPatchVersion

public int getPatchVersion()

getVersion

public java.lang.String getVersion()

setLicenseInfo

public void setLicenseInfo(LicenseInfo licenseInfo)
Parameters:
licenseInfo -

getLicenseInfo

public LicenseInfo getLicenseInfo()
Returns:

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Parameters:
name -
value -

getProperty

public java.lang.Object getProperty(java.lang.String name)
Parameters:
name -

getDescription

public java.lang.String getDescription()

getShortDescription

public java.lang.String getShortDescription()

verify

public boolean verify(ProductInfo productInfo)
Parameters:
productInfo -

getLicenseLimitationsDescription

public java.lang.String getLicenseLimitationsDescription()


copyright© 2001-2004 by webMethods All Rights Reserved.