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;
|
}
|
}
|