org.hibernate.test.annotations.indexcoll
Class Drawer

java.lang.Object
  extended by org.hibernate.test.annotations.indexcoll.Drawer

@Entity
public class Drawer
extends Object


Constructor Summary
Drawer()
           
 
Method Summary
 boolean equals(Object o)
           
 List<Dress> getDresses()
          Unidirectional one to many list
 Long getId()
           
 int hashCode()
           
 void setDresses(List<Dress> dresses)
           
 void setId(Long id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drawer

public Drawer()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getDresses

public List<Dress> getDresses()
Unidirectional one to many list

Returns:

setDresses

public void setDresses(List<Dress> dresses)

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.