entityinheritancedao.java

来自「精通EJB3源码」· Java 代码 · 共 35 行

JAVA
35
字号
package com.foshanshop.ejb3;

import java.util.List;

import com.foshanshop.ejb3.bean.Camion;
import com.foshanshop.ejb3.bean.Car;
import com.foshanshop.ejb3.bean.Vehicle;

public interface EntityInheritanceDAO {
	/**
	 * 初始化数据
	 *
	 */
    public void initializeData(); 
    /**
     * 获取全部Vehicle
     * @return
     */
    public List<Vehicle> getVehicle();  
    /**
     * 获取全部Car
     * @return
     */
    public List<Car> getCar() ;
    /**
     * 获取全部Camion
     * @return
     */
    public List<Camion> getCamion();
    /**
     * 删除所有Vehicle
     *
     */
    public void deleteVehicle();
}

⌨️ 快捷键说明

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