ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
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
package com.vci.client.oq.ui.export;
 
import java.io.Serializable;
 
import com.vci.client.portal.NewNewUI.Export.BaseExportNode;
import com.vci.corba.omd.btm.BtmItem;
 
/**
 * 分类树节点对象
 * @author VCI-STGK006
 *
 */
public class QTExportBTMNode extends BaseExportNode  implements Serializable {
    
    private static final long serialVersionUID = 1L;
 
    public QTExportBTMNode(BtmItem pac) {
        this.setBean(pac);
        this.setLeaf(IS_NOT_LEAF);
    }
 
    
    @Override
    public String toString() {
        if( getBean()  != null) {
            String title = getBean().label + "/" + getBean().name;
            if(this.getMessage() != null){
                title += this.getMessage() ;
            }
            return title;
        }
        return "";
    }
 
    @Override
    public BtmItem getBean() {
        return (BtmItem)this.bean;
    }
}