ucar.unidata.util
Class PropertyValue

java.lang.Object
  extended by 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 Summary
PropertyValue()
          ctor
PropertyValue(PropertyValue that)
          copy ctor
PropertyValue(String name, String label, Object obj, String category)
          ctor
 
Method Summary
 String getCategory()
          Get the Category property.
 String getLabel()
          Get the Label property.
 String getName()
          Get the Name property.
 Object getValue()
          Get the Value property.
 void setCategory(String value)
          Set the Category property.
 void setLabel(String value)
          Set the Label property.
 void setName(String value)
          Set the Name property.
 void setValue(Object v)
          Set the Value property.
 String toString()
          tostring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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