Source Code Cross Referenced for PageDO.java in  » Groupware » ivatagroupware » com » ivata » groupware » business » library » page » 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.library.page 
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: PageDO.java,v $
031:         * Revision 1.3  2005/04/10 20:09:45  colinmacleod
032:         * Added new themes.
033:         * Changed id type to String.
034:         * Changed i tag to em and b tag to strong.
035:         * Improved PicoContainerFactory with NanoContainer scripts.
036:         *
037:         * Revision 1.2  2005/04/09 17:19:45  colinmacleod
038:         * Changed copyright text to GPL v2 explicitly.
039:         *
040:         * Revision 1.1.1.1  2005/03/10 17:51:59  colinmacleod
041:         * Restructured ivata op around Hibernate/PicoContainer.
042:         * Renamed ivata groupware.
043:         *
044:         * Revision 1.1  2004/07/13 19:47:29  colinmacleod
045:         * Moved project to POJOs from EJBs.
046:         * Applied PicoContainer to services layer (replacing session EJBs).
047:         * Applied Hibernate to persistence layer (replacing entity EJBs).
048:         *
049:         * Revision 1.3  2004/03/21 21:16:29  colinmacleod
050:         * Shortened name to ivata op.
051:         *
052:         * Revision 1.2  2004/02/01 22:07:31  colinmacleod
053:         * Added full names to author tags
054:         *
055:         * Revision 1.1.1.1  2004/01/27 20:58:40  colinmacleod
056:         * Moved ivata openportal to SourceForge..
057:         *
058:         * Revision 1.5  2003/11/03 11:29:44  jano
059:         * commiting library,
060:         * tryinjg to fix deploying problem
061:         *
062:         * Revision 1.4  2003/10/28 13:16:14  jano
063:         * commiting library,
064:         * still fixing compile and building openGroupware project
065:         *
066:         * Revision 1.3  2003/10/15 14:21:49  jano
067:         * converting to XDoclet
068:         *
069:         * Revision 1.2  2003/10/15 14:16:53  colin
070:         * fixing for XDoclet
071:         *
072:         * Revision 1.3  2003/05/01 12:13:22  jano
073:         * tidy up names of sequeneces
074:         *
075:         * Revision 1.2  2003/02/25 14:38:13  colin
076:         * implemented setModified methods on entity beans thro IvataEntityBean superclass
077:         *
078:         * Revision 1.1  2003/02/24 19:09:22  colin
079:         * moved to business
080:         *
081:         * Revision 1.5  2003/02/04 17:43:47  colin
082:         * copyright notice
083:         *
084:         * Revision 1.4  2002/08/11 11:35:07  colin
085:         * cosmetic changes
086:         *
087:         * Revision 1.3  2002/07/04 12:29:28  jano
088:         * i put readonly script to CVS and i will commit all SRC directory
089:         *
090:         * Revision 1.2  2002/07/02 14:56:55  colin
091:         * tried to fix jbuilder EJB designer
092:         *
093:         * Revision 1.1  2002/06/18 11:40:13  colin
094:         * first version of library
095:         * -----------------------------------------------------------------------------
096:         */
097:        package com.ivata.groupware.business.library.page;
098:
099:        import com.ivata.groupware.container.persistence.BaseDO;
100:
101:        /**
102:         * <p>Represents a page of text within the library. Items with the following
103:         * types can have pages associated with them:<br/>
104:         * <ul>
105:         *   <li>document</li>
106:         *   <li>memo</li>
107:         *   <li>news item</li>
108:         *   <li>meeting agenda/minutes</li>
109:         * </ul></p>
110:         *
111:         * @since 2002-06-14
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="library_page"
118:         */
119:        public class PageDO extends BaseDO {
120:
121:            /**
122:             * <p>Get the page number of this page within the library item. The first
123:             * page in the item will have the number <code>0</code>.</p>
124:             *
125:             * @return an <code>Integer</code> beginning with 0 describing the
126:             *   page's significance within it's library item. Lower numbers have higher
127:             *   significance.
128:             */
129:            private Integer number;
130:
131:            /**
132:             * <p>
133:             * Contains the contents of the page.
134:             * </p>
135:             */
136:            private String text;
137:
138:            /**
139:             * <p>Get the page number of this page within the library item. The first
140:             * page in the item will have the number <code>0</code>.</p>
141:             *
142:             * @return an <code>Integer</code> beginning with 0 describing the
143:             *   page's significance within it's library item. Lower numbers have higher
144:             *   significance.
145:             * @hibernate.property
146:             */
147:            public final Integer getNumber() {
148:                return number;
149:            }
150:
151:            /**
152:             * <p>
153:             * Contains the contents of the page.
154:             * </p>
155:             *
156:             * @return Human-readable, clear text contents of the page.
157:             * @hibernate.property
158:             */
159:            public final String getText() {
160:                return text;
161:            }
162:
163:            /**
164:             * <p>Set the page number of this page within the library item. The first
165:             * page in the item will have the number <code>0</code>.</p>
166:             *
167:             * @param number An <code>Integer</code> beginning with 0 describing the
168:             *   page's significance within it's library item. Lower numbers have higher
169:             *   significance.
170:             */
171:            public final void setNumber(final Integer number) {
172:                this .number = number;
173:            }
174:
175:            /**
176:             * <p>
177:             * Contains the contents of the page.
178:             * </p>
179:             *
180:             * @param text Human-readable, clear text contents of the page.
181:             */
182:            public final void setText(final String text) {
183:                this.text = text;
184:            }
185:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.