KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > business > calendar > event > meeting > category > MeetingCategoryDO


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: MeetingCategoryDO.java,v $
31  * Revision 1.3 2005/04/10 20:09:42 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:17 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:03:35 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.2 2003/02/25 14:38:13 colin
73  * implemented setModified methods on entity beans thro IvataEntityBean superclass
74  *
75  * Revision 1.1 2003/02/24 19:09:21 colin
76  * moved to business
77  *
78  * Revision 1.8 2003/02/04 17:41:57 colin
79  * copyright notice
80  *
81  * Revision 1.7 2002/09/10 09:12:31 jano
82  * fixing ejbCreate method
83  *
84  * Revision 1.5 2002/07/15 11:59:25 jano
85  * added property DAYEVENT to EventBean
86  *
87  * Revision 1.4 2002/07/05 10:29:10 colin
88  * changes trying to move project to jano
89  *
90  * Revision 1.3 2002/07/04 12:42:04 colin
91  * resolved conflicts in cvs
92  *
93  * Revision 1.2 2002/07/04 12:11:34 jano
94  * *** empty log message ***
95  *
96  * Revision 1.1 2002/06/21 12:45:37 colin
97  * restructured com.ivata.groupware.web
98  * -----------------------------------------------------------------------------
99  */

100 package com.ivata.groupware.business.calendar.event.meeting.category;
101
102 import java.util.Set JavaDoc;
103
104 import com.ivata.groupware.business.calendar.event.meeting.MeetingDO;
105 import com.ivata.groupware.container.persistence.BaseDO;
106
107 /**
108  * <p>The many agenda points which make up the meeting are grouped into
109  * categories by this class.</p>
110  *
111  * @since 2002-06-18
112  * @author Colin MacLeod
113  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
114  * @version $Revision: 1.3 $
115  *
116  * @hibernate.class
117  * table="meeting_category"
118  * @hibernate.cache
119  * usage="read-write"
120  */

121 public class MeetingCategoryDO extends BaseDO {
122
123     /**
124      * <p>The agenda points contained int his category.</p>
125      */

126     private Set JavaDoc agendaPoints;
127
128     /**
129      * <p>The meeting this category refers to.</p>
130      */

131     private MeetingDO meeting;
132     /**
133      * <p>Name of this meeting category.</p>
134      */

135     private String JavaDoc name;
136     /**
137      * <p>Get the agenda points contained int his category.</p>
138      *
139      * @return the agenda points contained int his category.
140      *
141      * @hibernate.set
142      * @hibernate.collection-key
143      * column="category"
144      * @hibernate.collection-one-to-many
145      * class="com.ivata.groupware.business.calendar.event.meeting.agendapoint.AgendaPointDO"
146      */

147     public final Set JavaDoc getAgendaPoints() {
148         return agendaPoints;
149     }
150     /**
151      * <p>Get the meeting this category refers to.</p>
152      *
153      * @return the meeting this category refers to.
154      *
155      * @hibernate.many-to-one
156      */

157     public final MeetingDO getMeeting() {
158         return meeting;
159     }
160     /**
161      * <p>Get the name of this meeting category.</p>
162      *
163      * @return name of this meeting category
164      *
165      * @hibernate.property
166      */

167     public final String JavaDoc getName() {
168         return name;
169     }
170
171     /**
172      * <p>Aet the agenda points contained int his category.</p>
173      *
174      * @param agendaPoints the agenda points contained int his category.
175      */

176     public final void setAgendaPoints(final Set JavaDoc agendaPoints) {
177         this.agendaPoints = agendaPoints;
178     }
179
180     /**
181      * <p>Set the meeting this category refers to.</p>
182      *
183      * @param meeting the meeting this category refers to.
184      */

185     public final void setMeeting(final MeetingDO meeting) {
186         this.meeting = meeting;
187     }
188
189     /**
190      * <p>Set the name of this meeting category.</p>
191      *
192      * @param name name of this meeting category
193      */

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