Class GetAllReservationsResult
- java.lang.Object
-
- be.recipe.services.core.ResponseType
-
- be.business.connector.recipe.executor.domain.GetAllReservationsResult
-
public class GetAllReservationsResult extends ResponseType
The Class GetAllReservationsResult.
-
-
Field Summary
-
Fields inherited from class be.recipe.services.core.ResponseType
id, responseStatus, status
-
-
Constructor Summary
Constructors Constructor Description GetAllReservationsResult()GetAllReservationsResult(List<Reservation> reservations)Instantiates a new gets the all reservations result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Reservation rid)Adds the.List<Reservation>getReservations()Gets the reservations.voidsetReservations(List<Reservation> reservations)Sets the reservations.-
Methods inherited from class be.recipe.services.core.ResponseType
getId, getResponseStatus, getStatus, setId, setResponseStatus, setStatus
-
-
-
-
Constructor Detail
-
GetAllReservationsResult
public GetAllReservationsResult()
-
GetAllReservationsResult
public GetAllReservationsResult(List<Reservation> reservations)
Instantiates a new gets the all reservations result.- Parameters:
reservations- the reservations
-
-
Method Detail
-
add
public void add(Reservation rid)
Adds the.- Parameters:
rid- the rid
-
getReservations
public List<Reservation> getReservations()
Gets the reservations.- Returns:
- the reservations
-
setReservations
public void setReservations(List<Reservation> reservations)
Sets the reservations.- Parameters:
reservations- the new reservations
-
-