exam-master/src/org/mmxbb/exam/business/program/RandomDistributeExamPaperForm.java
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package org.mmxbb.exam.business.program;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class RandomDistributeExamPaperForm extends ActionForm {
//information of examinee
private String address;
private String email;
private String examinee_id;
private String password;
private String name;
private String operation;
private String organization_id;
private String phone;
private String remark;
private String sex;
private String state;
private String action;
private String education_index;
private String post_index;
private String age;
private String pagestr;
private int page;
private String[] examineeList;
//information of examinationPaper
private long e_id;
private String e_type;
private String e_name;
private String e_begin;
private String e_end;
private String e_state;
private String[] examinationPaperList;
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
ActionErrors errors = new ActionErrors();
if((this.examineeList == null)||(this.examinationPaperList == null)){
errors.add("error.nullExamineeOrExaminationPaper",new ActionError("error.nullExamineeOrExaminationPaper"));
}
/**@todo: finish this method, this is just the skeleton.*/
return errors;
}
public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
this.examineeList = null;
this.examinationPaperList = null;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public void setAddress(String address) {
this.address = address;
}
public String getAddress() {
return address;
}
public String getAge() {
return age;
后面还有 137 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。