org.hibernate.test.hql
Class Animal
java.lang.Object
org.hibernate.test.hql.Animal
- Direct Known Subclasses:
- Mammal, Reptile
public class Animal
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Animal
public Animal()
Animal
public Animal(String description,
float bodyWeight)
getId
public Long getId()
setId
public void setId(Long id)
getBodyWeight
public float getBodyWeight()
setBodyWeight
public void setBodyWeight(float bodyWeight)
getOffspring
public Set getOffspring()
addOffspring
public void addOffspring(Animal offspring)
setOffspring
public void setOffspring(Set offspring)
getMother
public Animal getMother()
setMother
public void setMother(Animal mother)
getFather
public Animal getFather()
setFather
public void setFather(Animal father)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getZoo
public Zoo getZoo()
setZoo
public void setZoo(Zoo zoo)
getSerialNumber
public String getSerialNumber()
setSerialNumber
public void setSerialNumber(String serialNumber)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.