CourseItem.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package day21ex.course;
- import java.sql.*;
- import javax.naming.*;
- import javax.ejb.*;
- import java.util.*;
- import java.rmi.RemoteException;
- import javax.naming.*;
- public class CourseItem implements java.io.Serializable {
- private String courseId;
- private String name;
- private double fee;
- public CourseItem(String courseId, String name, double fee) {
- this.courseId = courseId;
- this.fee = fee;
- this.name = name;
- }
- public String getCourseId(){
- return courseId;
- }
- public void setCourseId(String courseId){
- this.courseId=courseId;
- }
- public String getName(){
- return name;
- }
- public void setName(String name){
- this.name=name;
- }
- public double getFee(){
- return fee;
- }
- public void setFee(double fee){
- this.fee=fee;
- }
- }