📄 hyxfbean.java
字号:
package org.helpsoft.entity.hyxf;
import java.io.Serializable;
import com.helpsoft.util.log.*;
import org.helpsoft.entity.hy.*;
/**
* The Hyxf entity bean.
*
* @author cao guangxin - www.relationinfo.com
*
* @hibernate.class
* table="hyxf"
*/
public class HyxfBean implements Serializable, HyxfIf {
/**
* The logger object.
*/
private static Logger log = LogService.getLogger(HyxfBean.class);
private HyBean hykhHy;
private java.lang.String wzkqjg;
private java.lang.String dzhsjsq;
private java.lang.String ccxfjegj;
private java.lang.String xfbz;
/**
* Default constructor.
*/
public HyxfBean() {
}
/**
* Value object constructor.
*/
public HyxfBean(org.helpsoft.entity.hyxf.HyxfIf value) {
setWzkqjg(value.getWzkqjg());
setHykh(value.getHykh());
setDzhsjsq(value.getDzhsjsq());
setCcxfjegj(value.getCcxfjegj());
setXfbz(value.getXfbz());
}
/**
* Creates a new bean and returns the primary key.
* If the primary key of the value object has been set, this key will be used.
* If the primary key is set to null, Hibernate's increment id generator is used for integers and longs
* and the uuid.hex generator for strings.
*
* @param value a <code>HyxfIf</code>
* @return the primary key for this Hyxf
*/
public java.lang.String create(org.helpsoft.entity.hyxf.HyxfIf value) {
setWzkqjg(value.getWzkqjg());
setDzhsjsq(value.getDzhsjsq());
setCcxfjegj(value.getCcxfjegj());
setXfbz(value.getXfbz());
setHykh(value.getHykh());
return value.getPrimaryKey();
}
/**
* Return the primary key.
*
* @return java.lang.String with the primary key.
*/
public java.lang.String getPrimaryKey() {
return getWzkqjg();
}
/**
* Set the primary key.
*
* @param primaryKey the primary key
*/
public void setPrimaryKey(java.lang.String primaryKey) {
setWzkqjg(primaryKey);
}
/**
* Returns the value of the <code>wzkqjg</code> property.
*
* @hibernate.id
* generator-class="uuid.hex"
* length="33"
* column="wzkqjg"
*/
public java.lang.String getWzkqjg() {
return wzkqjg;
}
/**
* Sets the value of the <code>wzkqjg</code> property.
*
* @param wzkqjg the value for the <code>wzkqjg</code> property
*/
public void setWzkqjg(java.lang.String wzkqjg) {
this.wzkqjg = wzkqjg;
}
/**
* Returns the value of the <code>dzhsjsq</code> property.
*
* @hibernate.property
* length="20"
* column="dzhsjsq"
*/
public java.lang.String getDzhsjsq() {
return dzhsjsq;
}
/**
* Sets the value of the <code>dzhsjsq</code> property.
*
* @param dzhsjsq the value for the <code>dzhsjsq</code> property
*/
public void setDzhsjsq(java.lang.String dzhsjsq) {
this.dzhsjsq = dzhsjsq;
}
/**
* Returns the value of the <code>ccxfjegj</code> property.
*
* @hibernate.property
* length="20"
* column="ccxfjegj"
*/
public java.lang.String getCcxfjegj() {
return ccxfjegj;
}
/**
* Sets the value of the <code>ccxfjegj</code> property.
*
* @param ccxfjegj the value for the <code>ccxfjegj</code> property
*/
public void setCcxfjegj(java.lang.String ccxfjegj) {
this.ccxfjegj = ccxfjegj;
}
/**
* Returns the value of the <code>xfbz</code> property.
*
* @hibernate.property
* length="200"
* column="xfbz"
*/
public java.lang.String getXfbz() {
return xfbz;
}
/**
* Sets the value of the <code>xfbz</code> property.
*
* @param xfbz the value for the <code>xfbz</code> property
*/
public void setXfbz(java.lang.String xfbz) {
this.xfbz = xfbz;
}
/**
* Returns the value of the <code>hykhHy</code> relation property.
*
* @return the value of the <code>hykhHy</code> relation property.
*
* @hibernate.many-to-one
* column="hykh"
* cascade="none"
*/
public HyBean getRelationHykhHy(){
return hykhHy;
}
/**
* Returns the value of the <code>hykhHy</code> relation property.
*
* @return the value of the <code>hykhHy</code> relation property.
*
*/
public HyIf getHykhHy(){
return getRelationHykhHy();
}
/**
* Sets the value of the <code>hykhHy</code> relation property.
*
* @param hy a value for <code>hykhHy</code>.
*/
public void setRelationHykhHy(HyBean hy) {
this.hykhHy = hy;
}
/**
* Sets the value of the <code>hykhHy</code> relation property.
*
* @param hy a value for <code>hykhHy</code>.
*/
public void setHykhHy(HyIf hy) {
setRelationHykhHy(new HyBean(hy));
}
/**
* Returns the value of the <code>hykh</code> property.
*
*/
public java.lang.String getHykh() {
if (hykhHy != null) {
return hykhHy.getHykh();
} else {
return null;
}
}
/**
* Sets the value of the <code>hykh</code> property.
*
* @param hykh the value for the <code>hykh</code> property
*/
public void setHykh(java.lang.String hykh) {
if (hykhHy == null) {
hykhHy = new HyBean();
}
hykhHy.setHykh(hykh);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -