KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Detail.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 Detail implements Serializable JavaDoc {
10     private Long JavaDoc id;
11     private Master master;
12     private int version;
13     private String JavaDoc details;
14     private boolean currentVersion;
15     
16     public boolean isCurrentVersion() {
17         return currentVersion;
18     }
19     public void setCurrentVersion(boolean currentVersion) {
20         this.currentVersion = currentVersion;
21     }
22     public String JavaDoc getDetails() {
23         return details;
24     }
25     public void setDetails(String JavaDoc details) {
26         this.details = details;
27     }
28     public Long JavaDoc getId() {
29         return id;
30     }
31     public void setId(Long JavaDoc id) {
32         this.id = id;
33     }
34     public Master getMaster() {
35         return master;
36     }
37     public void setMaster(Master master) {
38         this.master = master;
39     }
40     public int getVersion() {
41         return version;
42     }
43     public void setVersion(int version) {
44         this.version = version;
45     }
46 }
47
Popular Tags