|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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
の場合true
public void setLob(boolean lob)
LOB
の場合true
を設定します。
lob
- LOB
の場合true
public boolean isTransient()
true
を返します。
true
public void setTransient(boolean trnsient)
true
を設定します。
trnsient
- 一時的の場合true
public boolean isVersion()
true
を返します。
true
public void setVersion(boolean version)
true
を設定します。
version
- バージョンの場合true
public boolean isNullable()
true
を返します。
true
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.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
、そうでない場合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
- コメント
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |