1   /***
2    * JFoxSOAF, Service-Oriented Application Framework
3    * 
4    * Copyright (C) www.huihoo.org
5    * 
6    * Distributable under GNU LGPL For more information, please visit:
7    * http://www.huihoo.org/jfox/jfoxsoaf
8    */
9   
10  package org.huihoo.jfox.soaf.services.persistence;
11  
12  /***
13   * JUnit test case model for IbatisServiceImpl
14   * {@link org.huihoo.jfox.soaf.services.persistence.Category).
15   * 
16   * @author <a href="clinton.begin@ibatis.com">Clinton Begin</a>
17   * @author <a href="mailto:founder_chen@yahoo.com">Peter Cheng </a>
18   * @version $Revision: 1.2 $ $Date: 2004/11/16 07:58:42 $
19   * @version Revision: 1.0
20   */
21  
22  import java.io.Serializable;
23  
24  public class Category implements Serializable {
25  
26      /* Private Fields */
27  
28      private String categoryId;
29  
30      private String name;
31  
32      private String description;
33  
34      /* JavaBeans Properties */
35  
36      public String getCategoryId() {
37          return categoryId;
38      }
39  
40      public void setCategoryId(String categoryId) {
41          this.categoryId = categoryId.trim();
42      }
43  
44      public String getName() {
45          return name;
46      }
47  
48      public void setName(String name) {
49          this.name = name;
50      }
51  
52      public String getDescription() {
53          return description;
54      }
55  
56      public void setDescription(String description) {
57          this.description = description;
58      }
59  
60      /* Public Methods */
61  
62      public String toString() {
63          return getCategoryId();
64      }
65  
66  }