Interface Ownage

All Known Implementing Classes:
Administrator, Area, Blog, Board, Bot, Event, Guild, Item, ItemDefinition, Method, Mob, NormalItem, Person, Room, Shopkeeper, ShopkeeperList, User, UserCommand, Worldattribute

public interface Ownage
Indicates that an object in the game has an owner. An owner is, in this context, an administrator allowed to make changed to the object.
Author:
maartenl
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the owner, the administrator, of this object.
    void
    setOwner(Admin owner)
    Sets the owner, the administrator, of this object.
  • Method Details

    • getOwner

      Admin getOwner()
      Retrieves the owner, the administrator, of this object. In case this is null, anyone can edit the object.
      Returns:
    • setOwner

      void setOwner(Admin owner)
      Sets the owner, the administrator, of this object.
      Parameters:
      owner - the owner/administrator of the object. In case this is null, which is allowed, any administrator can edit this object. This is what happens when an object is "disowned".