1 package test.hibernate; 2 3 import java.util.Calendar ; 4 import java.util.List ; 5 6 16 public class Order extends Persistent implements Updateable { 17 18 private List items; 19 private Human customer; 20 private Calendar date; 21 private String updateComment; 22 23 26 public Order() { 27 super(); 28 } 29 30 45 public List getItems() { 46 return items; 47 } 48 49 53 public void setItems(List items) { 54 this.items = items; 55 } 56 57 63 public Calendar getDate() { 64 return date; 65 } 66 67 71 public void setDate(Calendar date) { 72 this.date = date; 73 } 74 75 81 public Human getCustomer() { 82 return customer; 83 } 84 85 89 public void setCustomer(Human customer) { 90 this.customer = customer; 91 } 92 93 public String getUpdateComment() { 94 return updateComment; 95 } 96 97 public void setUpdateComment(String string) { 98 updateComment = string; 99 } 100 101 } 102 | Popular Tags |