|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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、そうでなければfalsepublic void setId(boolean id)
trueを設定します。
id - 識別子の場合truepublic boolean isTemporal()
trueを返します。
truepublic TemporalType getTemporalType()
nullpublic boolean isVersion()
trueを返します。
true、そうでなければfalsepublic void setVersion(boolean version)
trueを設定します。
version - バージョンの場合truepublic boolean isTransient()
trueを返します。
true、そうでなければfalsepublic void setTransient(boolean trnsient)
trueを設定します。
trnsient - 一時的の場合truepublic boolean isLob()
LOBの場合trueを返します。
LOBの場合true、そうでなければfalsepublic void setLob(boolean lob)
LOBの場合trueを設定します。
lob - LOBの場合truepublic 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、そうでない場合falsepublic void setNullable(boolean nullable)
trueを設定します。
nullable - NULL可能の場合truepublic boolean isUnique()
true、そうでない場合falseを返します。
true、そうでない場合falsepublic void setUnique(boolean unique)
true、そうでない場合falseを設定します。
unique - 一意の場合truepublic 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、そうでない場合falsepublic void setUnsupportedColumnType(boolean unsupportedColumnType)
trueを設定します。
unsupportedColumnType - サポートされていないカラム型の場合true、そうでない場合falsepublic GenerationType getGenerationType()
nullpublic void setGenerationType(GenerationType generationType)
generationType - 識別子の生成方法を示す列挙型、生成しない場合nullpublic 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()
nullpublic void setPrimaryTemporalType(TemporalType primaryTemporalType)
primaryTemporalType - 優先する時制の種別
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||