From decdb7869ac71c291b835db1b291172b73e3c280 Mon Sep 17 00:00:00 2001 From: slaws Date: Sun, 3 Aug 2008 13:36:24 +0000 Subject: Updates to add in cars and flights git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@682170 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/scatours/hotel/HotelImpl.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'sandbox/travelsample/hotel-contribution/src/scatours/hotel/HotelImpl.java') 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); } -- cgit v1.2.3