Package src.model

Class CoupleSeat

Object
Seat
CoupleSeat
All Implemented Interfaces:
Serializable

public class CoupleSeat extends Seat
The Class inherited from the Superclass Seat that handles the data of Couple Seat
Version:
1.0
Author:
Lee Juin
See Also:
  • Constructor Details

    • CoupleSeat

      public CoupleSeat(String UUID)
      Constructor for StandardSeat class
      Parameters:
      UUID - is the unique ID in the database
  • Method Details

    • setSeatPrice

      public void setSeatPrice(double seatPrice)
      Sets the price weight of the seat
      Specified by:
      setSeatPrice in class Seat
      Parameters:
      seatPrice - is the price weight of the seat
    • getSeatPrice

      public double getSeatPrice()
      Gets the price weight of the seat
      Specified by:
      getSeatPrice in class Seat
      Returns:
      The price weight of the seat
    • getSeatType

      public SeatType getSeatType()
      Gets the SeatType of the seat
      Specified by:
      getSeatType in class Seat
      Returns:
      The SeatType of the seat
    • setSeatType

      public void setSeatType(SeatType seatType)
      Sets the SeatType of the seat
      Specified by:
      setSeatType in class Seat
      Parameters:
      seatType - is the SeatType of the seat