?? htpk.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 java.io.Serializable;
import java.util.Date;
public class HtPk implements Serializable
{
private String htbm;
/**
* Sets the value of htbm
*/
public void setHtbm(String htbm)
{
this.htbm = htbm;
}
/**
* Gets the value of htbm
*/
public String getHtbm()
{
return htbm;
}
/**
* Method 'HtPk'
*
*/
public HtPk()
{
}
/**
* Method 'HtPk'
*
* @param htbm
*/
public HtPk(final String htbm)
{
this.htbm = htbm;
}
/**
* Method 'equals'
*
* @param _other
* @return boolean
*/
public boolean equals(Object _other)
{
if (_other == null) {
return false;
}
if (_other == this) {
return true;
}
if (!(_other instanceof HtPk)) {
return false;
}
final HtPk _cast = (HtPk) _other;
if (htbm == null ? _cast.htbm != htbm : !htbm.equals( _cast.htbm )) {
return false;
}
return true;
}
/**
* Method 'hashCode'
*
* @return int
*/
public int hashCode()
{
int _hashCode = 0;
if (htbm != null) {
_hashCode = 29 * _hashCode + htbm.hashCode();
}
return _hashCode;
}
/**
* Method 'toString'
*
* @return String
*/
public String toString()
{
StringBuffer ret = new StringBuffer();
ret.append( "org.helpsoft.contract.dto.HtPk: " );
ret.append( "htbm='" + htbm + "'" );
return ret.toString();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -