KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > annotations > entity > Country


1 //$Id: Country.java,v 1.2 2005/06/27 17:02:08 epbernard Exp $
2
package org.hibernate.test.annotations.entity;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * Serializable object to be serialized in DB as is
8  * @author Emmanuel Bernard
9  */

10 public class Country implements Serializable JavaDoc {
11     private String JavaDoc name;
12
13     public String JavaDoc getName() {
14         return name;
15     }
16
17     public void setName(String JavaDoc name) {
18         this.name = name;
19     }
20 }
21
Popular Tags