diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-03 13:36:24 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-03 13:36:24 +0000 |
commit | decdb7869ac71c291b835db1b291172b73e3c280 (patch) | |
tree | 0eca72e470f26cb889fddf122a5bd9cdb7ea8352 /sandbox/travelsample/common-contribution/src/scatours | |
parent | 2039d195339d7790cb584e19058deeaf7db95829 (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/common-contribution/src/scatours/common/TripItem.java | 54 |
1 files changed, 49 insertions, 5 deletions
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; } |