|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.model.AttributeModel
public class AttributeModel
エンティティの属性モデルです。
| フィールドの概要 | |
|---|---|
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 java.lang.Integer |
length
長さ |
protected boolean |
lob
LOBの場合true |
protected java.lang.String |
name
名前 |
protected boolean |
nullable
NULL可能の場合 true |
protected java.lang.Integer |
precision
精度 |
protected java.lang.Integer |
scale
スケール |
protected TemporalType |
temporalType
時制の種別 |
protected boolean |
trnsient
一時的の場合 true |
protected boolean |
unique
一意の場合 true、そうでない場合false |
protected boolean |
unsupportedColumnType
サポートされていないカラム型の場合 true |
protected boolean |
version
バージョンの場合 true |
| コンストラクタの概要 | |
|---|---|
AttributeModel()
|
|
| メソッドの概要 | |
|---|---|
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()
識別子の初期値を返します。 |
java.lang.Integer |
getLength()
長さを返します。 |
java.lang.String |
getName()
名前を返します。 |
java.lang.Integer |
getPrecision()
精度を返します。 |
java.lang.Integer |
getScale()
スケールを返します。 |
TemporalType |
getTemporalType()
時制の種別を返します。 |
boolean |
isId()
識別子を返します。 |
boolean |
isLob()
LOBの場合trueを返します。 |
boolean |
isNullable()
NULL可能の場合 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)
識別子を設定します。 |
void |
setInitialValue(int initialValue)
識別子の初期値を設定します。 |
void |
setLength(java.lang.Integer length)
長さを設定します。 |
void |
setLob(boolean lob)
LOBの場合trueを設定します。 |
void |
setName(java.lang.String name)
名前を設定します。 |
void |
setNullable(boolean nullable)
NULL可能の場合 trueを設定します。 |
void |
setPrecision(java.lang.Integer precision)
精度を設定します。 |
void |
setScale(java.lang.Integer scale)
スケールを設定します。 |
void |
setTemporalType(TemporalType temporalType)
時制の種別を設定します。 |
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 TemporalType temporalType
protected boolean version
true
protected boolean trnsient
true
protected boolean lob
LOBの場合true
protected boolean nullable
true
protected boolean unique
true、そうでない場合false
protected java.lang.Integer length
protected java.lang.Integer precision
protected java.lang.Integer scale
protected java.lang.String columnName
protected java.lang.String columnDefinition
protected java.lang.String columnTypeName
protected boolean unsupportedColumnType
true
protected java.lang.String comment
| コンストラクタの詳細 |
|---|
public AttributeModel()
| メソッドの詳細 |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - 名前public boolean isId()
public void setId(boolean id)
id - 識別子public boolean isLob()
LOBの場合trueを返します。
LOBの場合truepublic void setLob(boolean lob)
LOBの場合trueを設定します。
lob - LOBの場合truepublic boolean isTransient()
trueを返します。
truepublic void setTransient(boolean trnsient)
trueを設定します。
trnsient - 一時的の場合truepublic boolean isVersion()
trueを返します。
truepublic void setVersion(boolean version)
trueを設定します。
version - バージョンの場合truepublic boolean isNullable()
trueを返します。
truepublic void setNullable(boolean nullable)
trueを設定します。
nullable - NULL可能の場合truepublic boolean isUnique()
true、そうでない場合falseを返します。
true、そうでない場合falsepublic void setUnique(boolean unique)
true、そうでない場合falseを設定します。
unique - 一意の場合truepublic java.lang.Integer getLength()
public void setLength(java.lang.Integer length)
length - 長さpublic java.lang.Integer getPrecision()
public void setPrecision(java.lang.Integer precision)
precision - 精度public java.lang.Integer getScale()
public void setScale(java.lang.Integer scale)
scale - スケールpublic TemporalType getTemporalType()
public void setTemporalType(TemporalType temporalType)
temporalType - 時制の種別public java.lang.Class<?> getAttributeClass()
public void setAttributeClass(java.lang.Class<?> attributeClass)
attributeClass - 属性のクラスpublic java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
columnName - カラム名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、そうでない場合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 - コメント
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||