net.mtu.eggplant.util
Class BasicNamed
java.lang.Object
net.mtu.eggplant.util.DefaultBean
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
BasicNamed
public BasicNamed(String name)
- standard constructor
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