com.xtravelsystem.online.published.V1_0RC1.hotel.requests
Class Occupancy

java.lang.Object
  extended by 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

Constructor Summary
Occupancy()
           
 
Method Summary
 int getAdults()
           
 int getChildren()
           
 int[] getChildrenAges()
           
 int getNumberOfRooms()
           
 java.lang.String[] getRoomTypes()
           
 void setAdults(int adults)
           
 void setChildren(int children)
           
 void setChildrenAges(int[] childrenAges)
           
 void setNumberOfRooms(int numberOfRooms)
           
 void setRoomTypes(java.lang.String[] roomTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Occupancy

public Occupancy()
Method Detail

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)