Class NamedThing

java.lang.Object
ucar.unidata.util.NamedThing
All Implemented Interfaces:
NamedObject
Direct Known Subclasses:
AddeServer, AddeServer.Group

public class NamedThing extends Object implements NamedObject
Holds a name and a description
Version:
$Revision: 1.2 $Date: 2007/06/28 14:42:03 $
Author:
IDV development team
  • Constructor Details

    • NamedThing

      public NamedThing()
      _more_
    • NamedThing

      public NamedThing(String name)
      _more_
      Parameters:
      name - _more_
    • NamedThing

      public NamedThing(String name, String description)
      _more_
      Parameters:
      name - _more_
      description - _more_
  • Method Details

    • setName

      public void setName(String value)
      Set the Name property.
      Specified by:
      setName in interface NamedObject
      Parameters:
      value - The new value for Name
    • getName

      public String getName()
      Get the Name property.
      Specified by:
      getName in interface NamedObject
      Returns:
      The Name
    • setDescription

      public void setDescription(String value)
      Set the Description property.
      Parameters:
      value - The new value for Description
    • getDescription

      public String getDescription()
      Get the Description property.
      Specified by:
      getDescription in interface NamedObject
      Returns:
      The Description
    • toString

      public String toString()
      _more_
      Overrides:
      toString in class Object
      Returns:
      _more_
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      _more_
      Overrides:
      equals in class Object
      Parameters:
      o - _more_
      Returns:
      _more_