⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datatable.java

📁 为了下东西 随便发了个 datamining 的源代码
💻 JAVA
字号:
/*
 *    This program is free software; you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation; either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

package eti.bi.alphaminer.vo;

import java.util.Hashtable;

/**
 * <p>Title: KBBI Application</p>
 * <p>Description: A Knowledge Based Business Intelligence Platform</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: E-Business Technology Institute, HKU</p>
 * @author Anny Chiu
 * @version 1.0
 */

public class DataTable {

  private String m_Name;
  private String m_Type;
  private String m_Description;
  private int m_OperationStatus;
  private Hashtable<String, Field> m_FieldList;

  public DataTable() {
    m_FieldList = new Hashtable<String, Field>();
  }

  public String getName()
  {
    return m_Name;
  }

  public void setName(String a_Name)
  {
    m_Name = a_Name;
  }

  public String getType()
  {
    return m_Type;
  }

  public void setType(String a_Type)
  {
    m_Type = a_Type;
  }

  public String getDescription()
  {
    return m_Description;
  }

  public void setDescription(String a_Description)
  {
    m_Description = a_Description;
  }

  public int getOperationStatus()
  {
    return m_OperationStatus;
  }

  public void setOperationStatus(int a_Status)
  {
    m_OperationStatus = a_Status;
  }

  public Field getField(String a_Key)
  {
    if (a_Key==null)
      System.err.println("In DatTable:getField: key is null");
    return m_FieldList.get(a_Key);
  }

  public void setField(String a_Key, Field a_Field)
  {
    if (a_Key==null)
      System.err.println("In DatTable:setField: key is null");
    if (a_Field==null)
      System.err.println("In DatTable:getField: field is null");
    m_FieldList.put(a_Key, a_Field);
  }

  public int getFieldListSize()
  {
    return m_FieldList.size();
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -