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

java.lang.Object
  extended by org.apache.openejb.test.entity.cmr.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.String field2
           
 
Constructor Summary
CompoundPK()
           
CompoundPK(java.lang.Integer field1, java.lang.String field2)
           
 
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

field1

public java.lang.Integer field1

field2

public java.lang.String field2
Constructor Detail

CompoundPK

public CompoundPK()

CompoundPK

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