?? word.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 + -