KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > za > org > coefficient > core > ProjectAttributeData


1 /*
2  * Coefficient - facilitates project based collaboration
3  * Copyright (C) 2003, Dylan Etkin, CSIR icomtek
4  * PO Box 395
5  * Pretoria 0001, RSA
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */

19
20 package za.org.coefficient.core;
21
22
23 /**
24  * Title: Project Engine
25  * Description:
26  * Copyright: Copyright (c) 2003
27  * Company: icomtek CSIR
28  * @author Krishendran Rangappa
29  * @version 1.0
30  * @hibernate.class
31  * table="COEFFICIENT_ATTRIBUTE_DATA"
32  */

33 public class ProjectAttributeData implements java.io.Serializable JavaDoc {
34     //~ Instance fields ========================================================
35

36     private Long JavaDoc attributeId;
37     private Long JavaDoc elementId;
38     private Long JavaDoc id;
39     private String JavaDoc description;
40
41     //~ Constructors ===========================================================
42

43     public ProjectAttributeData() {
44     }
45
46     //~ Methods ================================================================
47

48     public void setAttributeId(Long JavaDoc argAttributeId) {
49         attributeId = argAttributeId;
50     }
51
52     /**
53      * @hibernate.property
54      * column="ATTRIBUTE_ID"
55      */

56     public Long JavaDoc getAttributeId() {
57         return attributeId;
58     }
59
60     public void setDescription(String JavaDoc description) {
61         this.description = description;
62     }
63
64     /**
65      * @hibernate.property
66      * column="DESCRIPTION"
67      */

68     public String JavaDoc getDescription() {
69         return description;
70     }
71
72     public void setElementId(Long JavaDoc argElementId) {
73         elementId = argElementId;
74     }
75
76     /**
77      * @hibernate.property
78      * column="ELEMENT_ID"
79      */

80     public Long JavaDoc getElementId() {
81         return elementId;
82     }
83
84     /**
85      * Sets the value of id
86      *
87      * @param argId Value to assign to this.id
88      */

89     public void setId(Long JavaDoc argId) {
90         this.id = argId;
91     }
92
93     /**
94      * Gets the value of id
95      *
96      * @return the value of id
97      * @hibernate.id
98      * generator-class="native"
99      */

100     public Long JavaDoc getId() {
101         return this.id;
102     }
103 }
104
Popular Tags