KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > Fo


1 //$Id: Fo.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.io.Serializable JavaDoc;
5
6 public final class Fo {
7     
8     public static Fo newFo() {
9         return new Fo();
10     }
11     
12     private Fo() {}
13     
14     private byte[] buf;
15     private Serializable JavaDoc serial;
16     private long version;
17     private int x;
18     
19     public int getX() {
20         return x;
21     }
22     public void setX(int x) {
23         this.x = x;
24     }
25     
26     public byte[] getBuf() {
27         return buf;
28     }
29     
30     
31     public Serializable JavaDoc getSerial() {
32         return serial;
33     }
34     
35     
36     public void setBuf(byte[] buf) {
37         this.buf = buf;
38     }
39     
40     
41     public void setSerial(Serializable JavaDoc serial) {
42         this.serial = serial;
43     }
44     
45     public long getVersion() {
46         return version;
47     }
48     
49     public void setVersion(long version) {
50         this.version = version;
51     }
52     
53 }
54
55
56
57
58
59
60
61
Popular Tags