summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-08-03 13:36:24 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-08-03 13:36:24 +0000
commitdecdb7869ac71c291b835db1b291172b73e3c280 (patch)
tree0eca72e470f26cb889fddf122a5bd9cdb7ea8352 /sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java
parent2039d195339d7790cb584e19058deeaf7db95829 (diff)
Updates to add in cars and flights
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@682170 13f79535-47bb-0310-9956-ffa450edef68
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);
}