Class PropertyValue

java.lang.Object
ucar.unidata.util.PropertyValue

public class PropertyValue extends Object
Class PropertyValue holds a name/value pair along with a category
Version:
$Revision: 1.4 $
Author:
IDV Development Team
  • Constructor Details

    • PropertyValue

      public PropertyValue()
      ctor
    • PropertyValue

      public PropertyValue(String name, String label, Object obj, String category)
      ctor
      Parameters:
      name - name
      label - label
      obj - value
      category - category
    • PropertyValue

      public PropertyValue(PropertyValue that)
      copy ctor
      Parameters:
      that - that
  • Method Details

    • 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
    • setLabel

      public void setLabel(String value)
      Set the Label property.
      Parameters:
      value - The new value for Label
    • getLabel

      public String getLabel()
      Get the Label property.
      Returns:
      The Label
    • setValue

      public void setValue(Object v)
      Set the Value property.
      Parameters:
      v - The value
    • getValue

      public Object getValue()
      Get the Value property.
      Returns:
      The Value
    • setCategory

      public void setCategory(String value)
      Set the Category property.
      Parameters:
      value - The new value for Category
    • getCategory

      public String getCategory()
      Get the Category property.
      Returns:
      The Category
    • toString

      public String toString()
      tostring
      Overrides:
      toString in class Object
      Returns:
      string