KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > dom4j > CarType


1 package org.hibernate.test.dom4j;
2
3 /**
4  * @author Paco Hernández
5  */

6 public class CarType implements java.io.Serializable JavaDoc {
7
8     private long id;
9     private String JavaDoc typeName;
10
11     /**
12      * @return Returns the id.
13      */

14     public long getId() {
15         return id;
16     }
17     /**
18      * @param id The id to set.
19      */

20     public void setId(long id) {
21         this.id = id;
22     }
23     /**
24      * @return Returns the typeName.
25      */

26     public String JavaDoc getTypeName() {
27         return typeName;
28     }
29     /**
30      * @param typeName The typeName to set.
31      */

32     public void setTypeName(String JavaDoc typeName) {
33         this.typeName = typeName;
34     }
35 }
36
Popular Tags