org.hibernate.test.annotations.idclassgeneratedvalue
Class SimplePK

java.lang.Object
  extended by org.hibernate.test.annotations.idclassgeneratedvalue.SimplePK
All Implemented Interfaces:
Serializable

public class SimplePK
extends Object
implements Serializable

A SimplePK.

See Also:
Serialized Form

Constructor Summary
SimplePK(Long id1, Long id2)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId1()
           
 Long getId2()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePK

public SimplePK(Long id1,
                Long id2)
Method Detail

getId1

public Long getId1()

getId2

public Long getId2()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.