net.sf.freecol.common.model
Interface Nameable

All Known Implementing Classes:
Colony, Player, Region, ServerColony, ServerPlayer, ServerRegion, ServerUnit, Unit

public interface Nameable

An object with a name that can be changed.


Method Summary
 java.lang.String getName()
          Gets the name of this Named.
 void setName(java.lang.String newName)
          Sets the name for this Nameable.
 

Method Detail

getName

java.lang.String getName()
Gets the name of this Named.

Returns:
The name of the Named.

setName

void setName(java.lang.String newName)
Sets the name for this Nameable.

Parameters:
newName - The new name for the Nameable.