KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > retest > ref > ejb > interfaces > SimpleCMPPK


1 /*
2  * Generated file - Do not edit!
3  */

4 package xdoclet.retest.ref.ejb.interfaces;
5
6 import java.lang.*;
7 import javax.ejb.EntityBean JavaDoc;
8
9 /**
10  * Primary key for simple/SimpleCMP.
11  * @xdoclet-generated at 05-mars-02 22:51:01
12  */

13 public class SimpleCMPPK
14    extends Object JavaDoc
15    implements java.io.Serializable JavaDoc
16 {
17    transient private int _hashCode = 0;
18    transient private String JavaDoc value = null;
19
20    public SimpleCMPPK()
21    {
22    }
23
24    public int hashCode()
25    {
26       if( _hashCode == 0 )
27       {
28       }
29
30       return _hashCode;
31    }
32
33    public boolean equals(Object JavaDoc obj)
34    {
35       if( !(obj instanceof SimpleCMPPK) )
36          return false;
37
38       SimpleCMPPK pk = (SimpleCMPPK)obj;
39       boolean eq = true;
40
41       if( obj == null )
42       {
43          eq = false;
44       }
45       else
46       {
47       }
48
49       return eq;
50    }
51
52    public String JavaDoc toString()
53    {
54       if( value == null )
55       {
56          value = "[.";
57          value += "]";
58       }
59
60       return value;
61    }
62 }
63
Popular Tags