資源簡介
用DOM解析的xml制作的學生信息管理系統,能夠完成簡單的增刪查改,更好的管理學生的信息庫
代碼片段和文件信息
package?com.firewolf.domain;
import?java.io.Serializable;
/**
?*?學生類
?*?@author?liuxing
?*
?*/
public?class?Student?{
private?String?id;?//學號
private?String?name;?//姓名
private?String?sex;//性別
private?int?age;//年齡
private?double?java;//java成績
private?double?db;//數據庫成績
private?double?english;//英語成績
public?Student(String?id?String?name?String?sex?int?age?double?java
double?db?double?english)?{
this.id?=?id;
this.name?=?name;
this.sex?=?sex;
this.age?=?age;
this.java?=?java;
this.db?=?db;
this.english?=?english;
}
public?String?getId()?{
return?id;
}
public?void?setId(String?id)?{
this.id?=?id;
}
public?String?getName()?{
return?name;
}
public?void?setName(String?name)?{
this.name?=?name;
}
public?String?getSex()?{
return?sex;
}
public?void?setSex(String?sex)?{
this.sex?=?sex;
}
public?int?getAge()?{
return?age;
}
public?void?setAge(int?age)?{
this.age?=?age;
}
public?double?getJava()?{
return?java;
}
public?void?setJava(double?java)?{
this.java?=?java;
}
public?double?getDb()?{
return?db;
}
public?void?setDb(double?db)?{
this.db?=?db;
}
public?double?getEnglish()?{
return?english;
}
public?void?setEnglish(double?english)?{
this.english?=?english;
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\
?????文件?????????422??2014-03-07?12:40??StuManageSystem\.classpath
?????文件?????????391??2013-11-12?08:39??StuManageSystem\.project
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\.settings\
?????文件?????????598??2013-11-12?08:39??StuManageSystem\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\com\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\com\firewolf\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\com\firewolf\domain\
?????文件????????1858??2014-03-07?12:40??StuManageSystem\bin\com\firewolf\domain\Student.class
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\com\firewolf\service\
?????文件????????5320??2014-03-07?12:40??StuManageSystem\bin\com\firewolf\service\StuManager.class
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\com\firewolf\view\
?????文件????????3035??2014-03-07?12:40??StuManageSystem\bin\com\firewolf\view\stuView.class
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\bin\data\
?????文件?????????313??2013-11-12?09:53??StuManageSystem\bin\data\stu.dtd
?????文件?????????695??2014-03-18?23:15??StuManageSystem\bin\data\student.xm
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\lib\
?????文件??????313898??2013-11-12?09:42??StuManageSystem\lib\dom4j-1.6.1.jar
?????文件??????244330??2013-11-12?09:42??StuManageSystem\lib\jaxen-1.1-beta-6.jar
?????文件??????????31??2013-11-12?08:40??StuManageSystem\readMe.txt
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\com\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\com\firewolf\
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\com\firewolf\domain\
?????文件????????1348??2013-11-29?19:21??StuManageSystem\src\com\firewolf\domain\Student.java
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\com\firewolf\service\
?????文件????????4502??2013-11-12?19:13??StuManageSystem\src\com\firewolf\service\StuManager.java
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\com\firewolf\view\
?????文件????????2364??2013-12-10?22:38??StuManageSystem\src\com\firewolf\view\stuView.java
?????目錄???????????0??2014-03-19?16:55??StuManageSystem\src\data\
............此處省略2個文件信息
- 上一篇:cpuid.h文件
- 下一篇:半撥叉三維圖裝配圖 零件圖 夾具圖
評論
共有 條評論