All Implemented Interfaces:
Labeled

public class Bed extends AbstractPersistable implements Labeled
  • Constructor Details

    • Bed

      public Bed()
    • Bed

      public Bed(long id, Room room, int indexInRoom)
  • Method Details

    • getRoom

      public Room getRoom()
    • setRoom

      public void setRoom(Room room)
    • getIndexInRoom

      public int getIndexInRoom()
    • setIndexInRoom

      public void setIndexInRoom(int indexInRoom)
    • getLabelInRoom

      public String getLabelInRoom()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled
    • toString

      public String toString()
      Overrides:
      toString in class AbstractPersistable