edu.nrao.sss.util
Interface Nameable

All Known Subinterfaces:
NameableCatalogItem<I>

public interface Nameable

An object that can be named.

Version Info:

$Revision$
$Date$
$Author$ (last person to modify)

Since:
2009-04-16
Author:
David M. Harland

Method Summary
 String getName()
          Returns the name of this object.
 void setName(String newName)
          Sets the name of this object.
 

Method Detail

setName

void setName(String newName)
Sets the name of this object.

Parameters:
newName - a new name for this object. Implementing classes are free to establish their own rules for what constitutes a legal name.

getName

String getName()
Returns the name of this object.

Returns:
the name of this object. Whether or not null is a legitimate return value is a decision that will be made by implementing classes.


Copyright © 2009. All Rights Reserved.