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

📄 word.java

📁 一个在线学习系统的服务端SERVLET程序
💻 JAVA
字号:
package eols.bean.course;
/**
 * Information of a word which is contained in the content
 *
 * @author Fasheng QIU
 *
 */
public class Word {

	private long categoryID;  	// Category ID
	private long courseID;		// Course ID
	private long chapterID;		// ChapterID
	private long contentID;		// The id of the content this word in
	private long id;			// The word id
	private String name;		// The word name
	private String meaning;		// The word meaning
	private String desc;		// The word description
	private String type;		// The word type, such as abj.
	private String file;		// File of the pronunciation

	public Word(){}
	public Word(long categoryID, long courseID,
			long chapterID, long contentID) {
		this.categoryID = categoryID;
		this.courseID = courseID;
		this.chapterID = chapterID;
		this.contentID = contentID;
	}
	public Word(long categoryID, long courseID,
			long chapterID, long contentID, long id) {
		this.categoryID = categoryID;
		this.courseID = courseID;
		this.chapterID = chapterID;
		this.contentID = contentID;
		this.id = id;
	}

	public long getContentID() {
		return contentID;
	}
	public void setContentID(long contentID) {
		this.contentID = contentID;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMeaning() {
		return meaning;
	}
	public void setMeaning(String meaning) {
		this.meaning = meaning;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getFile() {
		return file;
	}
	public void setFile(String file) {
		this.file = file;
	}
	/**
	 * @return the categoryID
	 */
	public long getCategoryID() {
		return categoryID;
	}
	/**
	 * @param categoryID the categoryID to set
	 */
	public void setCategoryID(long categoryID) {
		this.categoryID = categoryID;
	}
	/**
	 * @return the courseID
	 */
	public long getCourseID() {
		return courseID;
	}
	/**
	 * @param courseID the courseID to set
	 */
	public void setCourseID(long courseID) {
		this.courseID = courseID;
	}
	/**
	 * @return the chapterID
	 */
	public long getChapterID() {
		return chapterID;
	}
	/**
	 * @param chapterID the chapterID to set
	 */
	public void setChapterID(long chapterID) {
		this.chapterID = chapterID;
	}


}

⌨️ 快捷键说明

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