⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classesform.java

📁 本系统是用struts编写的高校学生选课和成绩管理系统
💻 JAVA
字号:
package com.stuman.web.struts.form;

import java.util.HashSet;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import com.stuman.domain.Course;
import com.stuman.domain.Teacher;

/**
 * MyEclipse Struts Creation date: 04-08-2006
 * 
 * XDoclet definition:
 * 
 * @struts.form name="TeacherForm"
 */
public class ClassesForm extends ActionForm {

	// Fields

	private static final long serialVersionUID = 3773631281232656300L;

	private String id;

	private Teacher teacher;

	private Course course;

	private String roomId;

	private String courTime;

	private Set enrols = new HashSet(0);

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {

		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {

		// TODO Auto-generated method stub
	}

	// Constructors

	/** default constructor */
	/** default constructor */
	public ClassesForm() {
	}

	/** full constructor */
	public ClassesForm(Teacher teacher, Course course, String roomId,
			String courTime, Set enrols) {
		this.teacher = teacher;
		this.course = course;
		this.roomId = roomId;
		this.courTime = courTime;
		this.enrols = enrols;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Course getCourse() {
		return this.course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public String getRoomId() {
		return this.roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getCourTime() {
		return this.courTime;
	}

	public void setCourTime(String courTime) {
		this.courTime = courTime;
	}

	public Set getEnrols() {
		return this.enrols;
	}

	public void setEnrols(Set enrols) {
		this.enrols = enrols;
	}

}

⌨️ 快捷键说明

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