Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/xpn/xwiki/plugin/calendar/CalendarEvent.java


1   /**
2    * ===================================================================
3    *
4    * Copyright (c) 2003,2004 Ludovic Dubost, All rights reserved.
5    *
6    * This program is free software; you can redistribute it and/or
7    * modify it under the terms of the GNU Lesser General Public License
8    * as published by the Free Software Foundation; either version 2
9    * of the License, or (at your option) any later version.
10   *
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Lesser General Public License for more details, published at 
15   * http://www.gnu.org/copyleft/lesser.html or in lesser.txt in the
16   * root folder of this distribution.
17  
18   * Created by
19   * User: Ludovic Dubost
20   * Date: 10 oct. 2004
21   * Time: 00:18:59
22   */
23  package com.xpn.xwiki.plugin.calendar;
24  
25  import java.util.Calendar;
26  
27  public class CalendarEvent {
28      private Calendar dateStart;
29      private Calendar dateEnd;
30      private String user;
31      private String description;
32  
33      public CalendarEvent() {
34      }
35  
36      public CalendarEvent(Calendar date, String user, String description) {
37          this.dateStart = date;
38          this.dateEnd = date;
39          this.user = user;
40          this.description = description;
41      }
42  
43      public CalendarEvent(Calendar dateStart, Calendar dateEnd, String user, String description) {
44          this.dateStart = dateStart;
45          this.dateEnd = dateEnd;
46          this.user = user;
47          this.description = description;
48      }
49  
50      public Calendar getDateStart() {
51          return dateStart;
52      }
53  
54      public void setDateStart(Calendar dateStart) {
55          this.dateStart = dateStart;
56      }
57  
58      public Calendar getDateEnd() {
59          return dateEnd;
60      }
61  
62      public void setDateEnd(Calendar dateEnd) {
63          this.dateEnd = dateEnd;
64      }
65  
66      public String getUser() {
67          return user;
68      }
69  
70      public void setUser(String user) {
71          this.user = user;
72      }
73  
74      public String getDescription() {
75          return description;
76      }
77  
78      public void setDescription(String description) {
79          this.description = description;
80      }
81  
82  
83  }