Package ucar.unidata.util
Class NamedThing
java.lang.Object
ucar.unidata.util.NamedThing
- All Implemented Interfaces:
NamedObject
- Direct Known Subclasses:
AddeServer
,AddeServer.Group
Holds a name and a description
- Version:
- $Revision: 1.2 $Date: 2007/06/28 14:42:03 $
- Author:
- IDV development team
-
Constructor Summary
ConstructorsConstructorDescription_more_NamedThing
(String name) _more_NamedThing
(String name, String description) _more_ -
Method Summary
Modifier and TypeMethodDescriptionboolean
_more_Get the Description property.getName()
Get the Name property.int
hashCode()
void
setDescription
(String value) Set the Description property.void
Set the Name property.toString()
_more_
-
Constructor Details
-
NamedThing
public NamedThing()_more_ -
NamedThing
_more_- Parameters:
name
- _more_
-
NamedThing
_more_- Parameters:
name
- _more_description
- _more_
-
-
Method Details
-
setName
Set the Name property.- Specified by:
setName
in interfaceNamedObject
- Parameters:
value
- The new value for Name
-
getName
Get the Name property.- Specified by:
getName
in interfaceNamedObject
- Returns:
- The Name
-
setDescription
Set the Description property.- Parameters:
value
- The new value for Description
-
getDescription
Get the Description property.- Specified by:
getDescription
in interfaceNamedObject
- Returns:
- The Description
-
toString
_more_ -
hashCode
public int hashCode() -
equals
_more_
-