Package ucar.unidata.data.text
Class ProductGroup
java.lang.Object
ucar.unidata.data.text.ProductGroup
Holds a named group of products
- Version:
- $Revision: 1.15 $
- Author:
- IDV development team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProduct
(ProductType product) Add a product to the groupboolean
See if this equals anotherGet the list of products in this groupstatic void
Test thistoString()
Get a String representation
-
Constructor Details
-
ProductGroup
public ProductGroup()The default ctor -
ProductGroup
Create a new product group- Parameters:
name
- the name of the group
-
-
Method Details
-
equals
See if this equals another -
main
Test this- Parameters:
args
- the file- Throws:
Exception
- problem
-
addProduct
Add a product to the group- Parameters:
product
- the product to add
-
getProductTypes
Get the list of products in this group- Returns:
- the list of products in this group
-
toString
Get a String representation
-