📄 sealadminbase.java
字号:
/*
* sealAdminBase.java
* Generated using xgen and texen from beanbase.vm
* Mon Jan 31 13:51:49 CST 2005
*/
package com.sure.oa.dict;
import com.sure.util.DateWrapper;
import java.io.*;
import java.sql.SQLException;
/**
* 将印章批准人信息持久化到数据库
* @author datonghuiren@sohu.com
*/
public abstract class sealAdminBase {
/** bean attributes */
protected Integer sId = new Integer ("0");
protected String sealAdminName = new String ("");
protected String unitId = new String ("");
public sealAdminBase() { };
/** setters and getters for sId */
public void setSId ( String value ) { this.sId = new Integer (value); }
public void setSId ( Integer value ) { this.sId = value; }
public void setSId ( int value ){ this.sId = new Integer (value); }
public Integer getSId ( ){ return sId; }
/** setters and getters for sealAdminName */
public void setSealAdminName ( String value ) { this.sealAdminName = new String (value); }
public String getSealAdminName ( ){ return sealAdminName; }
/** setters and getters for unitId */
public void setUnitId ( String value ) { this.unitId = new String (value); }
public String getUnitId ( ){ return unitId; }
/**
* Load this object from a Map hash.
*/
public void load(java.util.Map map){
java.util.Iterator it = map.keySet().iterator();
while( it.hasNext() ){
String key = (String)it.next();
String value = (String)map.get(key);
if(false){
// just a placeholder for template construction
}
else if( key.equals("sId") ) {
setSId( value );
}
else if( key.equals("sealAdminName") ) {
setSealAdminName( value );
}
else if( key.equals("unitId") ) {
setUnitId( value );
}
}
}
/**
* Load this object from a request parameter Map,
* using only the first elements of the String[] values.
*/
public void loadFromParameterMap(java.util.Map map){
java.util.Iterator it = map.keySet().iterator();
while( it.hasNext() ){
String key = (String)it.next();
String[] values = (String[])map.get(key);
if(false){
// just a placeholder for template construction
}
else if( key.equals("sId") ) {
setSId( values[0] );
}
else if( key.equals("sealAdminName") ) {
setSealAdminName( values[0] );
}
else if( key.equals("unitId") ) {
setUnitId( values[0] );
}
}
}
/**
* to String
*/
public String toString(){
return toString(",");
}
/**
* to String with specified line terminator
*/
public String toString(String nl){
StringBuffer buf = new StringBuffer();
buf.append("sealAdminBase {");
buf.append( getSId () );
buf.append(nl);
buf.append( getSealAdminName () );
buf.append(nl);
buf.append( getUnitId () );
buf.append(nl);
buf.append("}");
return buf.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -