org.hibernate.test.annotations.referencedcolumnname
Class Inhabitant

java.lang.Object
  extended by org.hibernate.test.annotations.referencedcolumnname.Inhabitant
All Implemented Interfaces:
Serializable

@Entity
public class Inhabitant
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Inhabitant()
           
 
Method Summary
 boolean equals(Object o)
           
 Integer getId()
           
 Set<House> getLivesIn()
           
 String getName()
           
 int hashCode()
           
 void setId(Integer id)
           
 void setLivesIn(Set<House> livesIn)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inhabitant

public Inhabitant()
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getName

public String getName()

setName

public void setName(String name)

getLivesIn

public Set<House> getLivesIn()

setLivesIn

public void setLivesIn(Set<House> livesIn)

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.