Interface StatusHaveable

All Known Subinterfaces:
Liveable, Rentable
All Known Implementing Classes:
Accomodation, Booking

public interface StatusHaveable
The specific interface which allows some classes to have a status defined in the class Status
  • Method Summary

    Modifier and Type
    Method
    Description
    A method which allows to get a current status
    void
    setStatus(String statusLabel)
    A method which allows to set a specific status
  • Method Details

    • setStatus

      void setStatus(String statusLabel)
      A method which allows to set a specific status
      Parameters:
      statusLabel - - which specifies a status
    • getStatus

      Status getStatus()
      A method which allows to get a current status
      Returns:
      status, which is contained by the implementation class