org.starhope.appius.util
Interface HasName

All Known Subinterfaces:
AcceptsMetronomeTicks, PetFromInventory
All Known Implementing Classes:
AbstractNonPlayerCharacter, BatchProcessor, GameEvent, LaserTagGame, NetIOThread, Plebeian, Projectile.ProjectileWatcher, PropsWeather, QuestItemExchanger, ServerThread, StreamProcessor, UserLoadTest, WebSocketProcessor, ZoneSpawner

public interface HasName

This is a convenience interface for things that must have a user-visible name. Complements the toString method for programmer-visible names.

Author:
brpocock@star-hope.org

Method Summary
 String getName()
          Return a user-visible, unique name for this class.
 

Method Detail

getName

String getName()
Return a user-visible, unique name for this class. This name may not necessarily be globally unique, but must be unique across all objects of this class. For example, having both a User and a Zone named “Lightning” is acceptable, but there may not be two users with the same name.

Returns:
a user-visible string name for this instance