package com.vci.client.oq.ui.export;
|
|
|
public class QtExportLogBean implements IExportLogBean{
|
|
private static final long serialVersionUID = 1L;
|
private String no = "1";
|
private static int index = 1;
|
private String exportState = "正常";
|
private String name ="";
|
private String type ="";
|
|
public QtExportLogBean() {
|
this( "-1", "ExportActionLogBean 对象构建 但未设置值", "null",
|
"null");
|
}
|
public QtExportLogBean(String exportState,
|
String name, String type) {
|
this( ""+index++, exportState,
|
name,type);
|
}
|
public QtExportLogBean(String no, String exportState, String name,
|
String type) {
|
super();
|
this.no = no;
|
if( exportState!=null || !no.equals("-1")){//默认状态为正常
|
this.exportState = exportState;
|
}
|
|
this.name = name;
|
this.type = type;
|
}
|
@Override
|
public Object[] getLogRowObjcets() {
|
// TODO Auto-generated method stub
|
Object obj []= {no,exportState,name,type};
|
return obj;
|
}
|
|
@Override
|
public String getLogRowContent() {
|
// TODO Auto-generated method stub
|
// date = new Date();
|
// String info =format.format(date)+"---------";
|
// return info+" [序号=" + no + ", 导出状态=" + exportState
|
// + ", 编号=" + coding + ", 名称=" + name + ", CS注册="
|
// + CSRegister + ", BS注册=" + BSRegister + ", 类型=" + type
|
// + ", 描述=" + description + ", 所属分类=" + category
|
// + "]";
|
return null;
|
}
|
public String getNo() {
|
return no;
|
}
|
public void setNo(String no) {
|
this.no = no;
|
}
|
public static int getIndex() {
|
return index;
|
}
|
public static void setIndex(int index) {
|
QtExportLogBean.index = index;
|
}
|
public String getExportState() {
|
return exportState;
|
}
|
public void setExportState(String exportState) {
|
this.exportState = exportState;
|
}
|
public String getName() {
|
return name;
|
}
|
public void setName(String name) {
|
this.name = name;
|
}
|
public String getType() {
|
return type;
|
}
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
}
|