📄 spdata.java
字号:
package org.helpsoft.entity.sp;
import java.io.Serializable;
import org.helpsoft.entity.splb.*;
/**
* The SpData objects extends the generated Value object.
* Put here your presentation specific code.
*
* @author cao guangxin
*/
public class SpData extends SpValue implements SpIf, Serializable {
/**
* Default constructor.
*/
public SpData() {
}
/**
* Value object constructor.
*/
public SpData(org.helpsoft.entity.sp.SpIf value) {
setSpbm(value.getSpbm());
setSplbbm(value.getSplbbm());
setSpmc(value.getSpmc());
setYsdj(value.getYsdj());
setJhdj(value.getJhdj());
setSpsl(value.getSpsl());
setDzbl(value.getDzbl());
setSfcxsp(value.getSfcxsp());
}
/**
* Return the primary key.
*
* @return java.lang.String with the primary key.
*/
public java.lang.String getPrimaryKey() {
return getSpbm();
}
/**
* Set the primary key.
*
* @param pk the primary key
*/
public void setPrimaryKey(java.lang.String pk) {
setSpbm(pk);
}
public String getPrimaryKeyParameters() {
String parameters = "";
parameters += "&spbm=" + getSpbm();
return parameters;
}
/**
* property.
*/
private SplbIf splbbmSplb;
/**
* Returns the value of the <code>splbbmSplb</code> relation property.
*
* @return the value of the <code>splbbmSplb</code> relation property.
*/
public SplbIf getSplbbmSplb() {
return splbbmSplb;
}
/**
* Sets the value of the <code>splbbmSplb</code> relation property.
*
* @param splb a value for <code>splbbmSplb</code>.
*/
public void setSplbbmSplb(SplbIf splb) {
this.splbbmSplb = splb;
}
public String toString() {
StringBuffer str = new StringBuffer("{");
str.append("spbm=" + getSpbm() + " ");
str.append("splbbm=" + getSplbbm() + " ");
str.append("spmc=" + getSpmc() + " ");
str.append("ysdj=" + getYsdj() + " ");
str.append("jhdj=" + getJhdj() + " ");
str.append("spsl=" + getSpsl() + " ");
str.append("dzbl=" + getDzbl() + " ");
str.append("sfcxsp=" + getSfcxsp() + " ");
str.append('}');
return(str.toString());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -