Class ProductGroup

java.lang.Object
ucar.unidata.data.text.ProductGroup

public class ProductGroup extends Object
Holds a named group of products
Version:
$Revision: 1.15 $
Author:
IDV development team
  • Constructor Details

    • ProductGroup

      public ProductGroup()
      The default ctor
    • ProductGroup

      public ProductGroup(String name)
      Create a new product group
      Parameters:
      name - the name of the group
  • Method Details

    • equals

      public boolean equals(Object o)
      See if this equals another
      Overrides:
      equals in class Object
      Parameters:
      o - the other
      Returns:
      true if they are equal
    • main

      public static void main(String[] args) throws Exception
      Test this
      Parameters:
      args - the file
      Throws:
      Exception - problem
    • addProduct

      public void addProduct(ProductType product)
      Add a product to the group
      Parameters:
      product - the product to add
    • getProductTypes

      public List<ProductType> getProductTypes()
      Get the list of products in this group
      Returns:
      the list of products in this group
    • toString

      public String toString()
      Get a String representation
      Overrides:
      toString in class Object
      Returns:
      a String representation