|
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.opengion.plugin.table.AbstractTableFilter
org.opengion.plugin.table.TableFilter_TABLE
public class TableFilter_TABLE
TableFilter_TABLE は、TableFilter インターフェースを継承した、DBTableModel 処理用の 実装クラスです。 ここでは、テーブル一覧の検索結果より、GF05 のテーブルカラム定義テーブルから 必要な情報を取得し、テーブル作成スクリプトを作成します。 出力ファイルは、テーブル名+"S.sql" という命名規則で作成します。 検索では、(SYSTEM_ID,TBLSYU,TABLE_NAME,NAME_JA,TABLESPACE_NAME,INITIAL_EXTENT,NEXT_EXTENT,COMMENTS) の項目を取得する必要があります。
| 4.0.0 (2005/08/31) 新規作成 |
| フィールドの概要 | |
|---|---|
protected static int |
COMMENTS
|
protected static String |
EXEC_END_TAG
|
protected static String |
EXEC_START_TAG
|
protected static int |
GF05_CLM
|
protected static int |
GF05_CLS_NAME
|
protected static int |
GF05_DATA_DEFAULT
|
protected static int |
GF05_NAME_JA
|
protected static int |
GF05_NOT_NULL
|
protected static int |
GF05_OPTIONS
|
protected static int |
GF05_SEQNO
|
protected static int |
GF05_USE_LENGTH
|
protected static int |
INITIAL_EXTENT
|
protected boolean |
isXml
|
protected static int |
NAME_JA
|
protected static int |
NEXT_EXTENT
|
protected static int |
SYSTEM_ID
|
protected static int |
TABLE_NAME
|
protected static int |
TABLESPACE_NAME
|
protected static int |
TBLSYU
|
protected static String |
XML_END_TAG
|
protected static String |
XML_START_TAG
|
| クラス org.opengion.plugin.table.AbstractTableFilter から継承されたフィールド |
|---|
appInfo, CR, dbid, isDebug, modifyType, resource, rowNo, sql, table |
| コンストラクタの概要 | |
|---|---|
TableFilter_TABLE()
|
|
| メソッドの概要 | |
|---|---|
DBTableModel |
execute()
DBTableModel処理を実行します。 |
protected String |
makeEndLine(int[] clmNo,
String[] data)
定義の最後の部分の処理を実行します。 |
protected String |
makeHeadLine(int[] clmNo,
String[] data)
ヘッダー部分の処理を実行します。 |
protected String[] |
makeLineList(String[] data,
boolean first)
各行部分(カラム定義)の処理を実行します。 |
protected String |
makeUniqSeq(int[] clmNo,
String[] data)
ユニークシーケンスの作成処理を実行します。 |
protected String |
makeUniqTrig(int[] clmNo,
String[] data,
String uniqName)
ユニークシーケンスと関連付けるトリガの作成処理を実行します。 |
| クラス org.opengion.plugin.table.AbstractTableFilter から継承されたメソッド |
|---|
getErrorCode, getErrorMessage, getTableColumnNo, getValue, makeErrorMessage, setApplicationInfo, setDbid, setDBTableModel, setDebug, setKeysVals, setModifyType, setParameterRows, setResource, setSql |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected static final int SYSTEM_ID
protected static final int TBLSYU
protected static final int TABLE_NAME
protected static final int NAME_JA
protected static final int TABLESPACE_NAME
protected static final int INITIAL_EXTENT
protected static final int NEXT_EXTENT
protected static final int COMMENTS
protected static final int GF05_CLM
protected static final int GF05_SEQNO
protected static final int GF05_NAME_JA
protected static final int GF05_CLS_NAME
protected static final int GF05_USE_LENGTH
protected static final int GF05_DATA_DEFAULT
protected static final int GF05_NOT_NULL
protected static final int GF05_OPTIONS
protected static final String XML_START_TAG
protected static final String XML_END_TAG
protected static final String EXEC_START_TAG
protected static final String EXEC_END_TAG
protected boolean isXml
| コンストラクタの詳細 |
|---|
public TableFilter_TABLE()
| メソッドの詳細 |
|---|
public DBTableModel execute()
| 3.8.7.0 (2006/12/15) アクセスログ取得の為,ApplicationInfo オブジェクトを設定 |
| 4.0.0.0 (2007/11/28) メソッドの戻り値をチェックします。 |
| 4.3.7.0 (2009/06/01) トリガー、SEQUENCE作成機能、XML出力機能追加 |
| 5.1.1.0 (2009/12/01) XML_START_TAG に、tableName をセットします。 |
protected String makeHeadLine(int[] clmNo,
String[] data)
clmNo - int[]data - String[]
protected String[] makeLineList(String[] data,
boolean first)
data - String[]first - boolean
protected String makeEndLine(int[] clmNo,
String[] data)
clmNo - int[]data - String[]
protected String makeUniqSeq(int[] clmNo,
String[] data)
clmNo - int[]data - String[]
protected String makeUniqTrig(int[] clmNo,
String[] data,
String uniqName)
clmNo - int[]data - String[]uniqName - String
|
openGion 5.1.3.0 | ||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||