1 16 package org.apache.commons.betwixt; 17 18 import java.util.Date ; 19 20 21 26 public class PartyBean { 27 28 private String excuse; 29 private Date dateOfParty; 30 private AddressBean venue; 31 private int fromHour; 32 33 public PartyBean () {} 34 35 public PartyBean(String excuse, Date date, int fromHour, AddressBean venue) { 36 setExcuse(excuse); 37 setDateOfParty(date); 38 setVenue(venue); 39 setFromHour(fromHour); 40 } 41 42 public String getExcuse() { 43 return excuse; 44 } 45 46 public void setExcuse(String excuse) { 47 this.excuse = excuse; 48 } 49 50 public Date getDateOfParty() { 51 return dateOfParty; 52 } 53 54 public void setDateOfParty(Date dateOfParty) { 55 this.dateOfParty = dateOfParty; 56 } 57 58 public AddressBean getVenue() { 59 return venue; 60 } 61 62 public void setVenue(AddressBean venue) { 63 this.venue = venue; 64 } 65 66 public int getFromHour() { 67 return fromHour; 68 } 69 70 public void setFromHour(int fromHour) { 71 this.fromHour = fromHour; 72 } 73 } 74 75 | Popular Tags |