View Javadoc
1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.mobility.calendars.service;
6   
7   import javax.xml.bind.annotation.XmlRootElement;
8   
9   /**
10   * Event class describes an event
11   *
12   * @author Nurul Haque Murshed <nurul.murshed@htcindia.com>
13   */
14  @XmlRootElement(name = "eventDetails")
15  public class Event {
16  
17      private int eventId;
18      private String eventDate;
19      private String startTime;
20      private String endTime;
21      private String title;
22      private String eventBody;
23  
24      /**
25       * @return the eventId
26       */
27      public int getEventId() {
28          return eventId;
29      }
30  
31      /**
32       * @param eventId the eventId to set
33       */
34      public void setEventId(int eventId) {
35          this.eventId = eventId;
36      }
37  
38      /**
39       * @return the eventDate
40       */
41      public String getEventDate() {
42          return eventDate;
43      }
44  
45      /**
46       * @param eventDate the eventDate to set
47       */
48      public void setEventDate(String eventDate) {
49          this.eventDate = eventDate;
50      }
51  
52      /**
53       * @return the startTime
54       */
55      public String getStartTime() {
56          return startTime;
57      }
58  
59      /**
60       * @param startTime the startTime to set
61       */
62      public void setStartTime(String startTime) {
63          this.startTime = startTime;
64      }
65  
66      /**
67       * @return the endTime
68       */
69      public String getEndTime() {
70          return endTime;
71      }
72  
73      /**
74       * @param endTime the endTime to set
75       */
76      public void setEndTime(String endTime) {
77          this.endTime = endTime;
78      }
79  
80      /**
81       * @return the title
82       */
83      public String getTitle() {
84          return title;
85      }
86  
87      /**
88       * @param title the title to set
89       */
90      public void setTitle(String title) {
91          this.title = title;
92      }
93  
94      /**
95       * @return the eventBody
96       */
97      public String getEventBody() {
98          return eventBody;
99      }
100 
101     /**
102      * @param eventBody the eventBody to set
103      */
104     public void setEventBody(String eventBody) {
105         this.eventBody = eventBody;
106     }
107 }