📄 abstractdepartment.java
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Sun Jul 10 00:22:38 CST 2005 by MyEclipse Hibernate Tool. */package limq.hibernate.vo;import java.io.Serializable;/** * A class that represents a row in the department table. * You can customize the behavior of this class by editing the class, {@link Department()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractDepartment 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.Integer id; /** The value of the simple name property. */ private java.lang.String name; /** * Simple constructor of AbstractDepartment instances. */ public AbstractDepartment() { } /** * Constructor of AbstractDepartment instances given a simple primary key. * @param id */ public AbstractDepartment(java.lang.Integer id) { this.setId(id); } /** * Return the simple primary key value that identifies this object. * @return java.lang.Integer */ public java.lang.Integer getId() { return id; } /** * Set the simple primary key value that identifies this object. * @param id */ public void setId(java.lang.Integer id) { this.hashValue = 0; this.id = id; } /** * Return the value of the name column. * @return java.lang.String */ public java.lang.String getName() { return this.name; } /** * Set the value of the name column. * @param name */ public void setName(java.lang.String name) { this.name = name; } /** * Implementation of the equals comparison on the basis of equality of the primary key values. * @param rhs * @return boolean */ }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -