⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jf.java

📁 Struts+jdbc开发的合同管理系统,用的SQL Server 2000做为后台数据库!
💻 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 + -