1 37 38 package com.sun.j2ee.blueprints.activitysupplier.powebservice; 39 40 import java.util.*; 41 42 public class ActivityDetails implements java.io.Serializable { 43 44 protected String activityId; 45 protected Calendar startDate; 46 protected Calendar endDate; 47 protected int headCount; 48 49 public ActivityDetails() {} 51 52 public ActivityDetails(String activityId, Calendar startDate, 53 Calendar endDate, int headCount) { 54 this.activityId = activityId; 55 this.startDate = startDate; 56 this.endDate = endDate; 57 this.headCount = headCount; 58 } 59 60 public String getActivityId() { 62 return activityId; 63 } 64 65 public Calendar getStartDate() { 66 return startDate; 67 } 68 69 public Calendar getEndDate() { 70 return endDate; 71 } 72 73 public int getHeadCount() { 74 return headCount; 75 } 76 77 public void setActivityId(String id) { 79 this.activityId = id; 80 } 81 82 public void setStartDate(Calendar startDate) { 83 this.startDate = startDate; 84 } 85 86 public void setEndDate(Calendar endDate) { 87 this.endDate = endDate; 88 } 89 90 public void setHeadCount(int headCount) { 91 this.headCount = headCount; 92 } 93 } 94 | Popular Tags |