Interface Nameable
- All Known Subinterfaces:
BankEconomyHandler,EconomyHandler,Inviteable,InviteReceiver,InviteSender,TownBlockOwner
- All Known Implementing Classes:
Account,BankAccount,District,EconomyAccount,Government,Nation,ObjectGroup,PlotGroup,Resident,Town,TownBlock,TownyObject,TownyServerAccount,TownyWorld
public interface Nameable
A simple interface to show that a class can be named, agnostic
if its a
TownyObject or not.-
Method Details
-
getName
String getName()Get the name of the specified object- Returns:
- A String representing the name of the object.
-
getFormattedName
Gets the formatted name of the object.- Returns:
- The formatted name.
-