|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.desc.ColumnDesc
public class ColumnDesc
カラム記述です。
| 入れ子のクラスの概要 | |
|---|---|
protected static class |
ColumnDesc.Key
キーです。 |
| フィールドの概要 | |
|---|---|
protected java.lang.String |
comment
コメント |
protected java.lang.String |
definition
定義 |
protected boolean |
identity
IDENTITYカラムの場合 true |
protected ColumnDesc.Key |
key
キー |
protected java.lang.String |
name
名前 |
protected boolean |
nullable
null可能ならばtrue |
protected SqlType |
sqlType
SQL型 |
protected boolean |
unique
一意ならば true |
| コンストラクタの概要 | |
|---|---|
ColumnDesc()
|
|
| メソッドの概要 | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getComment()
コメントを返します。 |
java.lang.String |
getDefinition()
カラム定義を返します。 |
java.lang.String |
getName()
名前を返します。 |
SqlType |
getSqlType()
SQL型を返します。 |
int |
hashCode()
|
boolean |
isIdentity()
IDENTITYカラムの場合 trueを返します。 |
boolean |
isNullable()
null可能の場合trueを返します。 |
boolean |
isUnique()
一意の場合 true、そうでない場合falseを返します。 |
void |
setComment(java.lang.String comment)
コメントを設定します。 |
void |
setDefinition(java.lang.String definition)
カラム定義を設定します。 |
void |
setIdentity(boolean identity)
IDENTITYカラムの場合 trueを設定します。 |
void |
setName(java.lang.String name)
名前を設定します。 |
void |
setNullable(boolean nullable)
null可能の場合trueを設定します。 |
void |
setSqlType(SqlType sqlType)
SQL型を設定します。 |
void |
setUnique(boolean unique)
一意の場合 true、そうでない場合falseを設定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final ColumnDesc.Key key
protected java.lang.String name
protected java.lang.String definition
protected boolean identity
true
protected boolean nullable
null可能ならばtrue
protected boolean unique
true
protected SqlType sqlType
protected java.lang.String comment
| コンストラクタの詳細 |
|---|
public ColumnDesc()
| メソッドの詳細 |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - 名前public boolean isNullable()
null可能の場合trueを返します。
null可能の場合true、そうでない場合falsepublic void setNullable(boolean nullable)
null可能の場合trueを設定します。
nullable - null可能の場合true、そうでない場合falsepublic java.lang.String getDefinition()
public void setDefinition(java.lang.String definition)
definition - カラム定義public boolean isUnique()
true、そうでない場合falseを返します。
true、そうでない場合falsepublic void setUnique(boolean unique)
true、そうでない場合falseを設定します。
unique - 一意の場合true、そうでない場合falsepublic boolean isIdentity()
trueを返します。
truepublic void setIdentity(boolean identity)
trueを設定します。
identity - IDENTITYカラムの場合truepublic SqlType getSqlType()
public void setSqlType(SqlType sqlType)
sqlType - SQL型public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - コメントpublic int hashCode()
java.lang.Object 内の hashCodepublic boolean equals(java.lang.Object obj)
java.lang.Object 内の equals
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||