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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the price weight of the seatGets theSeatType
of the seatvoid
setSeatPrice
(double seatPrice) Sets the price weight of the seatvoid
setSeatType
(SeatType seatType) Sets theSeatType
of 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:
setSeatPrice
in classSeat
- Parameters:
seatPrice
- is the price weight of the seat
-
getSeatPrice
public double getSeatPrice()Gets the price weight of the seat- Specified by:
getSeatPrice
in classSeat
- Returns:
- The price weight of the seat
-
getSeatType
Gets theSeatType
of the seat- Specified by:
getSeatType
in classSeat
- Returns:
- The
SeatType
of the seat
-
setSeatType
Sets theSeatType
of the seat- Specified by:
setSeatType
in classSeat
- Parameters:
seatType
- is theSeatType
of the seat
-