Class Area

Object
Area
All Implemented Interfaces:
Serializable, Ownage

@Entity public class Area extends Object implements Serializable, Ownage
Author:
maartenl
See Also:
  • Constructor Details

  • Method Details

    • getArea

      public String getArea()
    • setArea

      public void setArea(String area)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getShortdescription

      public String getShortdescription()
    • setShortdescription

      public void setShortdescription(String shortdescription)
    • getCreation

      public LocalDateTime getCreation()
    • setCreation

      public void setCreation(LocalDateTime creation)
    • getRoomCollection

      public Collection<Room> getRoomCollection()
    • setRoomCollection

      public void setRoomCollection(Collection<Room> roomCollection)
    • getOwner

      public Admin getOwner()
      Description copied from interface: Ownage
      Retrieves the owner, the administrator, of this object. In case this is null, anyone can edit the object.
      Specified by:
      getOwner in interface Ownage
      Returns:
    • setOwner

      public void setOwner(Admin owner)
      Description copied from interface: Ownage
      Sets the owner, the administrator, of this object.
      Specified by:
      setOwner in interface Ownage
      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".
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object