org.hibernate.test.annotations.referencedcolumnname
Class Inhabitant
java.lang.Object
org.hibernate.test.annotations.referencedcolumnname.Inhabitant
- All Implemented Interfaces:
- Serializable
@Entity
public class Inhabitant
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Inhabitant
public Inhabitant()
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.