Class Animal
- java.lang.Object
-
- org.hibernate.testing.orm.domain.animal.Animal
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOffspring(Animal offspring)
float
getBodyWeight()
java.lang.String
getDescription()
Animal
getFather()
java.lang.Long
getId()
Animal
getMother()
java.util.Set<Human>
getOffspring()
java.lang.String
getSerialNumber()
Zoo
getZoo()
void
setBodyWeight(float bodyWeight)
void
setDescription(java.lang.String description)
void
setFather(Animal father)
void
setId(java.lang.Long id)
void
setMother(Animal mother)
void
setOffspring(java.util.Set offspring)
void
setSerialNumber(java.lang.String serialNumber)
void
setZoo(Zoo zoo)
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getBodyWeight
public float getBodyWeight()
-
setBodyWeight
public void setBodyWeight(float bodyWeight)
-
getSerialNumber
public java.lang.String getSerialNumber()
-
setSerialNumber
public void setSerialNumber(java.lang.String serialNumber)
-
getZoo
public Zoo getZoo()
-
setZoo
public void setZoo(Zoo zoo)
-
getMother
public Animal getMother()
-
setMother
public void setMother(Animal mother)
-
getFather
public Animal getFather()
-
setFather
public void setFather(Animal father)
-
getOffspring
public java.util.Set<Human> getOffspring()
-
addOffspring
public void addOffspring(Animal offspring)
-
setOffspring
public void setOffspring(java.util.Set offspring)
-
-