Package ucar.unidata.data.text
Class ProductType
java.lang.Object
ucar.unidata.data.text.ProductType
Holds a named product
- Version:
- $Revision: 1.15 $
- Author:
- IDV development team
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new product typeProductType(String name, String id) Create a new ProductType -
Method Summary
Modifier and TypeMethodDescriptionbooleanSee if this equals ogetId()Get the Id property.getName()Get the Name property.booleanGet the RenderAsHtml property.voidSet the Id property.voidSet the Name property.voidsetRenderAsHtml(boolean value) Set the RenderAsHtml property.toString()Get a String representation
-
Constructor Details
-
ProductType
public ProductType()Create a new product type -
ProductType
Create a new ProductType- Parameters:
name- the nameid- the id
-
-
Method Details
-
equals
See if this equals o -
setName
Set the Name property.- Parameters:
value- The new value for Name
-
getName
Get the Name property.- Returns:
- The Name
-
setId
Set the Id property.- Parameters:
value- The new value for Id
-
getId
Get the Id property.- Returns:
- The Id
-
toString
Get 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
-