?? txdata.java
字號:
package org.helpsoft.entity.tx;
import java.io.Serializable;
/**
* The TxData objects extends the generated Value object.
* Put here your presentation specific code.
*
* @author cao guangxin
*/
public class TxData extends TxValue implements TxIf, Serializable {
/**
* Default constructor.
*/
public TxData() {
}
/**
* Value object constructor.
*/
public TxData(org.helpsoft.entity.tx.TxIf value) {
setTxbh(value.getTxbh());
setTxmc(value.getTxmc());
setQtsz(value.getQtsz());
setSfky(value.getSfky());
}
/**
* Return the primary key.
*
* @return java.lang.String with the primary key.
*/
public java.lang.String getPrimaryKey() {
return getTxbh();
}
/**
* Set the primary key.
*
* @param pk the primary key
*/
public void setPrimaryKey(java.lang.String pk) {
setTxbh(pk);
}
public String getPrimaryKeyParameters() {
String parameters = "";
parameters += "&txbh=" + getTxbh();
return parameters;
}
public String toString() {
StringBuffer str = new StringBuffer("{");
str.append("txbh=" + getTxbh() + " ");
str.append("txmc=" + getTxmc() + " ");
str.append("qtsz=" + getQtsz() + " ");
str.append("sfky=" + getSfky() + " ");
str.append('}');
return(str.toString());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -