package com.fanruan.api.data.open;

import com.fanruan.api.err.TableDataException;
import com.fr.data.AbstractDataModel;

/**
 * @author richie
 * @version 10.0
 * Created by richie on 2019-09-04
 * 二维表模型
 */
public abstract class BaseDataModel extends AbstractDataModel {

    @Override
    public abstract int getColumnCount() throws TableDataException;

    @Override
    public abstract String getColumnName(int rowIndex) throws TableDataException;

    @Override
    public abstract int getRowCount() throws TableDataException;

    @Override
    public abstract Object getValueAt(int rowIndex, int columnIndex) throws TableDataException;

    @Override
    public abstract void release() throws Exception;
}