Package ucar.unidata.util
Class PropertyValue
java.lang.Object
ucar.unidata.util.PropertyValue
Class PropertyValue holds a name/value pair along with a category
- Version:
- $Revision: 1.4 $
- Author:
- IDV Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionctorPropertyValue
(String name, String label, Object obj, String category) ctorPropertyValue
(PropertyValue that) copy ctor -
Method Summary
Modifier and TypeMethodDescriptionGet the Category property.getLabel()
Get the Label property.getName()
Get the Name property.getValue()
Get the Value property.void
setCategory
(String value) Set the Category property.void
Set the Label property.void
Set the Name property.void
Set the Value property.toString()
tostring
-
Constructor Details
-
PropertyValue
public PropertyValue()ctor -
PropertyValue
ctor- Parameters:
name
- namelabel
- labelobj
- valuecategory
- category
-
PropertyValue
copy ctor- Parameters:
that
- that
-
-
Method Details
-
setName
Set the Name property.- Parameters:
value
- The new value for Name
-
getName
Get the Name property.- Returns:
- The Name
-
setLabel
Set the Label property.- Parameters:
value
- The new value for Label
-
getLabel
Get the Label property.- Returns:
- The Label
-
setValue
Set the Value property.- Parameters:
v
- The value
-
getValue
Get the Value property.- Returns:
- The Value
-
setCategory
Set the Category property.- Parameters:
value
- The new value for Category
-
getCategory
Get the Category property.- Returns:
- The Category
-
toString
tostring
-