Package org.cxml
Class RoomType
- java.lang.Object
-
- org.cxml.RoomType
-
public class RoomType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Amenities>amenitiesprotected java.lang.StringbedTypeprotected Descriptiondescriptionprotected java.lang.StringnumberOfBedprotected java.lang.Stringsmoking
-
Constructor Summary
Constructors Constructor Description RoomType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Amenities>getAmenities()Gets the value of the amenities property.java.lang.StringgetBedType()Gets the value of the bedType property.DescriptiongetDescription()Gets the value of the description property.java.lang.StringgetNumberOfBed()Gets the value of the numberOfBed property.java.lang.StringgetSmoking()Gets the value of the smoking property.voidsetBedType(java.lang.String value)Sets the value of the bedType property.voidsetDescription(Description value)Sets the value of the description property.voidsetNumberOfBed(java.lang.String value)Sets the value of the numberOfBed property.voidsetSmoking(java.lang.String value)Sets the value of the smoking property.
-
-
-
Field Detail
-
smoking
protected java.lang.String smoking
-
numberOfBed
protected java.lang.String numberOfBed
-
bedType
protected java.lang.String bedType
-
description
protected Description description
-
amenities
protected java.util.List<Amenities> amenities
-
-
Method Detail
-
getSmoking
public java.lang.String getSmoking()
Gets the value of the smoking property.- Returns:
- possible object is
String
-
setSmoking
public void setSmoking(java.lang.String value)
Sets the value of the smoking property.- Parameters:
value- allowed object isString
-
getNumberOfBed
public java.lang.String getNumberOfBed()
Gets the value of the numberOfBed property.- Returns:
- possible object is
String
-
setNumberOfBed
public void setNumberOfBed(java.lang.String value)
Sets the value of the numberOfBed property.- Parameters:
value- allowed object isString
-
getBedType
public java.lang.String getBedType()
Gets the value of the bedType property.- Returns:
- possible object is
String
-
setBedType
public void setBedType(java.lang.String value)
Sets the value of the bedType property.- Parameters:
value- allowed object isString
-
getDescription
public Description getDescription()
Gets the value of the description property.- Returns:
- possible object is
Description
-
setDescription
public void setDescription(Description value)
Sets the value of the description property.- Parameters:
value- allowed object isDescription
-
getAmenities
public java.util.List<Amenities> getAmenities()
Gets the value of the amenities property.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
setmethod 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
-
-