KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > business > addressbook > person > group > right > detail > RightDetailDO


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: RightDetailDO.java,v $
31  * Revision 1.3 2005/04/10 20:09:36 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:08 colinmacleod
38  * Changed copyright text to GPL v2 explicitly.
39  *
40  * Revision 1.1.1.1 2005/03/10 17:50:35 colinmacleod
41  * Restructured ivata op around Hibernate/PicoContainer.
42  * Renamed ivata groupware.
43  *
44  * Revision 1.1 2004/07/13 19:41:14 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:06 colinmacleod
50  * Shortened name to ivata op.
51  *
52  * Revision 1.2 2004/02/01 22:00:32 colinmacleod
53  * Added full names to author tags
54  *
55  * Revision 1.1.1.1 2004/01/27 20:57:51 colinmacleod
56  * Moved ivata openportal to SourceForge..
57  *
58  * Revision 1.5 2003/11/03 11:28:24 jano
59  * commiting addressbook,
60  * tryinjg to fix deploying problem
61  *
62  * Revision 1.4 2003/10/17 12:36:12 jano
63  * fixing problems with building
64  * converting intranet -> portal
65  * Eclipse building
66  *
67  * Revision 1.3 2003/10/15 13:46:12 jano
68  * converting to XDoclet
69  *
70  * Revision 1.2 2003/10/15 13:18:02 colin
71  * fixing for XDoclet
72  *
73  * Revision 1.3 2003/05/01 12:13:22 jano
74  * tidy up names of sequeneces
75  *
76  * Revision 1.2 2003/02/25 14:38:13 colin
77  * implemented setModified methods on entity beans thro IvataEntityBean superclass
78  *
79  * Revision 1.1 2003/02/24 19:09:21 colin
80  * moved to business
81  *
82  * Revision 1.5 2003/02/04 17:43:45 colin
83  * copyright notice
84  *
85  * Revision 1.4 2002/09/26 09:54:27 jano
86  * name of sequence
87  *
88  * Revision 1.3 2002/07/04 12:29:28 jano
89  * i put readonly script to CVS and i will commit all SRC directory
90  *
91  * Revision 1.2 2002/06/17 07:29:07 colin
92  * improved and extended javadoc documentation
93  * -----------------------------------------------------------------------------
94  */

95 package com.ivata.groupware.business.addressbook.person.group.right.detail;
96
97 import com.ivata.groupware.container.persistence.BaseDO;
98
99
100 /**
101  * <p>Represents details a right for group of people to do something. This
102  * class provides detail explaining in clear text what the right allows.</p>
103  *
104  * @since 2002-05-15
105  * @author Colin MacLeod
106  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
107  * @version $Revision: 1.3 $
108  * @see com.ivata.groupware.adddressbook.person.group.right.RightBean
109  *
110  * @hibernate.class
111  * table="person_group_right_detail"
112  * @hibernate.cache
113  * usage="read-write"
114  */

115 public class RightDetailDO extends BaseDO {
116
117     /**
118      * <p>Full and detailed description of the entitlements the right
119      * offers.</p>
120      */

121     private String JavaDoc description;
122     /**
123      * <p>Name of the right is a clear-text field which uniquely which
124      * identifies what it is the group will be allowed to do. This name can
125      * include spaces.</p>
126      */

127     private String JavaDoc name;
128     /**
129      * <p>Get full and detailed description of the entitlements the right
130      * offers.</p>
131      *
132      * @return full and detailed description of the entitlements the right
133      * offers.
134      * @hibernate.property
135      */

136     public final String JavaDoc getDescription() {
137         return description;
138     }
139     /**
140      * <p>Get the name of the right is a clear-text field which uniquely which
141      * identifies what it is the group will be allowed to do. This name can
142      * include spaces.</p>
143      *
144      * @return clear text name of the right, possibly including spaces.
145      * @hibernate.property
146      */

147     public final String JavaDoc getName() {
148         return name;
149     }
150
151     /**
152      * <p>Set full and detailed description of the entitlements the right offers.</p>
153      *
154      * @param description full and detailed description of the entitlements the
155      * right offers.
156      */

157     public final void setDescription(final String JavaDoc description) {
158         this.description = description;
159     }
160
161     /**
162      * <p>Set the name of the right is a clear-text field which uniquely which identifies what it is the group will be allowed to do. This name can include spaces.</p>
163      *
164      * @param name clear text name of the right, possibly including spaces.
165      */

166     public final void setName(final String JavaDoc name) {
167         this.name = name;
168     }
169 }
170
Popular Tags