java.lang.Object
eus.ehu.hotelreservation.model.AvailableRoomModel
JavaFX model class for displaying available room types in the TableView.
Represents a room type available at a hotel for a given date range with its total price.
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.SimpleDoublePropertyjavafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleDoubleProperty -
Constructor Summary
ConstructorsConstructorDescriptionAvailableRoomModel(String hotelName, String roomType, double dailyPrice, double totalPrice) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.SimpleDoublePropertydoubleGets the value of thedailyPriceproperty.Gets the value of thehotelNameproperty.Gets the value of thehotelNameForQueryproperty.Gets the value of theroomTypeproperty.doubleGets the value of thetotalPriceproperty.javafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleStringPropertyjavafx.beans.property.SimpleDoubleProperty
-
Property Details
-
hotelName
public javafx.beans.property.SimpleStringProperty hotelNameProperty- See Also:
-
roomType
public javafx.beans.property.SimpleStringProperty roomTypeProperty- See Also:
-
dailyPrice
public javafx.beans.property.SimpleDoubleProperty dailyPriceProperty- See Also:
-
totalPrice
public javafx.beans.property.SimpleDoubleProperty totalPriceProperty- See Also:
-
hotelNameForQuery
public javafx.beans.property.SimpleStringProperty hotelNameForQueryProperty- See Also:
-
-
Constructor Details
-
AvailableRoomModel
-
-
Method Details
-
getHotelName
Gets the value of thehotelNameproperty.- Property description:
- Returns:
- the value of the
hotelNameproperty - See Also:
-
hotelNameProperty
public javafx.beans.property.SimpleStringProperty hotelNameProperty()- Returns:
- the
hotelNameproperty - See Also:
-
getRoomType
Gets the value of theroomTypeproperty.- Property description:
- Returns:
- the value of the
roomTypeproperty - See Also:
-
roomTypeProperty
public javafx.beans.property.SimpleStringProperty roomTypeProperty()- Returns:
- the
roomTypeproperty - See Also:
-
getDailyPrice
public double getDailyPrice()Gets the value of thedailyPriceproperty.- Property description:
- Returns:
- the value of the
dailyPriceproperty - See Also:
-
dailyPriceProperty
public javafx.beans.property.SimpleDoubleProperty dailyPriceProperty()- Returns:
- the
dailyPriceproperty - See Also:
-
getTotalPrice
public double getTotalPrice()Gets the value of thetotalPriceproperty.- Property description:
- Returns:
- the value of the
totalPriceproperty - See Also:
-
totalPriceProperty
public javafx.beans.property.SimpleDoubleProperty totalPriceProperty()- Returns:
- the
totalPriceproperty - See Also:
-
getHotelNameForQuery
Gets the value of thehotelNameForQueryproperty.- Property description:
- Returns:
- the value of the
hotelNameForQueryproperty - See Also:
-
hotelNameForQueryProperty
public javafx.beans.property.SimpleStringProperty hotelNameForQueryProperty()- Returns:
- the
hotelNameForQueryproperty - See Also:
-