📄 abstracttblnews.java
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Tue Aug 23 00:11:46 CST 2005 by MyEclipse Hibernate Tool. */package com.infosys.Hibernate;import java.io.Serializable;/** * A class that represents a row in the tbl_news table. * You can customize the behavior of this class by editing the class, {@link TblNews()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractTblNews implements Serializable{ /** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */ private int hashValue = 0; /** The composite primary key value. */ private java.lang.String id; /** The value of the simple title property. */ private java.lang.String title; /** The value of the simple content property. */ private java.lang.String content; /** The value of the simple infoclass property. */ private java.lang.String infoclass="0"; /** The value of the simple pubdate property. */ private java.util.Date pubdate; /** The value of the simple pubuser property. */ private java.lang.String pubuser; /** The value of the simple infofrom property. */ private java.lang.String infofrom; /** The value of the simple vieworder property. */ private java.lang.Integer vieworder=new Integer(0); /** The value of the simple status property. */ private java.lang.Integer status; /** * Simple constructor of AbstractTblNews instances. */ public AbstractTblNews() { } /** * Constructor of AbstractTblNews instances given a simple primary key. * @param id */ public AbstractTblNews(java.lang.String id) { this.setId(id); } /** * Return the simple primary key value that identifies this object. * @return java.lang.Integer */ public java.lang.String getId() { return id; } /** * Set the simple primary key value that identifies this object. * @param id */ public void setId(java.lang.String id) { this.hashValue = 0; this.id = id; } /** * Return the value of the title column. * @return java.lang.String */ public java.lang.String getTitle() { return this.title; } /** * Set the value of the title column. * @param title */ public void setTitle(java.lang.String title) { this.title = title; } /** * Return the value of the content column. * @return java.lang.String */ public java.lang.String getContent() { return this.content; } /** * Set the value of the content column. * @param content */ public void setContent(java.lang.String content) { this.content = content; } /** * Return the value of the infoclass column. * @return java.lang.String */ public java.lang.String getInfoclass() { return this.infoclass; } /** * Set the value of the infoclass column. * @param infoclass */ public void setInfoclass(java.lang.String infoclass) { this.infoclass = infoclass; } /** * Return the value of the pubdate column. * @return java.util.Date */ public java.util.Date getPubdate() { return this.pubdate; } /** * Set the value of the pubdate column. * @param pubdate */ public void setPubdate(java.util.Date pubdate) { this.pubdate = pubdate; } /** * Return the value of the pubuser column. * @return java.lang.String */ public java.lang.String getPubuser() { return this.pubuser; } /** * Set the value of the pubuser column. * @param pubuser */ public void setPubuser(java.lang.String pubuser) { this.pubuser = pubuser; } /** * Return the value of the infofrom column. * @return java.lang.String */ public java.lang.String getInfofrom() { return this.infofrom; } /** * Set the value of the infofrom column. * @param infofrom */ public void setInfofrom(java.lang.String infofrom) { this.infofrom = infofrom; } /** * Return the value of the vieworder column. * @return java.lang.Integer */ public java.lang.Integer getVieworder() { return this.vieworder; } /** * Set the value of the vieworder column. * @param vieworder */ public void setVieworder(java.lang.Integer vieworder) { this.vieworder = vieworder; } /** * Return the value of the status column. * @return java.lang.Integer */ public java.lang.Integer getStatus() { return this.status; } /** * Set the value of the status column. * @param status */ public void setStatus(java.lang.Integer status) { this.status = status; } /** * Implementation of the equals comparison on the basis of equality of the primary key values. * @param rhs * @return boolean */ public boolean equals(Object rhs) { if (rhs == null) return false; if (! (rhs instanceof TblNews)) return false; TblNews that = (TblNews) rhs; if (this.getId() != null && that.getId() != null) { if (! this.getId().equals(that.getId())) { return false; } } return true; } /** * Implementation of the hashCode method conforming to the Bloch pattern with * the exception of array properties (these are very unlikely primary key types). * @return int */ public int hashCode() { if (this.hashValue == 0) { int result = 17; int idValue = this.getId() == null ? 0 : this.getId().hashCode(); result = result * 37 + idValue; this.hashValue = result; } return this.hashValue; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -