Package src.model
Class CoupleSeat
- All Implemented Interfaces:
Serializable
The Class inherited from the Superclass
Seat that handles the data of
Couple Seat- Version:
- 1.0
- Author:
- Lee Juin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the price weight of the seatGets theSeatTypeof the seatvoidsetSeatPrice(double seatPrice) Sets the price weight of the seatvoidsetSeatType(SeatType seatType) Sets theSeatTypeof the seatMethods inherited from class Seat
getAssignStatus, getUUID, setAssignStatus, setUUID
-
Constructor Details
-
CoupleSeat
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:
setSeatPricein classSeat- Parameters:
seatPrice- is the price weight of the seat
-
getSeatPrice
public double getSeatPrice()Gets the price weight of the seat- Specified by:
getSeatPricein classSeat- Returns:
- The price weight of the seat
-
getSeatType
Gets theSeatTypeof the seat- Specified by:
getSeatTypein classSeat- Returns:
- The
SeatTypeof the seat
-
setSeatType
Sets theSeatTypeof the seat- Specified by:
setSeatTypein classSeat- Parameters:
seatType- is theSeatTypeof the seat
-