ucar.unidata.data.text
Class ProductType

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

public class ProductType
extends Object

Holds a named product

Version:
$Revision: 1.15 $
Author:
IDV development team

Constructor Summary
ProductType()
          Create a new product type
ProductType(String name, String id)
          Create a new ProductType
 
Method Summary
 boolean equals(Object o)
          See if this equals o
 String getId()
          Get the Id property.
 String getName()
          Get the Name property.
 boolean getRenderAsHtml()
          Get the RenderAsHtml property.
 void setId(String value)
          Set the Id property.
 void setName(String value)
          Set the Name property.
 void setRenderAsHtml(boolean value)
          Set the RenderAsHtml property.
 String toString()
          Get a String representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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