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/common/TripItem.java | 54 ++++++++++++++++++++-- 1 file changed, 49 insertions(+), 5 deletions(-) (limited to 'sandbox/travelsample/common-contribution/src/scatours') diff --git a/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java b/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java index 8f264c7f1d..aac90c7bd5 100644 --- a/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java +++ b/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java @@ -27,22 +27,34 @@ public class TripItem { private String name; private String description; private String location; + private String fromDate; + private String toDate; + private double price; + private String currency; private String link; public TripItem() { } public TripItem(String id, - String type, - String name, - String description, - String location, - String link) { + String type, + String name, + String description, + String location, + String fromDate, + String toDate, + double price, + String currency, + String link) { this.id = id; this.type = type; this.name = name; this.description = description; this.location = location; + this.fromDate = fromDate; + this.toDate = toDate; + this.price = price; + this.currency = currency; this.link = link; } @@ -86,6 +98,38 @@ public class TripItem { this.location = location; } + public String getFromDate() { + return fromDate; + } + + public void setFromDate(String fromDate) { + this.fromDate = fromDate; + } + + public String getToDate() { + return toDate; + } + + public void setToDate(String toDate) { + this.toDate = toDate; + } + + public double getPrice() { + return price; + } + + public void setPrice(double price) { + this.price = price; + } + + public String getCurrency() { + return currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + public String getLink() { return link; } -- cgit v1.2.3