localplayerhome.java

来自「卡内基梅隆大学软件工程课件,很全面」· Java 代码 · 共 55 行

JAVA
55
字号
/* * * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. *  * This software is the proprietary information of Sun Microsystems, Inc.   * Use is subject to license terms. * */package team;import java.util.*;import javax.ejb.*;public interface LocalPlayerHome extends EJBLocalHome {        public LocalPlayer create (String id, String name, String position,        double salary)        throws CreateException;        public LocalPlayer findByPrimaryKey (String id)        throws FinderException;        public Collection findByPosition(String position)         throws FinderException;    public Collection findByHigherSalary(String name)         throws FinderException;    public Collection findBySalaryRange(double low, double high)         throws FinderException;    public Collection findByLeague(LocalLeague league)         throws FinderException;    public Collection findBySport(String sport)         throws FinderException;    public Collection findByCity(String city)         throws FinderException;    public Collection findAll()         throws FinderException;    public Collection findNotOnTeam()         throws FinderException;    public Collection findByPositionAndName(String position,         String name) throws FinderException;    public Collection findByTest (String parm1, String parm2, String parm3)        throws FinderException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?