public class RoomType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Amenities> |
amenities |
protected java.lang.String |
bedType |
protected Description |
description |
protected java.lang.String |
numberOfBed |
protected java.lang.String |
smoking |
| Constructor and Description |
|---|
RoomType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Amenities> |
getAmenities()
Gets the value of the amenities property.
|
java.lang.String |
getBedType()
Gets the value of the bedType property.
|
Description |
getDescription()
Gets the value of the description property.
|
java.lang.String |
getNumberOfBed()
Gets the value of the numberOfBed property.
|
java.lang.String |
getSmoking()
Gets the value of the smoking property.
|
void |
setBedType(java.lang.String value)
Sets the value of the bedType property.
|
void |
setDescription(Description value)
Sets the value of the description property.
|
void |
setNumberOfBed(java.lang.String value)
Sets the value of the numberOfBed property.
|
void |
setSmoking(java.lang.String value)
Sets the value of the smoking property.
|
protected java.lang.String smoking
protected java.lang.String numberOfBed
protected java.lang.String bedType
protected Description description
protected java.util.List<Amenities> amenities
public java.lang.String getSmoking()
Stringpublic void setSmoking(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getNumberOfBed()
Stringpublic void setNumberOfBed(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBedType()
Stringpublic void setBedType(java.lang.String value)
value - allowed object is
Stringpublic Description getDescription()
Descriptionpublic void setDescription(Description value)
value - allowed object is
Descriptionpublic java.util.List<Amenities> getAmenities()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the amenities property.
For example, to add a new item, do as follows:
getAmenities().add(newItem);
Objects of the following type(s) are allowed in the list
Amenities
Copyright © 2018 SAP SE. All Rights Reserved.