net.mtu.eggplant.util
Class BasicNamed

java.lang.Object
  extended by net.mtu.eggplant.util.DefaultBean
      extended by net.mtu.eggplant.util.BasicNamed
All Implemented Interfaces:
Serializable, Bean, Named

public class BasicNamed
extends DefaultBean
implements Named

generic class that allows objects to have names

Version:
$Revision$
See Also:
Serialized Form

Constructor Summary
BasicNamed(String name)
          standard constructor
 
Method Summary
 String getName()
          get the name of the object.
 String toString()
           
 
Methods inherited from class net.mtu.eggplant.util.DefaultBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicNamed

public BasicNamed(String name)
standard constructor

Method Detail

getName

public final String getName()
get the name of the object.

Specified by:
getName in interface Named
Returns:
the name

toString

public String toString()
Overrides:
toString in class Object