KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > formulajoin > Master


1 //$Id: Master.java,v 1.1 2004/09/26 11:42:47 oneovthafew Exp $
2
package org.hibernate.test.formulajoin;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

9 public class Master implements Serializable JavaDoc {
10     private Long JavaDoc id;
11     private String JavaDoc name;
12     private Detail detail;
13     public Detail getDetail() {
14         return detail;
15     }
16     public void setDetail(Detail detail) {
17         this.detail = detail;
18     }
19     public Long JavaDoc getId() {
20         return id;
21     }
22     public void setId(Long JavaDoc id) {
23         this.id = id;
24     }
25     public String JavaDoc getName() {
26         return name;
27     }
28     public void setName(String JavaDoc name) {
29         this.name = name;
30     }
31 }
32
Popular Tags