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

📄 erdtablefiledata.java

📁 eq跨平台查询工具源码 eq跨平台查询工具源码
💻 JAVA
字号:
/* * ErdTableFileData.java * * Copyright (C) 2002, 2003, 2004, 2005, 2006 Takis Diakoumis * * 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 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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. * */package org.executequery.gui.erd;import java.awt.Color;import java.awt.Rectangle;import java.io.Serializable;import java.util.Hashtable;import org.executequery.gui.browser.ColumnData;/* ---------------------------------------------------------- * CVS NOTE: Changes to the CVS repository prior to the *           release of version 3.0.0beta1 has meant a *           resetting of CVS revision numbers. * ---------------------------------------------------------- *//** * * @author   Takis Diakoumis * @version  $Revision: 1.5 $ * @date     $Date: 2006/09/21 13:16:25 $ */public class ErdTableFileData implements Serializable {        /** The table name displayed */    private String tableName;        /** The table's columns */    private ColumnData[] columns;        /** The CREATE TABLE script for a new table */    private String createTableScript;        /** The ALTER TABLE script for a definition change */    private String alterTableScript;        /** The ALTER TABLE script for a constraint change */    private String addConstraintScript;        /** The ALTER TABLE script for a constraint drop */    private String dropConstraintScript;        /** <code>Hashtable</code> containing table modifications */    private Hashtable alterTableHash;        /** The table bounds */    private Rectangle tableBounds;        /** The tables background colour */    private Color tableBackground;        public ErdTableFileData() {}        public Rectangle getTableBounds() {        return tableBounds;    }        public void setTableBounds(Rectangle tableBounds) {        this.tableBounds = tableBounds;    }        public void setAddConstraintScript(String addConstraintScript) {        this.addConstraintScript = addConstraintScript;    }        public String getAddConstraintScript() {        return addConstraintScript;    }        public void setDropConstraintScript(String dropConstraintScript) {        this.dropConstraintScript = dropConstraintScript;    }        public String getDropConstraintScript() {        return dropConstraintScript;    }        public Hashtable getAlterTableHash() {        return alterTableHash;    }        public void setAlterTableHash(Hashtable alterTableHash) {        this.alterTableHash = alterTableHash;    }        public String getAlterTableScript() {        return alterTableScript;    }        public void setAlterTableScript(String alterTableScript) {        this.alterTableScript = alterTableScript;    }        public String getCreateTableScript() {        return createTableScript;    }        public void setCreateTableScript(String createTableScript) {        this.createTableScript = createTableScript;    }        public ColumnData[] getColumnData() {        return columns;    }        public void setColumnData(ColumnData[] columns) {        this.columns = columns;    }        public String getTableName() {        return tableName;    }        public void setTableName(String tableName) {        this.tableName = tableName;    }    public Color getTableBackground() {        return tableBackground;    }    public void setTableBackground(Color tableBackground) {        this.tableBackground = tableBackground;    }        }

⌨️ 快捷键说明

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