org.jboss.tutorial.singleinheritance.bean
Class PetDAOBean

java.lang.Object
  extended by org.jboss.tutorial.singleinheritance.bean.PetDAOBean
All Implemented Interfaces:
PetDAO

public class PetDAOBean
extends java.lang.Object
implements PetDAO


Constructor Summary
PetDAOBean()
           
 
Method Summary
 void createCat(java.lang.String name, double weight, int lives)
           
 void createDog(java.lang.String name, double weight, int bones)
           
 java.util.List findByWeight(double weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PetDAOBean

public PetDAOBean()
Method Detail

createDog

public void createDog(java.lang.String name,
                      double weight,
                      int bones)
Specified by:
createDog in interface PetDAO

createCat

public void createCat(java.lang.String name,
                      double weight,
                      int lives)
Specified by:
createCat in interface PetDAO

findByWeight

public java.util.List findByWeight(double weight)
Specified by:
findByWeight in interface PetDAO