org.hibernate.test.hql
Class Animal

java.lang.Object
  extended by org.hibernate.test.hql.Animal
Direct Known Subclasses:
Mammal, Reptile

public class Animal
extends Object


Constructor Summary
Animal()
           
Animal(String description, float bodyWeight)
           
 
Method Summary
 void addOffspring(Animal offspring)
           
 float getBodyWeight()
           
 String getDescription()
           
 Animal getFather()
           
 Long getId()
           
 Animal getMother()
           
 Set getOffspring()
           
 String getSerialNumber()
           
 Zoo getZoo()
           
 void setBodyWeight(float bodyWeight)
           
 void setDescription(String description)
           
 void setFather(Animal father)
           
 void setId(Long id)
           
 void setMother(Animal mother)
           
 void setOffspring(Set offspring)
           
 void setSerialNumber(String serialNumber)
           
 void setZoo(Zoo zoo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Animal

public Animal()

Animal

public Animal(String description,
              float bodyWeight)
Method Detail

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.