KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > business > calendar > event > meeting > agendapoint > AgendaPointDO


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * -----------------------------------------------------------------------------
5  * ivata groupware may be redistributed under the GNU General Public
6  * License as published by the Free Software Foundation;
7  * version 2 of the License.
8  *
9  * These programs are free software; you can redistribute them and/or
10  * modify them under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; version 2 of the License.
12  *
13  * These programs are distributed in the hope that they will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  *
17  * See the GNU General Public License in the file LICENSE.txt for more
18  * details.
19  *
20  * If you would like a copy of the GNU General Public License write to
21  *
22  * Free Software Foundation, Inc.
23  * 59 Temple Place - Suite 330
24  * Boston, MA 02111-1307, USA.
25  *
26  *
27  * To arrange commercial support and licensing, contact ivata at
28  * http://www.ivata.com/contact.jsp
29  * -----------------------------------------------------------------------------
30  * $Log: AgendaPointDO.java,v $
31  * Revision 1.3 2005/04/10 20:09:41 colinmacleod
32  * Added new themes.
33  * Changed id type to String.
34  * Changed i tag to em and b tag to strong.
35  * Improved PicoContainerFactory with NanoContainer scripts.
36  *
37  * Revision 1.2 2005/04/09 17:19:16 colinmacleod
38  * Changed copyright text to GPL v2 explicitly.
39  *
40  * Revision 1.1.1.1 2005/03/10 17:47:46 colinmacleod
41  * Restructured ivata op around Hibernate/PicoContainer.
42  * Renamed ivata groupware.
43  *
44  * Revision 1.1 2004/07/13 19:42:13 colinmacleod
45  * Moved project to POJOs from EJBs.
46  * Applied PicoContainer to services layer (replacing session EJBs).
47  * Applied Hibernate to persistence layer (replacing entity EJBs).
48  *
49  * Revision 1.3 2004/03/21 21:16:22 colinmacleod
50  * Shortened name to ivata op.
51  *
52  * Revision 1.2 2004/02/01 22:07:29 colinmacleod
53  * Added full names to author tags
54  *
55  * Revision 1.1.1.1 2004/01/27 20:58:20 colinmacleod
56  * Moved ivata openportal to SourceForge..
57  *
58  * Revision 1.5 2003/11/03 11:28:48 jano
59  * commiting calendar,
60  * tryinjg to fix deploying problem
61  *
62  * Revision 1.4 2003/10/28 13:10:23 jano
63  * commiting calendar,
64  * still fixing compile and building openGroupware project
65  *
66  * Revision 1.3 2003/10/15 14:02:20 jano
67  * converting to XDoclet
68  *
69  * Revision 1.2 2003/10/15 13:57:23 colin
70  * fixing for XDoclet
71  *
72  * Revision 1.3 2003/05/01 12:13:22 jano
73  * tidy up names of sequeneces
74  *
75  * Revision 1.2 2003/02/25 14:38:13 colin
76  * implemented setModified methods on entity beans thro IvataEntityBean superclass
77  *
78  * Revision 1.1 2003/02/24 19:09:21 colin
79  * moved to business
80  *
81  * Revision 1.7 2003/02/04 17:41:57 colin
82  * copyright notice
83  *
84  * Revision 1.6 2002/09/10 09:14:27 jano
85  * fixing ejbCreate method
86  *
87  * Revision 1.5 2002/07/15 11:59:25 jano
88  * added property DAYEVENT to EventBean
89  *
90  * Revision 1.4 2002/07/05 10:29:10 colin
91  * changes trying to move project to jano
92  *
93  * Revision 1.3 2002/07/04 12:24:05 colin
94  * *** empty log message ***
95  *
96  * Revision 1.2 2002/07/04 12:11:34 jano
97  * *** empty log message ***
98  *
99  * Revision 1.1 2002/06/21 12:45:15 colin
100  * restructured com.ivata.groupware.web
101  * -----------------------------------------------------------------------------
102  */

103 package com.ivata.groupware.business.calendar.event.meeting.agendapoint;
104
105
106 import com.ivata.groupware.business.calendar.event.meeting.category.MeetingCategoryDO;
107 import com.ivata.groupware.container.persistence.BaseDO;
108
109
110 /**
111  * <p>Each meeting may have many agenda points. These will appear as points on
112  * the agenda before the meeting, and as headings in the library item of the
113  * minutes after the meeting.</p>
114  *
115  * @since 2002-06-18
116  * @author Colin MacLeod
117  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
118  * @version $Revision: 1.3 $
119  *
120  * @hibernate.class
121  * table="meeting_agenda_point"
122  * @hibernate.cache
123  * usage="read-write"
124  */

125 public class AgendaPointDO extends BaseDO {
126
127     /**
128      * <p>Get category which contains this agenda point.</p>
129      */

130     private MeetingCategoryDO category;
131
132     /**
133      * <p>The text of the minutes describing the meeting.</p>
134      */

135     private String JavaDoc minutesText;
136     /**
137      * <p>The name of this agenda point.</p>
138      */

139     private String JavaDoc name;
140     /**
141      * <p>Get the category which contains this agenda point.</p>
142      *
143      * @return category which contains this agenda point.
144      *
145      * @hibernate.many-to-one
146      */

147     public final MeetingCategoryDO getCategory() {
148         return category;
149     }
150     /**
151      * <p>Get the text of the minutes describing the meeting.</p>
152      *
153      * @return text of the minutes describing the meeting.
154      * @hibernate.property
155      */

156     public final String JavaDoc getMinutesText() {
157         return minutesText;
158     }
159     /**
160      * <p>Get the name of this agenda point.</p>
161      *
162      * @return the agenda point name.
163      *
164      * @hibernate.property
165      */

166     public final String JavaDoc getName() {
167         return name;
168     }
169
170     /**
171      * <p>Set the category which contains this agenda point.</p>
172      *
173      * @param category new value of category which contains this agenda point.
174      */

175     public final void setCategory(final MeetingCategoryDO category) {
176         this.category = category;
177     }
178
179     /**
180      * <p>Set the text of the minutes describing the meeting.</p>
181      *
182      * @param minutesText new text of the minutes describing the meeting.
183      */

184     public final void setMinutesText(final String JavaDoc minutesText) {
185         this.minutesText = minutesText;
186     }
187
188     /**
189      * <p>Set the name of this agenda point.</p>
190      *
191      * @param name the new agenda point name.
192      */

193     public final void setName(final String JavaDoc name) {
194         this.name = name;
195     }
196 }
197
Popular Tags