?? selected.java
字號:
package cn.hxex.exam.model;
/**
* The pojo about Question
*
* @hibernate.class table="SELECTED"
*
* @author galaxy
*/
public class Selected extends Base implements Comparable
{
/**
* @hibernate.property column="CONTENT"
*/
public String content;
/**
* @hibernate.property column="ITEM"
*/
public String item;
/**
* @hibernate.many-to-one column="QUESTION_ID"
*/
public SelectQuestion selectquestion;
/**
* @return Returns the selectquestion.
*/
public SelectQuestion getSelectquestion()
{
return selectquestion;
}
/**
* @param selectquestion
* The selectquestion to set.
*/
public void setSelectquestion(SelectQuestion selectquestion)
{
this.selectquestion = selectquestion;
}
/**
* @return Returns the content.
*/
public String getContent()
{
return content;
}
/**
* @param content
* The content to set.
*/
public void setContent(String content)
{
this.content = content;
}
public int compareTo(Object o)
{
if (this == o)
return 0;
if (o == null)
return 1;
Selected s = (Selected) o;
return getItem().compareTo(s.getItem());
}
/**
* @return Returns the item.
*/
public String getItem()
{
return item;
}
/**
* @param item
* The item to set.
*/
public void setItem(String item)
{
this.item = item;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -