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

📄 ttest.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
字号:
package cn.hope.mana.pojo;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class TTest implements Serializable {

    /** identifier field */
    private Integer TId1;

    /** persistent field */
    private String flag;

    /** persistent field */
    private int TQuestionspoint;

    /** nullable persistent field */
    private cn.hope.mana.pojo.TTestInfo TTestInfo;

    /** nullable persistent field */
    private cn.hope.mana.pojo.TQuestion TQuestion;

    /** persistent field */
    private Set SResults;

    /** full constructor */
    public TTest(String flag, int TQuestionspoint, cn.hope.mana.pojo.TTestInfo TTestInfo, cn.hope.mana.pojo.TQuestion TQuestion, Set SResults) {
        this.flag = flag;
        this.TQuestionspoint = TQuestionspoint;
        this.TTestInfo = TTestInfo;
        this.TQuestion = TQuestion;
        this.SResults = SResults;
    }

    /** default constructor */
    public TTest() {
    }

    /** minimal constructor */
    public TTest(String flag, int TQuestionspoint, Set SResults) {
        this.flag = flag;
        this.TQuestionspoint = TQuestionspoint;
        this.SResults = SResults;
    }

    public Integer getTId1() {
        return this.TId1;
    }

    public void setTId1(Integer TId1) {
        this.TId1 = TId1;
    }

    public String getFlag() {
        return this.flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public int getTQuestionspoint() {
        return this.TQuestionspoint;
    }

    public void setTQuestionspoint(int TQuestionspoint) {
        this.TQuestionspoint = TQuestionspoint;
    }

    public cn.hope.mana.pojo.TTestInfo getTTestInfo() {
        return this.TTestInfo;
    }

    public void setTTestInfo(cn.hope.mana.pojo.TTestInfo TTestInfo) {
        this.TTestInfo = TTestInfo;
    }

    public cn.hope.mana.pojo.TQuestion getTQuestion() {
        return this.TQuestion;
    }

    public void setTQuestion(cn.hope.mana.pojo.TQuestion TQuestion) {
        this.TQuestion = TQuestion;
    }

    public Set getSResults() {
        return this.SResults;
    }

    public void setSResults(Set SResults) {
        this.SResults = SResults;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("TId1", getTId1())
            .toString();
    }

}

⌨️ 快捷键说明

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