📄 abstractpgroupprv.java
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Sat Aug 20 23:09:26 CST 2005 by MyEclipse Hibernate Tool. */package com.infosys.Hibernate;import java.io.Serializable;/** * A class that represents a row in the p_group_prv table. * You can customize the behavior of this class by editing the class, {@link PGroupPrv()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractPGroupPrv implements Serializable{ /** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */ private int hashValue = 0; /** The simple primary key value. */ private PGroupPrvKey id; /** * Simple constructor of AbstractPGroupPrv instances. */ public AbstractPGroupPrv() { } /** * Constructor of AbstractPGroupPrv instances given a composite primary key. * @param id */ public AbstractPGroupPrv(PGroupPrvKey id) { this.setId(id); } /** * Return the composite id instance that identifies this object. * @return PGroupPrvKey */ public PGroupPrvKey getId() { return this.id; } /** * Set the composite id instance that identifies this object. * @param id */ public void setId(PGroupPrvKey id) { this.hashValue = 0; this.id = id; } /** * 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 PGroupPrv)) return false; PGroupPrv that = (PGroupPrv) rhs; if (this.getId() != null && that.getId() != null) { return (this.getId().equals(that.getId())); } 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; if (this.getId() == null) { result = super.hashCode(); } else { result = this.getId().hashCode(); } this.hashValue = result; } return this.hashValue; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -