org.hibernate.test.annotations.manytoone
Class Parent

java.lang.Object
  extended by org.hibernate.test.annotations.manytoone.Parent
All Implemented Interfaces:
Serializable

@Entity
public class Parent
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 int age
           
 ParentPk id
           
 
Constructor Summary
Parent()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public ParentPk id

age

public int age
Constructor Detail

Parent

public Parent()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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