org.starhope.appius.util
Interface HasName

All Known Subinterfaces:
AcceptsMetronomeTicks, PetFromInventory
All Known Implementing Classes:
AbstractNonPlayerCharacter, BatchProcessor, DinerDishWasher, GameEvent, Harmony, HauntedOrgan, LaserTagGame, MagicBox, NetIOThread, Projectile.ProjectileWatcher, PropsWeather, QuestItemExchanger, Room, ServerThread, ShaddowFalls, ShadowTree, ShortOrderCook, Smudge, SoccerBall, SoccerField, StreamProcessor, Stu, TootBurger, Tootlympics, UserLoadTest, VITOnly, Volleyball, VolleyballCourt, WebSocketProcessor, ZapAttack, 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