KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > singleinheritance > bean > PetDAO


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.singleinheritance.bean;
8
9 import java.util.List JavaDoc;
10
11 public interface PetDAO
12 {
13    void createDog(String JavaDoc name, double weight, int bones);
14
15    void createCat(String JavaDoc name, double weight, int lives);
16
17    List JavaDoc findByWeight(double weight);
18 }
19
Popular Tags