|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.desc.AttributeDesc
public class AttributeDesc
エンティティの属性記述です。
フィールドの概要 | |
---|---|
protected int |
allocationSize
識別子の割り当てサイズ |
protected java.lang.Class<?> |
attributeClass
属性のクラス |
protected java.lang.String |
columnDefinition
カラム定義 |
protected java.lang.String |
columnName
カラムの名前 |
protected java.lang.String |
columnTypeName
カラムの型名 |
protected java.lang.String |
comment
コメント |
protected GenerationType |
generationType
識別子の生成方法を示す列挙型、生成しない場合 null |
protected boolean |
id
識別子の場合 true |
protected int |
initialValue
識別子の初期値 |
protected int |
length
長さ |
protected boolean |
lob
LOB の場合true |
protected java.lang.String |
name
名前 |
protected boolean |
nullable
NULL可能の場合 true |
protected int |
precision
精度 |
protected TemporalType |
primaryTemporalType
優先する時制の種別 |
protected int |
scale
スケール |
protected boolean |
trnsient
一時的の場合 true |
protected boolean |
unique
一意の場合 true |
protected boolean |
unsupportedColumnType
サポートされていないカラム型の場合 true |
protected boolean |
version
バージョンの場合 true |
コンストラクタの概要 | |
---|---|
AttributeDesc()
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
int |
getAllocationSize()
識別子の割り当てサイズを返します。 |
java.lang.Class<?> |
getAttributeClass()
属性のクラスを返します。 |
java.lang.String |
getColumnDefinition()
カラム定義を返します。 |
java.lang.String |
getColumnName()
カラムの名前を返します。 |
java.lang.String |
getColumnTypeName()
カラムの型名を返します。 |
java.lang.String |
getComment()
コメントを返します。 |
GenerationType |
getGenerationType()
識別子の生成方法を示す列挙型を返します。 |
int |
getInitialValue()
識別子の初期値を返します。 |
int |
getLength()
長さを返します。 |
java.lang.String |
getName()
名前を返します。 |
int |
getPrecision()
精度を返します。 |
TemporalType |
getPrimaryTemporalType()
優先する時制の種別を返します。 |
int |
getScale()
スケールを返します。 |
TemporalType |
getTemporalType()
時制の種別を返します。 |
boolean |
isId()
識別子の場合 true を返します。 |
boolean |
isLob()
LOB の場合true を返します。 |
boolean |
isNullable()
NULL可能の場合 true を返します。 |
boolean |
isTemporal()
時制を表す場合 true を返します。 |
boolean |
isTransient()
一時的の場合 true を返します。 |
boolean |
isUnique()
一意の場合 true 、そうでない場合false を返します。 |
boolean |
isUnsupportedColumnType()
サポートされていないカラム型の場合 true を返します。 |
boolean |
isVersion()
バージョンの場合 true を返します。 |
void |
setAllocationSize(int allocationSize)
識別子の割り当てサイズを設定します。 |
void |
setAttributeClass(java.lang.Class<?> attributeClass)
属性のクラスを設定します。 |
void |
setColumnDefinition(java.lang.String columnDefinition)
カラム定義を設定します。 |
void |
setColumnName(java.lang.String columnName)
カラムの名前を設定します。 |
void |
setColumnTypeName(java.lang.String columnTypeName)
カラムの型名を設定します。 |
void |
setComment(java.lang.String comment)
コメントを設定します。 |
void |
setGenerationType(GenerationType generationType)
識別子の生成方法を示す列挙型を設定します。 |
void |
setId(boolean id)
識別子の場合 true を設定します。 |
void |
setInitialValue(int initialValue)
識別子の初期値を設定します。 |
void |
setLength(int length)
長さを設定します。 |
void |
setLob(boolean lob)
LOB の場合true を設定します。 |
void |
setName(java.lang.String name)
名前を設定します。 |
void |
setNullable(boolean nullable)
NULL可能の場合 true を設定します。 |
void |
setPrecision(int precision)
精度を設定します。 |
void |
setPrimaryTemporalType(TemporalType primaryTemporalType)
優先する時制の種別を設定します。 |
void |
setScale(int scale)
スケールを設定します。 |
void |
setTransient(boolean trnsient)
一時的の場合 true を設定します。 |
void |
setUnique(boolean unique)
一意の場合 true 、そうでない場合false を設定します。 |
void |
setUnsupportedColumnType(boolean unsupportedColumnType)
サポートされていないカラム型の場合 true を設定します。 |
void |
setVersion(boolean version)
バージョンの場合 true を設定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String name
protected java.lang.Class<?> attributeClass
protected boolean id
true
protected GenerationType generationType
null
protected int initialValue
protected int allocationSize
protected boolean version
true
protected boolean trnsient
true
protected boolean lob
LOB
の場合true
protected java.lang.String columnName
protected int length
protected int precision
protected int scale
protected boolean nullable
true
protected boolean unique
true
protected java.lang.String columnDefinition
protected java.lang.String columnTypeName
protected boolean unsupportedColumnType
true
protected java.lang.String comment
protected TemporalType primaryTemporalType
コンストラクタの詳細 |
---|
public AttributeDesc()
メソッドの詳細 |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- 名前public java.lang.Class<?> getAttributeClass()
public void setAttributeClass(java.lang.Class<?> attributeClass)
attributeClass
- 属性のクラスpublic boolean isId()
true
を返します。
true
、そうでなければfalse
public void setId(boolean id)
true
を設定します。
id
- 識別子の場合true
public boolean isTemporal()
true
を返します。
true
public TemporalType getTemporalType()
null
public boolean isVersion()
true
を返します。
true
、そうでなければfalse
public void setVersion(boolean version)
true
を設定します。
version
- バージョンの場合true
public boolean isTransient()
true
を返します。
true
、そうでなければfalse
public void setTransient(boolean trnsient)
true
を設定します。
trnsient
- 一時的の場合true
public boolean isLob()
LOB
の場合true
を返します。
LOB
の場合true
、そうでなければfalse
public void setLob(boolean lob)
LOB
の場合true
を設定します。
lob
- LOB
の場合true
public java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
columnName
- カラムの名前public int getLength()
public void setLength(int length)
length
- 長さpublic int getPrecision()
public void setPrecision(int precision)
precision
- 精度public int getScale()
public void setScale(int scale)
scale
- スケールpublic boolean isNullable()
true
を返します。
true
、そうでない場合false
public void setNullable(boolean nullable)
true
を設定します。
nullable
- NULL可能の場合true
public boolean isUnique()
true
、そうでない場合false
を返します。
true
、そうでない場合false
public void setUnique(boolean unique)
true
、そうでない場合false
を設定します。
unique
- 一意の場合true
public java.lang.String getColumnDefinition()
public void setColumnDefinition(java.lang.String columnDefinition)
columnDefinition
- カラム定義public java.lang.String getColumnTypeName()
public void setColumnTypeName(java.lang.String columnTypeName)
columnTypeName
- カラムの型名public boolean isUnsupportedColumnType()
true
を返します。
true
、そうでない場合false
public void setUnsupportedColumnType(boolean unsupportedColumnType)
true
を設定します。
unsupportedColumnType
- サポートされていないカラム型の場合true
、そうでない場合false
public GenerationType getGenerationType()
null
public void setGenerationType(GenerationType generationType)
generationType
- 識別子の生成方法を示す列挙型、生成しない場合null
public int getInitialValue()
public void setInitialValue(int initialValue)
initialValue
- 識別子の初期値public int getAllocationSize()
public void setAllocationSize(int allocationSize)
allocationSize
- 識別子の割り当てサイズpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- コメントpublic TemporalType getPrimaryTemporalType()
null
public void setPrimaryTemporalType(TemporalType primaryTemporalType)
primaryTemporalType
- 優先する時制の種別
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |