KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > connections > Silly


1 // $Id: Silly.java,v 1.1 2005/05/12 17:35:35 steveebersole Exp $
2
package org.hibernate.test.connections;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * Implementation of Silly.
8  *
9  * @author Steve Ebersole
10  */

11 public class Silly implements Serializable JavaDoc {
12     private Long JavaDoc id;
13     private String JavaDoc name;
14
15     public Silly() {
16     }
17
18     public Silly(String JavaDoc name) {
19         this.name = name;
20     }
21
22     public Long JavaDoc getId() {
23         return id;
24     }
25
26     public void setId(Long JavaDoc id) {
27         this.id = id;
28     }
29
30     public String JavaDoc getName() {
31         return name;
32     }
33
34     public void setName(String JavaDoc name) {
35         this.name = name;
36     }
37 }
38
Popular Tags