Source Code Cross Referenced for AgendaPointDO.java in  » Groupware » ivatagroupware » com » ivata » groupware » business » calendar » event » meeting » agendapoint » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » ivatagroupware » com.ivata.groupware.business.calendar.event.meeting.agendapoint 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 2001 - 2005 ivata limited.
003:         * All rights reserved.
004:         * -----------------------------------------------------------------------------
005:         * ivata groupware may be redistributed under the GNU General Public
006:         * License as published by the Free Software Foundation;
007:         * version 2 of the License.
008:         *
009:         * These programs are free software; you can redistribute them and/or
010:         * modify them under the terms of the GNU General Public License
011:         * as published by the Free Software Foundation; version 2 of the License.
012:         *
013:         * These programs are distributed in the hope that they will be useful,
014:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
015:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016:         *
017:         * See the GNU General Public License in the file LICENSE.txt for more
018:         * details.
019:         *
020:         * If you would like a copy of the GNU General Public License write to
021:         *
022:         * Free Software Foundation, Inc.
023:         * 59 Temple Place - Suite 330
024:         * Boston, MA 02111-1307, USA.
025:         *
026:         *
027:         * To arrange commercial support and licensing, contact ivata at
028:         *                  http://www.ivata.com/contact.jsp
029:         * -----------------------------------------------------------------------------
030:         * $Log: AgendaPointDO.java,v $
031:         * Revision 1.7  2005/10/11 18:58:59  colinmacleod
032:         * Fixed some checkstyle and javadoc issues.
033:         *
034:         * Revision 1.6  2005/10/02 14:08:56  colinmacleod
035:         * Added/improved log4j logging.
036:         *
037:         * Revision 1.5  2005/09/29 13:22:45  colinmacleod
038:         * Added read-only functionality to data object classes (with a check on each
039:         * setter).
040:         *
041:         * Revision 1.4  2005/09/14 15:12:19  colinmacleod
042:         * Added serialVersionUID.
043:         *
044:         * Revision 1.3  2005/04/10 20:09:41  colinmacleod
045:         * Added new themes.
046:         * Changed id type to String.
047:         * Changed i tag to em and b tag to strong.
048:         * Improved PicoContainerFactory with NanoContainer scripts.
049:         *
050:         * Revision 1.2  2005/04/09 17:19:16  colinmacleod
051:         * Changed copyright text to GPL v2 explicitly.
052:         *
053:         * Revision 1.1.1.1  2005/03/10 17:47:46  colinmacleod
054:         * Restructured ivata op around Hibernate/PicoContainer.
055:         * Renamed ivata groupware.
056:         *
057:         * Revision 1.1  2004/07/13 19:42:13  colinmacleod
058:         * Moved project to POJOs from EJBs.
059:         * Applied PicoContainer to services layer (replacing session EJBs).
060:         * Applied Hibernate to persistence layer (replacing entity EJBs).
061:         *
062:         * Revision 1.3  2004/03/21 21:16:22  colinmacleod
063:         * Shortened name to ivata op.
064:         *
065:         * Revision 1.2  2004/02/01 22:07:29  colinmacleod
066:         * Added full names to author tags
067:         *
068:         * Revision 1.1.1.1  2004/01/27 20:58:20  colinmacleod
069:         * Moved ivata openportal to SourceForge..
070:         *
071:         * Revision 1.5  2003/11/03 11:28:48  jano
072:         * commiting calendar,
073:         * tryinjg to fix deploying problem
074:         *
075:         * Revision 1.4  2003/10/28 13:10:23  jano
076:         * commiting calendar,
077:         * still fixing compile and building openGroupware project
078:         *
079:         * Revision 1.3  2003/10/15 14:02:20  jano
080:         * converting to XDoclet
081:         *
082:         * Revision 1.2  2003/10/15 13:57:23  colin
083:         * fixing for XDoclet
084:         *
085:         * Revision 1.3  2003/05/01 12:13:22  jano
086:         * tidy up names of sequeneces
087:         *
088:         * Revision 1.2  2003/02/25 14:38:13  colin
089:         * implemented setModified methods on entity beans thro IvataEntityBean
090:         * superclass
091:         *
092:         * Revision 1.1  2003/02/24 19:09:21  colin
093:         * moved to business
094:         *
095:         * Revision 1.7  2003/02/04 17:41:57  colin
096:         * copyright notice
097:         *
098:         * Revision 1.6  2002/09/10 09:14:27  jano
099:         * fixing ejbCreate method
100:         *
101:         * Revision 1.5  2002/07/15 11:59:25  jano
102:         * added property DAYEVENT to EventBean
103:         *
104:         * Revision 1.4  2002/07/05 10:29:10  colin
105:         * changes trying to move project to jano
106:         *
107:         * Revision 1.3  2002/07/04 12:24:05  colin
108:         * *** empty log message ***
109:         *
110:         * Revision 1.2  2002/07/04 12:11:34  jano
111:         * *** empty log message ***
112:         *
113:         * Revision 1.1  2002/06/21 12:45:15  colin
114:         * restructured com.ivata.groupware.web
115:         * -----------------------------------------------------------------------------
116:         */
117:        package com.ivata.groupware.business.calendar.event.meeting.agendapoint;
118:
119:        import org.apache.log4j.Logger;
120:
121:        import com.ivata.groupware.business.calendar.event.meeting.category.MeetingCategoryDO;
122:        import com.ivata.groupware.container.persistence.BaseDO;
123:        import com.ivata.groupware.container.persistence.NamedDO;
124:
125:        /**
126:         * <p>Each meeting may have many agenda points. These will appear as points on
127:         * the agenda before the meeting, and as headings in the article of the
128:         * minutes after the meeting.</p>
129:         *
130:         * @since 2002-06-18
131:         * @author Colin MacLeod
132:         * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
133:         * @version $Revision: 1.7 $
134:         *
135:         * @hibernate.class
136:         *      table="meeting_agenda_point"
137:         * @hibernate.cache
138:         *      usage="read-write"
139:         */
140:        public class AgendaPointDO extends BaseDO implements  NamedDO {
141:            /**
142:             * Logger for this class.
143:             */
144:            private static final Logger logger = Logger
145:                    .getLogger(AgendaPointDO.class);
146:
147:            /**
148:             * Serialization version (for <code>Serializable</code> interface).
149:             */
150:            private static final long serialVersionUID = 1L;
151:
152:            /**
153:             * <p>Get category which contains this agenda point.</p>
154:             */
155:            private MeetingCategoryDO category;
156:
157:            /**
158:             * <p>The text of the minutes describing the meeting.</p>
159:             */
160:            private String minutesText;
161:            /**
162:             * <p>The name of this agenda point.</p>
163:             */
164:            private String name;
165:
166:            /**
167:             * <p>Get the category which contains this agenda point.</p>
168:             *
169:             * @return category which contains this agenda point.
170:             *
171:             * @hibernate.many-to-one
172:             */
173:            public final MeetingCategoryDO getCategory() {
174:                if (logger.isDebugEnabled()) {
175:                    logger.debug("getCategory() - start");
176:                }
177:
178:                if (logger.isDebugEnabled()) {
179:                    logger.debug("getCategory() - end - return value = "
180:                            + category);
181:                }
182:                return category;
183:            }
184:
185:            /**
186:             * <p>Get the text of the minutes describing the meeting.</p>
187:             *
188:             * @return text of the minutes describing the meeting.
189:             * @hibernate.property
190:             */
191:            public final String getMinutesText() {
192:                if (logger.isDebugEnabled()) {
193:                    logger.debug("getMinutesText() - start");
194:                }
195:
196:                if (logger.isDebugEnabled()) {
197:                    logger.debug("getMinutesText() - end - return value = "
198:                            + minutesText);
199:                }
200:                return minutesText;
201:            }
202:
203:            /**
204:             * <p>Get the name of this agenda point.</p>
205:             *
206:             * @return the agenda point name.
207:             *
208:             * @hibernate.property
209:             */
210:            public final String getName() {
211:                if (logger.isDebugEnabled()) {
212:                    logger.debug("getName() - start");
213:                }
214:
215:                if (logger.isDebugEnabled()) {
216:                    logger.debug("getName() - end - return value = " + name);
217:                }
218:                return name;
219:            }
220:
221:            /**
222:             * <p>Set the category which contains this agenda point.</p>
223:             *
224:             * @param categoryParam new value of category which contains this agenda
225:             * point.
226:             */
227:            public final void setCategory(final MeetingCategoryDO categoryParam) {
228:                if (logger.isDebugEnabled()) {
229:                    logger.debug("setCategory(MeetingCategoryDO category = "
230:                            + categoryParam + ") - start");
231:                }
232:
233:                checkSetter();
234:                this .category = categoryParam;
235:
236:                if (logger.isDebugEnabled()) {
237:                    logger.debug("setCategory(MeetingCategoryDO) - end");
238:                }
239:            }
240:
241:            /**
242:             * <p>Set the text of the minutes describing the meeting.</p>
243:             *
244:             * @param minutesTextParam new text of the minutes describing the meeting.
245:             */
246:            public final void setMinutesText(final String minutesTextParam) {
247:                if (logger.isDebugEnabled()) {
248:                    logger.debug("setMinutesText(String minutesText = "
249:                            + minutesTextParam + ") - start");
250:                }
251:
252:                checkSetter();
253:                this .minutesText = minutesTextParam;
254:
255:                if (logger.isDebugEnabled()) {
256:                    logger.debug("setMinutesText(String) - end");
257:                }
258:            }
259:
260:            /**
261:             * <p>Set the name of this agenda point.</p>
262:             *
263:             * @param nameParam the new agenda point name.
264:             */
265:            public final void setName(final String nameParam) {
266:                if (logger.isDebugEnabled()) {
267:                    logger.debug("setName(String name = " + nameParam
268:                            + ") - start");
269:                }
270:
271:                checkSetter();
272:                this .name = nameParam;
273:
274:                if (logger.isDebugEnabled()) {
275:                    logger.debug("setName(String) - end");
276:                }
277:            }
278:        }
w_w__w__.__j___a___v___a_2_s__.___c___om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.