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

📄 logtypepk.java

📁 STRUTS数据库项目开发宝典
💻 JAVA
字号:
/*
 * 
 * on 06-十月-2005 at 04:15:42
 * 
 * Mail:relationinfo@hotmail.com
 * 
 * visit:www.relaioninfo.com or www.helpsoft.org
 */

package org.helpsoft.helplog.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/** 
 * This class represents the primary key of the Logtype table.
 */
public class LogtypePk implements Serializable
{
	private String logtypecode;

	/** 
	 * Sets the value of logtypecode
	 */
	public void setLogtypecode(String logtypecode)
	{
		this.logtypecode = logtypecode;
	}

	/** 
	 * Gets the value of logtypecode
	 */
	public String getLogtypecode()
	{
		return logtypecode;
	}

	/**
	 * Method 'LogtypePk'
	 * 
	 */
	public LogtypePk()
	{
	}

	/**
	 * Method 'LogtypePk'
	 * 
	 * @param logtypecode
	 */
	public LogtypePk(final String logtypecode)
	{
		this.logtypecode = logtypecode;
	}

	/**
	 * Method 'equals'
	 * 
	 * @param _other
	 * @return boolean
	 */
	public boolean equals(Object _other)
	{
		if (_other == null) {
			return false;
		}
		
		if (_other == this) {
			return true;
		}
		
		if (!(_other instanceof LogtypePk)) {
			return false;
		}
		
		final LogtypePk _cast = (LogtypePk) _other;
		if (logtypecode == null ? _cast.logtypecode != logtypecode : !logtypecode.equals( _cast.logtypecode )) {
			return false;
		}
		
		return true;
	}

	/**
	 * Method 'hashCode'
	 * 
	 * @return int
	 */
	public int hashCode()
	{
		int _hashCode = 0;
		if (logtypecode != null) {
			_hashCode = 29 * _hashCode + logtypecode.hashCode();
		}
		
		return _hashCode;
	}

	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "org.helpsoft.helplog.dto.LogtypePk: " );
		ret.append( "logtypecode='" + logtypecode + "'" );
		return ret.toString();
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -