KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > forum > hibernate > CategoryImpl


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.communication.forum.hibernate;
6
7 import java.util.Date JavaDoc;
8 import org.exoplatform.services.communication.forum.Category;
9
10
11 /**
12  * Created by The eXo Platform SARL .
13  * Author : Tuan Nguyen
14  * tuan08@users.sourceforge.net
15  * Date: Jun 14, 2003
16  * Time: 1:12:22 PM
17  * @hibernate.class table="FORUM_CATEGORY"
18  */

19 public class CategoryImpl implements Category {
20   private String JavaDoc id ;
21   private String JavaDoc owner ;
22   private Date JavaDoc createdDate ;
23   private String JavaDoc modifiedBy ;
24   private Date JavaDoc modifiedDate ;
25   private String JavaDoc name ;
26   private String JavaDoc description ;
27   private int categoryOrder ;
28   
29   public CategoryImpl() {
30   }
31
32   /**
33    * @hibernate.id generator-class="assigned" unsaved-value="null"
34    ***/

35   public String JavaDoc getId() { return id ; }
36   public void setId( String JavaDoc s) { id = s ; }
37
38   /**
39    * @hibernate.property
40    **/

41   public String JavaDoc getOwner() { return owner ; }
42   public void setOwner(String JavaDoc s) { owner = s ; }
43
44   /**
45    * @hibernate.property
46    **/

47   public Date JavaDoc getCreatedDate() { return createdDate ; }
48   public void setCreatedDate(Date JavaDoc d) { createdDate = d ; }
49
50   /**
51    * @hibernate.property
52    **/

53   public String JavaDoc getModifiedBy() { return modifiedBy ; }
54   public void setModifiedBy(String JavaDoc s) { modifiedBy = s ;}
55
56   /**
57    * @hibernate.property
58    **/

59   public Date JavaDoc getModifiedDate() { return modifiedDate ; }
60   public void setModifiedDate(Date JavaDoc d) { modifiedDate = d ;}
61
62   /**
63    * @hibernate.property
64    **/

65   public String JavaDoc getCategoryName() { return name ; }
66   public void setCategoryName(String JavaDoc s) { name = s ; }
67
68   /**
69    * @hibernate.property length="65535" type="org.exoplatform.services.database.impl.TextClobType"
70    **/

71   public String JavaDoc getDescription() { return description ; }
72   public void setDescription(String JavaDoc s) { description = s; }
73   
74   /**
75    * @hibernate.property
76    **/

77   public int getCategoryOrder() { return categoryOrder ; }
78   public void setCategoryOrder(int num) { categoryOrder = num ; }
79 }
Popular Tags