package com.topsun.posclient.sales.ui.gold; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Text; /** * 旧金鉴定 * @author Dong * */ public class OldGoldIdentifyManager { private TableViewer oldGoldIdentifyTableView; private Label oldGoldIdentifyTotlePrice; private Text docNum;//单据编号 private Text mantrCode;//物料编码 public final Text getDocNum() { return docNum; } public final Text getMantrCode() { return mantrCode; } public final void setDocNum(Text docNum) { this.docNum = docNum; } public final void setMantrCode(Text mantrCode) { this.mantrCode = mantrCode; } public final TableViewer getOldGoldIdentifyTableView() { return oldGoldIdentifyTableView; } public final void setOldGoldIdentifyTableView( TableViewer oldGoldIdentifyTableView) { this.oldGoldIdentifyTableView = oldGoldIdentifyTableView; } public final Label getOldGoldIdentifyTotlePrice() { return oldGoldIdentifyTotlePrice; } public final void setOldGoldIdentifyTotlePrice(Label oldGoldIdentifyTotlePrice) { this.oldGoldIdentifyTotlePrice = oldGoldIdentifyTotlePrice; } public static final OldGoldIdentifyManager getReturnedManager() { return oldGoldIdentifyManager; } public static final void setReturnedManager(OldGoldIdentifyManager oldGoldIdentifyManager) { OldGoldIdentifyManager.oldGoldIdentifyManager = oldGoldIdentifyManager; } private static OldGoldIdentifyManager oldGoldIdentifyManager = new OldGoldIdentifyManager(); private OldGoldIdentifyManager(){ } public static OldGoldIdentifyManager getInstance(){ if (oldGoldIdentifyManager == null){ oldGoldIdentifyManager = new OldGoldIdentifyManager(); return oldGoldIdentifyManager; } return oldGoldIdentifyManager; } }