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.inthashCode()voidsetDescription(String value) Set the Description property.voidSet 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:
setNamein interfaceNamedObject- Parameters:
value- The new value for Name
-
getName
Get the Name property.- Specified by:
getNamein interfaceNamedObject- Returns:
- The Name
-
setDescription
Set the Description property.- Parameters:
value- The new value for Description
-
getDescription
Get the Description property.- Specified by:
getDescriptionin interfaceNamedObject- Returns:
- The Description
-
toString
_more_ -
hashCode
public int hashCode() -
equals
_more_
-