?? jf.java
字號:
/*
* Author :Cao guangxin
* on 26-三月-2005 at 09:54:55
*
* Mail:relationinfo@hotmail.com
*
* visit:www.relaioninfo.com or www.helpsoft.org
*/
package org.helpsoft.contract.dto;
import org.helpsoft.contract.dao.*;
import org.helpsoft.contract.factory.*;
import org.helpsoft.contract.exceptions.*;
import java.io.Serializable;
import java.util.*;
public class Jf implements Serializable
{
/**
* This attribute maps to the column jfbm in the jf table.
*/
private String jfbm;
/**
* This attribute maps to the column jfmc in the jf table.
*/
private String jfmc;
/**
* Method 'Jf'
*
*/
public Jf()
{
}
/**
* Method 'getJfbm'
*
* @return String
*/
public String getJfbm()
{
return jfbm;
}
/**
* Method 'setJfbm'
*
* @param jfbm
*/
public void setJfbm(String jfbm)
{
this.jfbm = jfbm;
}
/**
* Method 'getJfmc'
*
* @return String
*/
public String getJfmc()
{
return jfmc;
}
/**
* Method 'setJfmc'
*
* @param jfmc
*/
public void setJfmc(String jfmc)
{
this.jfmc = jfmc;
}
/**
* Method 'equals'
*
* @param _other
* @return boolean
*/
public boolean equals(Object _other)
{
if (_other == null) {
return false;
}
if (_other == this) {
return true;
}
if (!(_other instanceof Jf)) {
return false;
}
final Jf _cast = (Jf) _other;
if (jfbm == null ? _cast.jfbm != jfbm : !jfbm.equals( _cast.jfbm )) {
return false;
}
if (jfmc == null ? _cast.jfmc != jfmc : !jfmc.equals( _cast.jfmc )) {
return false;
}
return true;
}
/**
* Method 'hashCode'
*
* @return int
*/
public int hashCode()
{
int _hashCode = 0;
if (jfbm != null) {
_hashCode = 29 * _hashCode + jfbm.hashCode();
}
if (jfmc != null) {
_hashCode = 29 * _hashCode + jfmc.hashCode();
}
return _hashCode;
}
/**
* Method 'createPk'
*
* @return JfPk
*/
public JfPk createPk()
{
return new JfPk(jfbm);
}
/**
* Method 'toString'
*
* @return String
*/
public String toString()
{
StringBuffer ret = new StringBuffer();
ret.append( "org.helpsoft.contract.dto.Jf: " );
ret.append( "jfbm='" + jfbm + "'" );
ret.append( ", jfmc='" + jfmc + "'" );
return ret.toString();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -