Package org.cxml

Class RoomType


  • public class RoomType
    extends java.lang.Object
    • 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.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • smoking

        protected java.lang.String smoking
      • numberOfBed

        protected java.lang.String numberOfBed
      • bedType

        protected java.lang.String bedType
      • amenities

        protected java.util.List<Amenities> amenities
    • Constructor Detail

      • RoomType

        public RoomType()
    • 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 is String
      • 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 is String
      • 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 is String
      • 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 is Description
      • 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 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