sourcetabbasebean.java

来自「一个简单的数据库同步系统」· Java 代码 · 共 89 行

JAVA
89
字号
package com.unimas.dbsync.entity;

import com.unimas.dbsync.entity.BaseBean;

/**
 * Created by IntelliJ IDEA.
 * User: 小孔
 * Date: 2008-12-13
 * Time: 18:22:09.
 */
public class SourceTabBaseBean implements BaseBean {
    private String tableName;  //表名
    private String fieldName;  //字段名
    private String type;        //字段类型
    private int length;        //字段允许的最大长度
    private String[] TabFieldMessage;   //表字段信息形成的数组格式为: 字段名(字段类型【字段长度】)
    private int ColumnCount;            //表字段个数
    private int RecordsNum;             //表中的记录行数
    private String TabRecords;          //缓存表中所有记录的字符串

    public int getRecordsNum() {
        return RecordsNum;
    }

    public void setRecordsNum(int recordsNum) {
        RecordsNum = recordsNum;
    }

    public String getTabRecords() {
        return TabRecords;
    }

    public void setTabRecords(String tabRecords) {
        TabRecords = tabRecords;
    }

    public int getColumnCount() {
        return ColumnCount;
    }

    public void setColumnCount(int columnCount) {
        ColumnCount = columnCount;
    }


    public String[] getTabFieldMessage() {
        return TabFieldMessage;
    }

    public void setTabFieldMessage(String[] tabFieldMessage) {
        TabFieldMessage = tabFieldMessage;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public String getType() {

        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFieldName() {

        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getTableName() {

        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
}

⌨️ 快捷键说明

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