KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > za > org > coefficient > statistics > data > ProjectStatisticsData


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.statistics.data;
21
22 /**
23  * @hibernate.class
24  * table="COEFFICIENT_PROJECT_STATISTICS_DATA"
25  */

26 public class ProjectStatisticsData implements java.io.Serializable JavaDoc {
27     //~ Instance fields ========================================================
28

29     private Long JavaDoc id;
30     private long carryOverViewCount;
31     private long carryOverDownloadCount;
32     private long rank;
33     private long viewCount;
34     private long downloadCount;
35
36     //~ Constructors ===========================================================
37

38     public ProjectStatisticsData() {
39     }
40
41     //~ Methods ================================================================
42

43
44     /**
45      * Sets the value of carryOverViewCount
46      *
47      * @param carryOverViewCount Value to assign to this.carryOverViewCount
48      */

49     public void setCarryOverViewCount(long carryOverViewCount) {
50         this.carryOverViewCount = carryOverViewCount;
51     }
52
53     /**
54      * Gets the value of carryOverViewCount
55      *
56      * @return the value of carryOverViewCount
57      * @hibernate.property
58      * column="CARRY_OVER_VIEW_COUNT"
59      */

60     public long getCarryOverViewCount() {
61         return this.carryOverViewCount;
62     }
63
64     /**
65      * Sets the value of carryOverDownloadCount
66      *
67      * @param carryOverDownloadCount Value to assign to this.carryOverDownloadCount
68      */

69     public void setCarryOverDownloadCount(long carryOverDownloadCount) {
70         this.carryOverDownloadCount = carryOverDownloadCount;
71     }
72
73     /**
74      * Gets the value of carryOverDownloadCount
75      *
76      * @return the value of carryOverDownloadCount
77      * @hibernate.property
78      * column="CARRY_OVER_DOWNLOAD_COUNT"
79      */

80     public long getCarryOverDownloadCount() {
81         return this.carryOverDownloadCount;
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     /**
105      * Sets the value of rank
106      *
107      * @param argRank Value to assign to this.rank
108      */

109     public void setRank(long argRank) {
110         this.rank = argRank;
111     }
112
113     /**
114      * Gets the value of rank
115      *
116      * @return the value of rank
117      * @hibernate.property
118      * column="RANK"
119      */

120     public long getRank() {
121         return this.rank;
122     }
123
124     /**
125      * Sets the value of viewCount
126      *
127      * @param argViewCount Value to assign to this.viewCount
128      */

129     public void setViewCount(long argViewCount) {
130         this.viewCount = argViewCount;
131     }
132
133     /**
134      * Gets the value of viewCount
135      *
136      * @return the value of viewCount
137      * @hibernate.property
138      * column="VIEW_COUNT"
139      */

140     public long getViewCount() {
141         return this.viewCount;
142     }
143
144     /**
145      * Sets the value of downloadCount
146      *
147      * @param argDownloadCount Value to assign to this.downloadCount
148      */

149     public void setDownloadCount(long argDownloadCount) {
150         this.downloadCount = argDownloadCount;
151     }
152
153     /**
154      * Gets the value of downloadCount
155      *
156      * @return the value of downloadCount
157      * @hibernate.property
158      * column="DOWNLOAD_COUNT"
159      */

160     public long getDownloadCount() {
161         return this.downloadCount;
162     }
163
164 }
165
Popular Tags