1 37 38 package com.sun.j2ee.blueprints.catalog; 39 40 import java.util.*; 41 42 47 public class AdventurePackage implements java.io.Serializable { 48 49 private ArrayList activities; 50 private String packageId; 51 private String name; 52 private String lodginglId; 53 private String location; 54 private String description; 55 private double price; 56 57 58 public AdventurePackage(String packageId, 59 String name, 60 String description, 61 String location, 62 String lodginglId, 63 double price, 64 ArrayList activities) { 65 this.packageId = packageId; 66 this.name = name; 67 this.description = description; 68 this.lodginglId = lodginglId; 69 this.location = location; 70 this.price = price; 71 this.activities = activities; 72 } 73 74 public ArrayList getActivities() { 75 return activities; 76 } 77 78 public void setHotelItemId(String lodginglId) { 79 this.lodginglId = lodginglId; 80 } 81 82 public String getLodgingId() { 83 return lodginglId; 84 } 85 86 public String getLocation() { 87 return location; 88 } 89 90 public double getPrice() { 91 return price; 92 } 93 94 public String getPackageId() { 95 return packageId; 96 } 97 98 public String getName() { 99 return name; 100 } 101 102 public String toString() { 103 return "AdventurePackage[packageId=" + packageId + 104 ", name=" + name + 105 ", lodginglId=" + lodginglId + 106 ", location=" + location + 107 ", price=" + price + 108 ", activites=" + activities + "]"; 109 } 110 } 111 | Popular Tags |