Package org.cxml
Class RoomType
java.lang.Object
org.cxml.RoomType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Descriptionprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amenities property.Gets the value of the bedType property.Gets the value of the description property.Gets the value of the numberOfBed property.Gets the value of the smoking property.voidsetBedType(String value) Sets the value of the bedType property.voidsetDescription(Description value) Sets the value of the description property.voidsetNumberOfBed(String value) Sets the value of the numberOfBed property.voidsetSmoking(String value) Sets the value of the smoking property.
-
Field Details
-
smoking
-
numberOfBed
-
bedType
-
description
-
amenities
-
-
Constructor Details
-
RoomType
public RoomType()
-
-
Method Details
-
getSmoking
Gets the value of the smoking property.- Returns:
- possible object is
String
-
setSmoking
Sets the value of the smoking property.- Parameters:
value- allowed object isString
-
getNumberOfBed
Gets the value of the numberOfBed property.- Returns:
- possible object is
String
-
setNumberOfBed
Sets the value of the numberOfBed property.- Parameters:
value- allowed object isString
-
getBedType
Gets the value of the bedType property.- Returns:
- possible object is
String
-
setBedType
Sets the value of the bedType property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
Description
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isDescription
-
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
-