summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java b/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
index 769cbcaed7..ac02c31e59 100644
--- a/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
+++ b/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
@@ -48,18 +48,34 @@ public class HotelImpl implements Search {
hotels.add(new HotelInfo("Deep Bay Hotel",
"Wonderful sea views and a relaxed atmosphere",
"ANU",
+ "06/12/08",
+ "200",
+ 100,
+ "USD",
"http://localhost:8085/tbd" ));
hotels.add(new HotelInfo("Long Bay Hotel",
"Friendly staff and an ocean breeze",
"ANU",
+ "06/12/08",
+ "200",
+ 100,
+ "USD",
"http://localhost:8085/tbd" ));
hotels.add(new HotelInfo("City Hotel",
"Smart rooms and early breakfasts",
"NY",
+ "06/12/08",
+ "200",
+ 100,
+ "USD",
"http://localhost:8085/tbd" ));
hotels.add(new HotelInfo("County Hotel",
"The smell of the open country",
"SOU",
+ "06/12/08",
+ "200",
+ 100,
+ "USD",
"http://localhost:8085/tbd" ));
}
@@ -74,6 +90,10 @@ public class HotelImpl implements Search {
hotel.getName(),
hotel.getDescription(),
hotel.getLocation(),
+ tripLeg.getFromDate(),
+ tripLeg.getToDate(),
+ hotel.getPricePerBed(),
+ hotel.getCurrency(),
hotel.getLink());
items.add(item);
}