Class ProductType

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

public class ProductType extends Object
Holds a named product
Version:
$Revision: 1.15 $
Author:
IDV development team
  • Constructor Details

    • ProductType

      public ProductType()
      Create a new product type
    • ProductType

      public ProductType(String name, String id)
      Create a new ProductType
      Parameters:
      name - the name
      id - the id
  • Method Details

    • equals

      public boolean equals(Object o)
      See if this equals o
      Overrides:
      equals in class Object
      Parameters:
      o - Object to check
      Returns:
      true if they are equal
    • setName

      public void setName(String value)
      Set the Name property.
      Parameters:
      value - The new value for Name
    • getName

      public String getName()
      Get the Name property.
      Returns:
      The Name
    • setId

      public void setId(String value)
      Set the Id property.
      Parameters:
      value - The new value for Id
    • getId

      public String getId()
      Get the Id property.
      Returns:
      The Id
    • toString

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

      public void setRenderAsHtml(boolean value)
      Set the RenderAsHtml property.
      Parameters:
      value - The new value for RenderAsHtml
    • getRenderAsHtml

      public boolean getRenderAsHtml()
      Get the RenderAsHtml property.
      Returns:
      The RenderAsHtml