田源
2024-03-07 4b4083fd73dc27ece42f4835483565eef0e4f608
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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;
    }
 
}