KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > annotations > IncorrectEntity


1 //$Id: IncorrectEntity.java,v 1.1 2005/06/09 18:34:52 epbernard Exp $
2
package org.hibernate.test.annotations;
3
4 import javax.persistence.Entity;
5
6 /**
7  * @author Emmanuel Bernard
8  */

9 @Entity
10 public class IncorrectEntity {
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