KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > annotations > tableperclass > Robot


1 //$Id: Robot.java,v 1.1 2005/05/12 13:33:51 epbernard Exp $
2
package org.hibernate.test.annotations.tableperclass;
3
4 import javax.persistence.Entity;
5
6 /**
7  * @author Emmanuel Bernard
8  */

9 @Entity
10 public class Robot extends Machine {
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