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

📄 classesform.java

📁 jsp例程
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package struts;

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

import hibernate.Course;
import hibernate.Teacher;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 04-10-2007
 * 
 * XDoclet definition:
 * @struts.form name="classForm"
 */
public class ClassesForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** courTime property */
	private String courTime;

	/** roomId property */
	private String roomId;

	/** id property */
	private String id;
	private Teacher teacher;
	private Course course;
	private Set enrorls=new HashSet(0);

	/*
	 * Generated Methods
	 */

	/** 
	 * 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
	}

	/** 
	 * Returns the courTime.
	 * @return String
	 */
	public String getCourTime() {
		return courTime;
	}

	/** 
	 * Set the courTime.
	 * @param courTime The courTime to set
	 */
	public void setCourTime(String courTime) {
		this.courTime = courTime;
	}

	/** 
	 * Returns the roomId.
	 * @return String
	 */
	public String getRoomId() {
		return roomId;
	}

	/** 
	 * Set the roomId.
	 * @param roomId The roomId to set
	 */
	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	/** 
	 * Returns the id.
	 * @return String
	 */
	public String getId() {
		return id;
	}

	/** 
	 * Set the id.
	 * @param id The id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	public Course getCourse() {
		return course;
	}

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

	public Set getEnrorls() {
		return enrorls;
	}

	public void setEnrorls(Set enrorls) {
		this.enrorls = enrorls;
	}

	public Teacher getTeacher() {
		return teacher;
	}

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

⌨️ 快捷键说明

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