org.objectweb.jonas.jtests.beans.relation.s1pkcomp
Class PK

java.lang.Object
  |
  +--org.objectweb.jonas.jtests.beans.relation.s1pkcomp.PK
All Implemented Interfaces:
java.io.Serializable

public class PK
extends java.lang.Object
implements java.io.Serializable

Author:
J.Camilleri Contributors: - H.Joanin
See Also:
Serialized Form

Field Summary
 java.lang.String id1
           
 int id2
           
 
Constructor Summary
PK()
           
PK(java.lang.String id1, int id2)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id1

public java.lang.String id1

id2

public int id2
Constructor Detail

PK

public PK()

PK

public PK(java.lang.String id1,
          int id2)
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object