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

📄 basetinfo.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
		return cDept;
	}

	/**
	 * Set the value related to the column: d_id
	 * @param cDept the d_id value
	 */
	public void setCDept (cn.hope.mana.pojo.CDept cDept) {
		this.cDept = cDept;
	}



	/**
	 * Return the value associated with the column: g_id
	 */
	public cn.hope.mana.pojo.MGroup getMGroup () {
		return mGroup;
	}

	/**
	 * Set the value related to the column: g_id
	 * @param mGroup the g_id value
	 */
	public void setMGroup (cn.hope.mana.pojo.MGroup mGroup) {
		this.mGroup = mGroup;
	}



	/**
	 * Return the value associated with the column: CFourms
	 */
	public java.util.Set getCFourms () {
		return cFourms;
	}

	/**
	 * Set the value related to the column: CFourms
	 * @param cFourms the CFourms value
	 */
	public void setCFourms (java.util.Set cFourms) {
		this.cFourms = cFourms;
	}

	public void addToCFourms (cn.hope.mana.pojo.CFourm cFourm) {
		if (null == getCFourms()) setCFourms(new java.util.HashSet());
		getCFourms().add(cFourm);
	}



	/**
	 * Return the value associated with the column: CRefourms
	 */
	public java.util.Set getCRefourms () {
		return cRefourms;
	}

	/**
	 * Set the value related to the column: CRefourms
	 * @param cRefourms the CRefourms value
	 */
	public void setCRefourms (java.util.Set cRefourms) {
		this.cRefourms = cRefourms;
	}

	public void addToCRefourms (cn.hope.mana.pojo.CRefourm cRefourm) {
		if (null == getCRefourms()) setCRefourms(new java.util.HashSet());
		getCRefourms().add(cRefourm);
	}



	/**
	 * Return the value associated with the column: MLogs
	 */
	public java.util.Set getMLogs () {
		return mLogs;
	}

	/**
	 * Set the value related to the column: MLogs
	 * @param mLogs the MLogs value
	 */
	public void setMLogs (java.util.Set mLogs) {
		this.mLogs = mLogs;
	}

	public void addToMLogs (cn.hope.mana.pojo.MLog mLog) {
		if (null == getMLogs()) setMLogs(new java.util.HashSet());
		getMLogs().add(mLog);
	}



	/**
	 * Return the value associated with the column: MNounces
	 */
	public java.util.Set getMNounces () {
		return mNounces;
	}

	/**
	 * Set the value related to the column: MNounces
	 * @param mNounces the MNounces value
	 */
	public void setMNounces (java.util.Set mNounces) {
		this.mNounces = mNounces;
	}

	public void addToMNounces (cn.hope.mana.pojo.MNounce mNounce) {
		if (null == getMNounces()) setMNounces(new java.util.HashSet());
		getMNounces().add(mNounce);
	}



	/**
	 * Return the value associated with the column: SJournals
	 */
	public java.util.Set getSJournals () {
		return sJournals;
	}

	/**
	 * Set the value related to the column: SJournals
	 * @param sJournals the SJournals value
	 */
	public void setSJournals (java.util.Set sJournals) {
		this.sJournals = sJournals;
	}

	public void addToSJournals (cn.hope.mana.pojo.SJournal sJournal) {
		if (null == getSJournals()) setSJournals(new java.util.HashSet());
		getSJournals().add(sJournal);
	}



	/**
	 * Return the value associated with the column: SReblogs
	 */
	public java.util.Set getSReblogs () {
		return sReblogs;
	}

	/**
	 * Set the value related to the column: SReblogs
	 * @param sReblogs the SReblogs value
	 */
	public void setSReblogs (java.util.Set sReblogs) {
		this.sReblogs = sReblogs;
	}

	public void addToSReblogs (cn.hope.mana.pojo.SReblog sReblog) {
		if (null == getSReblogs()) setSReblogs(new java.util.HashSet());
		getSReblogs().add(sReblog);
	}



	/**
	 * Return the value associated with the column: TAresults
	 */
	public java.util.Set getTAresults () {
		return tAresults;
	}

	/**
	 * Set the value related to the column: TAresults
	 * @param tAresults the TAresults value
	 */
	public void setTAresults (java.util.Set tAresults) {
		this.tAresults = tAresults;
	}

	public void addToTAresults (cn.hope.mana.pojo.TAresult tAresult) {
		if (null == getTAresults()) setTAresults(new java.util.HashSet());
		getTAresults().add(tAresult);
	}



	/**
	 * Return the value associated with the column: TAssesses
	 */
	public java.util.Set getTAssesses () {
		return tAssesses;
	}

	/**
	 * Set the value related to the column: TAssesses
	 * @param tAssesses the TAssesses value
	 */
	public void setTAssesses (java.util.Set tAssesses) {
		this.tAssesses = tAssesses;
	}

	public void addToTAssesses (cn.hope.mana.pojo.TAssess tAssess) {
		if (null == getTAssesses()) setTAssesses(new java.util.HashSet());
		getTAssesses().add(tAssess);
	}



	/**
	 * Return the value associated with the column: TBlogs
	 */
	public java.util.Set getTBlogs () {
		return tBlogs;
	}

	/**
	 * Set the value related to the column: TBlogs
	 * @param tBlogs the TBlogs value
	 */
	public void setTBlogs (java.util.Set tBlogs) {
		this.tBlogs = tBlogs;
	}

	public void addToTBlogs (cn.hope.mana.pojo.TBlog tBlog) {
		if (null == getTBlogs()) setTBlogs(new java.util.HashSet());
		getTBlogs().add(tBlog);
	}



	/**
	 * Return the value associated with the column: TFiles
	 */
	public java.util.Set getTFiles () {
		return tFiles;
	}

	/**
	 * Set the value related to the column: TFiles
	 * @param tFiles the TFiles value
	 */
	public void setTFiles (java.util.Set tFiles) {
		this.tFiles = tFiles;
	}

	public void addToTFiles (cn.hope.mana.pojo.TFile tFile) {
		if (null == getTFiles()) setTFiles(new java.util.HashSet());
		getTFiles().add(tFile);
	}



	/**
	 * Return the value associated with the column: THomeworks
	 */
	public java.util.Set getTHomeworks () {
		return tHomeworks;
	}

	/**
	 * Set the value related to the column: THomeworks
	 * @param tHomeworks the THomeworks value
	 */
	public void setTHomeworks (java.util.Set tHomeworks) {
		this.tHomeworks = tHomeworks;
	}

	public void addToTHomeworks (cn.hope.mana.pojo.THomework tHomework) {
		if (null == getTHomeworks()) setTHomeworks(new java.util.HashSet());
		getTHomeworks().add(tHomework);
	}



	/**
	 * Return the value associated with the column: TJournalMakers
	 */
	public java.util.Set getTJournalMakers () {
		return tJournalMakers;
	}

	/**
	 * Set the value related to the column: TJournalMakers
	 * @param tJournalMakers the TJournalMakers value
	 */
	public void setTJournalMakers (java.util.Set tJournalMakers) {
		this.tJournalMakers = tJournalMakers;
	}

	public void addToTJournalMakers (cn.hope.mana.pojo.TJournal tJournal) {
		if (null == getTJournalMakers()) setTJournalMakers(new java.util.HashSet());
		getTJournalMakers().add(tJournal);
	}



	/**
	 * Return the value associated with the column: TJournalTeachers
	 */
	public java.util.Set getTJournalTeachers () {
		return tJournalTeachers;
	}

	/**
	 * Set the value related to the column: TJournalTeachers
	 * @param tJournalTeachers the TJournalTeachers value
	 */
	public void setTJournalTeachers (java.util.Set tJournalTeachers) {
		this.tJournalTeachers = tJournalTeachers;
	}

	public void addToTJournalTeachers (cn.hope.mana.pojo.TJournal tJournal) {
		if (null == getTJournalTeachers()) setTJournalTeachers(new java.util.HashSet());
		getTJournalTeachers().add(tJournal);
	}



	/**
	 * Return the value associated with the column: TQuestions
	 */
	public java.util.Set getTQuestions () {
		return tQuestions;
	}

	/**
	 * Set the value related to the column: TQuestions
	 * @param tQuestions the TQuestions value
	 */
	public void setTQuestions (java.util.Set tQuestions) {
		this.tQuestions = tQuestions;
	}

	public void addToTQuestions (cn.hope.mana.pojo.TQuestion tQuestion) {
		if (null == getTQuestions()) setTQuestions(new java.util.HashSet());
		getTQuestions().add(tQuestion);
	}



	/**
	 * Return the value associated with the column: TReblogs
	 */
	public java.util.Set getTReblogs () {
		return tReblogs;
	}

	/**
	 * Set the value related to the column: TReblogs
	 * @param tReblogs the TReblogs value
	 */
	public void setTReblogs (java.util.Set tReblogs) {
		this.tReblogs = tReblogs;
	}

	public void addToTReblogs (cn.hope.mana.pojo.TReblog tReblog) {
		if (null == getTReblogs()) setTReblogs(new java.util.HashSet());
		getTReblogs().add(tReblog);
	}



	/**
	 * Return the value associated with the column: TServiceAnswers
	 */
	public java.util.Set getTServiceAnswers () {
		return tServiceAnswers;
	}

	/**
	 * Set the value related to the column: TServiceAnswers
	 * @param tServiceAnswers the TServiceAnswers value
	 */
	public void setTServiceAnswers (java.util.Set tServiceAnswers) {
		this.tServiceAnswers = tServiceAnswers;
	}

	public void addToTServiceAnswers (cn.hope.mana.pojo.TService tService) {
		if (null == getTServiceAnswers()) setTServiceAnswers(new java.util.HashSet());
		getTServiceAnswers().add(tService);
	}



	/**
	 * Return the value associated with the column: TServiceAsks
	 */
	public java.util.Set getTServiceAsks () {
		return tServiceAsks;
	}

	/**
	 * Set the value related to the column: TServiceAsks
	 * @param tServiceAsks the TServiceAsks value
	 */
	public void setTServiceAsks (java.util.Set tServiceAsks) {
		this.tServiceAsks = tServiceAsks;
	}

	public void addToTServiceAsks (cn.hope.mana.pojo.TService tService) {
		if (null == getTServiceAsks()) setTServiceAsks(new java.util.HashSet());
		getTServiceAsks().add(tService);
	}



	/**
	 * Return the value associated with the column: TTestInfos
	 */
	public java.util.Set getTTestInfos () {
		return tTestInfos;
	}

	/**
	 * Set the value related to the column: TTestInfos
	 * @param tTestInfos the TTestInfos value
	 */
	public void setTTestInfos (java.util.Set tTestInfos) {
		this.tTestInfos = tTestInfos;
	}

	public void addToTTestInfos (cn.hope.mana.pojo.TTestInfo tTestInfo) {
		if (null == getTTestInfos()) setTTestInfos(new java.util.HashSet());
		getTTestInfos().add(tTestInfo);
	}



	/**
	 * Return the value associated with the column: teaches
	 */
	public java.util.Set getTeaches () {
		return teaches;
	}

	/**
	 * Set the value related to the column: teaches
	 * @param teaches the teaches value
	 */
	public void setTeaches (java.util.Set teaches) {
		this.teaches = teaches;
	}

	public void addToteaches (cn.hope.mana.pojo.Teach teach) {
		if (null == getTeaches()) setTeaches(new java.util.HashSet());
		getTeaches().add(teach);
	}





	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof cn.hope.mana.pojo.TInfo)) return false;
		else {
			cn.hope.mana.pojo.TInfo tInfo = (cn.hope.mana.pojo.TInfo) obj;
			if (null == this.getTId() || null == tInfo.getTId()) return false;
			else return (this.getTId().equals(tInfo.getTId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getTId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getTId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}

⌨️ 快捷键说明

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