|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.model.GeneratedModel
org.seasar.extension.jdbc.gen.model.DdlModel
public abstract class DdlModel
DDLのモデルです。
| フィールドの概要 | |
|---|---|
protected java.lang.String |
canonicalTableName
テーブル標準名 |
protected char |
delimiter
SQLステートメントの区切り文字 |
protected GenDialect |
dialect
方言 |
protected java.lang.String |
name
名前 |
protected SqlIdentifierCaseType |
sqlIdentifierCaseType
SQLの識別子の大文字小文字を変換するかどうかを示す列挙型 |
protected SqlKeywordCaseType |
sqlKeywordCaseType
SQLのキーワードの大文字小文字を変換するかどうかを示す列挙型 |
protected boolean |
useComment
コメントを使用する場合 true |
| クラス org.seasar.extension.jdbc.gen.model.GeneratedModel から継承されたフィールド |
|---|
generatedInfoList |
| コンストラクタの概要 | |
|---|---|
DdlModel()
|
|
| メソッドの概要 | |
|---|---|
java.lang.String |
getCanonicalTableName()
標準のテーブル名を返します。 |
char |
getDelimiter()
SQLステートメントの区切り文字を返します。 |
GenDialect |
getDialect()
方言を返します。 |
java.lang.String |
getName()
名前を返します。 |
SqlIdentifierCaseType |
getSqlIdentifierCaseType()
SQLの識別子の大文字小文字を変換するかどうかを示す列挙型を返します。 |
SqlKeywordCaseType |
getSqlKeywordCaseType()
SQLのキーワードの大文字小文字を変換するかどうかを示す列挙型を返します。 |
java.lang.String |
identifier(java.lang.String identifier)
識別子の大文字小文字を変換します。 |
boolean |
isCommentInCreateTableSupported()
CREATE TABLEでコメントを出力する場合 true |
boolean |
isCommentOnSupported()
COMMENT ONを出力する場合 trueを返します。 |
boolean |
isUseComment()
コメントを使用する場合 trueを返します。 |
java.lang.String |
keyword(java.lang.String keyword)
キーワードの大文字小文字を変換します。 |
void |
setCanonicalTableName(java.lang.String tableCanonicalName)
標準のテーブル名を設定します。 |
void |
setDelimiter(char delimiter)
SQLステートメントの区切り文字 |
void |
setDialect(GenDialect dialect)
方言を設定します。 |
void |
setName(java.lang.String name)
名前を設定します。 |
void |
setSqlIdentifierCaseType(SqlIdentifierCaseType sqlIdentifierCaseType)
SQLの識別子の大文字小文字を変換するかどうかを示す列挙型を設定します |
void |
setSqlKeywordCaseType(SqlKeywordCaseType sqlKeywordCaseType)
SQLのキーワードの大文字小文字を変換するかどうかを示す列挙型を設定します。 |
void |
setUseComment(boolean useComment)
コメントを使用する場合 trueを設定します。 |
| クラス org.seasar.extension.jdbc.gen.model.GeneratedModel から継承されたメソッド |
|---|
addGeneratedInfo, getGeneratedInfoList |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected java.lang.String canonicalTableName
protected java.lang.String name
protected GenDialect dialect
protected char delimiter
protected SqlKeywordCaseType sqlKeywordCaseType
protected SqlIdentifierCaseType sqlIdentifierCaseType
protected boolean useComment
true
| コンストラクタの詳細 |
|---|
public DdlModel()
| メソッドの詳細 |
|---|
public java.lang.String getCanonicalTableName()
public void setCanonicalTableName(java.lang.String tableCanonicalName)
tableCanonicalName - テーブル標準名public java.lang.String getName()
public void setName(java.lang.String name)
name - 名前public GenDialect getDialect()
public void setDialect(GenDialect dialect)
dialect - 方言public char getDelimiter()
public void setDelimiter(char delimiter)
delimiter - SQLステートメントの区切り文字を設定します。public SqlKeywordCaseType getSqlKeywordCaseType()
public void setSqlKeywordCaseType(SqlKeywordCaseType sqlKeywordCaseType)
sqlKeywordCaseType - SQLのキーワードの大文字小文字を変換するかどうかを示す列挙型public SqlIdentifierCaseType getSqlIdentifierCaseType()
public void setSqlIdentifierCaseType(SqlIdentifierCaseType sqlIdentifierCaseType)
sqlIdentifierCaseType - SQLの識別子の大文字小文字を変換するかどうかを示す列挙型public boolean isUseComment()
trueを返します。
truepublic void setUseComment(boolean useComment)
trueを設定します。
useComment - コメントを使用する場合truepublic java.lang.String keyword(java.lang.String keyword)
keyword - キーワード
public java.lang.String identifier(java.lang.String identifier)
identifier - 識別子
public boolean isCommentInCreateTableSupported()
true
truepublic boolean isCommentOnSupported()
trueを返します。
true
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||