org.apache.openejb.test.entity.cmr.cmrmapping
Class CompoundPK

java.lang.Object
  extended by org.apache.openejb.test.entity.cmr.cmrmapping.CompoundPK
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $
See Also:
Serialized Form

Field Summary
 java.lang.Integer field1
           
 java.lang.Integer id
           
 
Constructor Summary
CompoundPK()
           
CompoundPK(java.lang.Integer id, java.lang.Integer field1)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.Integer id

field1

public java.lang.Integer field1
Constructor Detail

CompoundPK

public CompoundPK()

CompoundPK

public CompoundPK(java.lang.Integer id,
                  java.lang.Integer field1)
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


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.