com.guiseframework.platform
Class DefaultProduct
java.lang.Object
com.guiseframework.platform.AbstractProduct
com.guiseframework.platform.DefaultProduct
- All Implemented Interfaces:
- Product
public class DefaultProduct
- extends AbstractProduct
The default implementation of a product with no brand.
- Author:
- Garret Wilson
|
Constructor Summary |
DefaultProduct(java.lang.String id,
java.lang.String name,
java.lang.String version,
double versionNumber)
ID, name, and version constructor. |
DefaultProduct(java.lang.String id,
java.lang.String name,
java.lang.String version,
double versionNumber,
int[] versionNumbers)
ID, name, and version constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProduct
public DefaultProduct(java.lang.String id,
java.lang.String name,
java.lang.String version,
double versionNumber)
- ID, name, and version constructor.
- Parameters:
id - The identifying string of the product, or null if the ID is not known.name - The canonical name of the product, or null if the name is not known.version - The version string provided by the product, or null if there is no string version of the product.versionNumber - The version number provided by the product, or Double.NaN if there is no version number of the product.
- Throws:
java.lang.NullPointerException - if the given ID and/or name is null.
DefaultProduct
public DefaultProduct(java.lang.String id,
java.lang.String name,
java.lang.String version,
double versionNumber,
int[] versionNumbers)
- ID, name, and version constructor.
- Parameters:
id - The identifying string of the product, or null if the ID is not known.name - The canonical name of the product, or null if the name is not known.version - The version string provided by the product, or null if there is no string version of the product.versionNumber - The version number provided by the product, or Double.NaN if there is no version number of the product.versionNumbers - The version number components provided by the product, or null if there are no version number components of the product.
- Throws:
java.lang.NullPointerException - if the given ID and/or name is null.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.