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

📄 basestudent.java

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

	/**
	 * Return the value associated with the column: s_mailbox
	 */
	public java.lang.String getSMailbox () {
		return sMailbox;
	}

	/**
	 * Set the value related to the column: s_mailbox
	 * @param sMailbox the s_mailbox value
	 */
	public void setSMailbox (java.lang.String sMailbox) {
		this.sMailbox = sMailbox;
	}



	/**
	 * Return the value associated with the column: s_marriage
	 */
	public java.lang.String getSMarriage () {
		return sMarriage;
	}

	/**
	 * Set the value related to the column: s_marriage
	 * @param sMarriage the s_marriage value
	 */
	public void setSMarriage (java.lang.String sMarriage) {
		this.sMarriage = sMarriage;
	}



	/**
	 * Return the value associated with the column: s_name
	 */
	public java.lang.String getSName () {
		return sName;
	}

	/**
	 * Set the value related to the column: s_name
	 * @param sName the s_name value
	 */
	public void setSName (java.lang.String sName) {
		this.sName = sName;
	}



	/**
	 * Return the value associated with the column: s_nmd
	 */
	public java.util.Date getSNmd () {
		return sNmd;
	}

	/**
	 * Set the value related to the column: s_nmd
	 * @param sNmd the s_nmd value
	 */
	public void setSNmd (java.util.Date sNmd) {
		this.sNmd = sNmd;
	}



	/**
	 * Return the value associated with the column: s_passport
	 */
	public java.lang.String getSPassport () {
		return sPassport;
	}

	/**
	 * Set the value related to the column: s_passport
	 * @param sPassport the s_passport value
	 */
	public void setSPassport (java.lang.String sPassport) {
		this.sPassport = sPassport;
	}



	/**
	 * Return the value associated with the column: s_password
	 */
	public java.lang.String getSPassword () {
		return sPassword;
	}

	/**
	 * Set the value related to the column: s_password
	 * @param sPassword the s_password value
	 */
	public void setSPassword (java.lang.String sPassword) {
		this.sPassword = sPassword;
	}



	/**
	 * Return the value associated with the column: s_ph
	 */
	public java.lang.String getSPh () {
		return sPh;
	}

	/**
	 * Set the value related to the column: s_ph
	 * @param sPh the s_ph value
	 */
	public void setSPh (java.lang.String sPh) {
		this.sPh = sPh;
	}



	/**
	 * Return the value associated with the column: s_question
	 */
	public java.lang.String getSQuestion () {
		return sQuestion;
	}

	/**
	 * Set the value related to the column: s_question
	 * @param sQuestion the s_question value
	 */
	public void setSQuestion (java.lang.String sQuestion) {
		this.sQuestion = sQuestion;
	}



	/**
	 * Return the value associated with the column: s_speciality
	 */
	public java.lang.String getSSpeciality () {
		return sSpeciality;
	}

	/**
	 * Set the value related to the column: s_speciality
	 * @param sSpeciality the s_speciality value
	 */
	public void setSSpeciality (java.lang.String sSpeciality) {
		this.sSpeciality = sSpeciality;
	}



	/**
	 * Return the value associated with the column: s_sso
	 */
	public java.lang.String getSSso () {
		return sSso;
	}

	/**
	 * Set the value related to the column: s_sso
	 * @param sSso the s_sso value
	 */
	public void setSSso (java.lang.String sSso) {
		this.sSso = sSso;
	}



	/**
	 * Return the value associated with the column: s_stime
	 */
	public java.util.Date getSStime () {
		return sStime;
	}

	/**
	 * Set the value related to the column: s_stime
	 * @param sStime the s_stime value
	 */
	public void setSStime (java.util.Date sStime) {
		this.sStime = sStime;
	}



	/**
	 * Return the value associated with the column: s_warkdo
	 */
	public java.lang.String getSWarkdo () {
		return sWarkdo;
	}

	/**
	 * Set the value related to the column: s_warkdo
	 * @param sWarkdo the s_warkdo value
	 */
	public void setSWarkdo (java.lang.String sWarkdo) {
		this.sWarkdo = sWarkdo;
	}



	/**
	 * Return the value associated with the column: s_yph
	 */
	public java.lang.String getSYph () {
		return sYph;
	}

	/**
	 * Set the value related to the column: s_yph
	 * @param sYph the s_yph value
	 */
	public void setSYph (java.lang.String sYph) {
		this.sYph = sYph;
	}



	/**
	 * Return the value associated with the column: s_zzid
	 */
	public java.lang.String getSZzid () {
		return sZzid;
	}

	/**
	 * Set the value related to the column: s_zzid
	 * @param sZzid the s_zzid value
	 */
	public void setSZzid (java.lang.String sZzid) {
		this.sZzid = sZzid;
	}



	/**
	 * Return the value associated with the column: s_classid
	 */
	public cn.hope.front.pojo.SClass getSClass () {
		return sClass;
	}

	/**
	 * Set the value related to the column: s_classid
	 * @param sClass the s_classid value
	 */
	public void setSClass (cn.hope.front.pojo.SClass sClass) {
		this.sClass = sClass;
	}



	/**
	 * Return the value associated with the column: sc_id
	 */
	public cn.hope.front.pojo.SCity getSCity () {
		return sCity;
	}

	/**
	 * Set the value related to the column: sc_id
	 * @param sCity the sc_id value
	 */
	public void setSCity (cn.hope.front.pojo.SCity sCity) {
		this.sCity = sCity;
	}



	/**
	 * 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.front.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.front.pojo.CRefourm cRefourm) {
		if (null == getCRefourms()) setCRefourms(new java.util.HashSet());
		getCRefourms().add(cRefourm);
	}



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

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

	public void addToSBlogs (cn.hope.front.pojo.SBlog sBlog) {
		if (null == getSBlogs()) setSBlogs(new java.util.HashSet());
		getSBlogs().add(sBlog);
	}



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

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

	public void addToSGrades (cn.hope.front.pojo.SGrade sGrade) {
		if (null == getSGrades()) setSGrades(new java.util.HashSet());
		getSGrades().add(sGrade);
	}



	/**
	 * 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.front.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.front.pojo.SReblog sReblog) {
		if (null == getSReblogs()) setSReblogs(new java.util.HashSet());
		getSReblogs().add(sReblog);
	}



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

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

	public void addToSRehws (cn.hope.front.pojo.SRehw sRehw) {
		if (null == getSRehws()) setSRehws(new java.util.HashSet());
		getSRehws().add(sRehw);
	}



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

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

	public void addToSResults (cn.hope.front.pojo.SResult sResult) {
		if (null == getSResults()) setSResults(new java.util.HashSet());
		getSResults().add(sResult);
	}



	/**
	 * 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.front.pojo.TAresult tAresult) {
		if (null == getTAresults()) setTAresults(new java.util.HashSet());
		getTAresults().add(tAresult);
	}



	/**
	 * 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.front.pojo.TReblog tReblog) {
		if (null == getTReblogs()) setTReblogs(new java.util.HashSet());
		getTReblogs().add(tReblog);
	}





	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof cn.hope.front.pojo.Student)) return false;
		else {
			cn.hope.front.pojo.Student student = (cn.hope.front.pojo.Student) obj;
			if (null == this.getSUsername() || null == student.getSUsername()) return false;
			else return (this.getSUsername().equals(student.getSUsername()));
		}
	}

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


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


}

⌨️ 快捷键说明

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