KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javabb > vo > Category


1 package org.javabb.vo;
2
3 import java.io.Serializable JavaDoc;
4 import java.util.List JavaDoc;
5
6 /*
7  * Copyright 2004 JavaFree.org
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */

21
22 /**
23  * $Id: Category.java,v 1.6.8.2 2006/04/17 17:46:56 daltoncamargo Exp $
24  */

25 /**
26  * This class define a category of forums
27  * @author Dalton Camargo - <a HREF="mailto:dalton@javabb.org">dalton@javabb.org </a> <br>
28  * @author Ronald Tetsuo Miura
29  */

30 public class Category extends VOObject implements Serializable JavaDoc {
31
32     /** not nullable persistent field */
33     private String JavaDoc nameCategory;
34
35     /** not nullable persistent field */
36     private Integer JavaDoc catOrder;
37
38     /** persistent field * */
39     private List JavaDoc foruns;
40
41     /**
42      * @return Returns the idCategory.
43      */

44     public Long JavaDoc getIdCategory() {
45         return getId();
46     }
47
48     /**
49      * @param id The idCategory to set.
50      */

51     public void setIdCategory(Long JavaDoc id) {
52         setId(id);
53     }
54
55     /**
56      * @return Returns the nameCategory.
57      */

58     public String JavaDoc getNameCategory() {
59         return nameCategory;
60     }
61
62     /**
63      * @param nameCategory The nameCategory to set.
64      */

65     public void setNameCategory(String JavaDoc nameCategory) {
66         this.nameCategory = nameCategory;
67     }
68
69     /**
70      * @return Returns the foruns.
71      */

72     public List JavaDoc getForuns() {
73         return foruns;
74     }
75
76     /**
77      * @param foruns The foruns to set.
78      */

79     public void setForuns(List JavaDoc foruns) {
80         this.foruns = foruns;
81     }
82
83     /**
84      * @return Returns the catOrder.
85      */

86     public Integer JavaDoc getCatOrder() {
87         return catOrder;
88     }
89
90     /**
91      * @param catOrder The catOrder to set.
92      */

93     public void setCatOrder(Integer JavaDoc catOrder) {
94         this.catOrder = catOrder;
95     }
96 }
97
Popular Tags