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

📄 selected.java

📁 java网上考试系统
💻 JAVA
字号:
/*
 * @(#)Selected.java Dec 14, 2006
 * Copyright 2006 qingdaosoftware, Inc. All rights reserved
 */
package com.qrsx.exam.model;

/**
 *  
 * 功能:The pojo about Question
 * 
 * <p><a href="com.qrsx.exam.model.Selected.java"> <i>View Source </i> </a></br>
 * 
 * Company  : QingdaoSoftware<br>
 * Author   : <a href="mailto:wxt1013@163.com">WangXitao</a></p>
 * Version  : 1.0<br>
 * Date     : Dec 14, 2006<br>
 * 
 * @hibernate.class table="SELECTED"
 * 
 */
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 + -