com.xtravelsystem.online.published.V1_0RC1.hotel.requests
Class Occupancy
java.lang.Object
com.xtravelsystem.online.published.V1_0RC1.hotel.requests.Occupancy
- All Implemented Interfaces:
- IOccupancy
public class Occupancy
- extends java.lang.Object
- implements IOccupancy
container for the occupancy record at the availableHotels request
- Author:
- Miguel Pérez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Occupancy
public Occupancy()
getAdults
public int getAdults()
- Specified by:
getAdults
in interface IOccupancy
setAdults
public void setAdults(int adults)
getChildren
public int getChildren()
- Specified by:
getChildren
in interface IOccupancy
setChildren
public void setChildren(int children)
getChildrenAges
public int[] getChildrenAges()
- Specified by:
getChildrenAges
in interface IOccupancy
setChildrenAges
public void setChildrenAges(int[] childrenAges)
getNumberOfRooms
public int getNumberOfRooms()
- Specified by:
getNumberOfRooms
in interface IOccupancy
setNumberOfRooms
public void setNumberOfRooms(int numberOfRooms)
getRoomTypes
public java.lang.String[] getRoomTypes()
- Specified by:
getRoomTypes
in interface IOccupancy
setRoomTypes
public void setRoomTypes(java.lang.String[] roomTypes)