Class Mammal
- java.lang.Object
- org.hibernate.testing.orm.domain.animal.Animal
- org.hibernate.testing.orm.domain.animal.Mammal
- Direct Known Subclasses:
DomesticAnimal,Human
@Entitypublic classMammalextendsAnimal
Constructor Summary
Constructors Constructor Description Mammal()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DategetBirthdate()inthashCode()booleanisPregnant()voidsetBirthdate(Date birthdate)voidsetPregnant(boolean pregnant)Methods inherited from class org.hibernate.testing.orm.domain.animal.Animal
addOffspring,getBodyWeight,getDescription,getFather,getId,getMother,getOffspring,getSerialNumber,getZoo,setBodyWeight,setDescription,setFather,setId,setMother,setOffspring,setSerialNumber,setZoo