|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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
、そうでない場合false
public void setNullable(boolean nullable)
null
可能の場合true
を設定します。
nullable
- null
可能の場合true
、そうでない場合false
public java.lang.String getDefinition()
public void setDefinition(java.lang.String definition)
definition
- カラム定義public boolean isUnique()
true
、そうでない場合false
を返します。
true
、そうでない場合false
public void setUnique(boolean unique)
true
、そうでない場合false
を設定します。
unique
- 一意の場合true
、そうでない場合false
public boolean isIdentity()
true
を返します。
true
public void setIdentity(boolean identity)
true
を設定します。
identity
- IDENTITYカラムの場合true
public 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
内の hashCode
public boolean equals(java.lang.Object obj)
java.lang.Object
内の equals
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |