com.compoze.util
Class ProductInformation.Product
java.lang.Object
|
+--com.compoze.util.ProductInformation.Product
- Enclosing class:
- ProductInformation
- public class ProductInformation.Product
- extends java.lang.Object
This class represents information about a product.
Method Summary |
java.lang.String |
getName()
Get the product name. |
java.lang.String |
getVersion()
Get the product version. |
java.lang.String |
toString()
Create a string representation of the product. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProductInformation.Product
public ProductInformation.Product(java.lang.String sProductName,
java.lang.String sProductVersion)
- Constructor.
- Parameters:
sProductName
- the product namesProductVersion
- the product version
getName
public java.lang.String getName()
- Get the product name.
- Returns:
- the product name
getVersion
public java.lang.String getVersion()
- Get the product version.
- Returns:
- the product version
toString
public java.lang.String toString()
- Create a string representation of the product.
- Overrides:
toString
in class java.lang.Object
Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.