|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.EntityPropertyDesc
public class EntityPropertyDesc
エンティティプロパティ記述です。
フィールドの概要 | |
---|---|
protected Long |
allocationSize
識別子の割り当てサイズ |
protected String |
columnName
カラム名 |
protected String |
comment
コメント |
protected boolean |
date
日付を表す場合 true |
protected String |
entityClassName
エンティティのクラス名 |
protected GenerationType |
generationType
識別子の生成方法を示す方法、生成しない場合 null |
protected boolean |
id
識別子の場合 true |
protected Long |
initialValue
識別子の初期値 |
protected String |
name
名前 |
protected boolean |
number
数値を表す場合 true |
protected String |
propertyClassName
プロパティクラス名 |
protected boolean |
showColumnName
カラム名を表示する場合 true |
protected boolean |
time
時刻を表す場合 true |
protected boolean |
timestamp
タイムスタンプを表す場合 true |
protected boolean |
version
バージョンの場合 true |
コンストラクタの概要 | |
---|---|
EntityPropertyDesc()
|
メソッドの概要 | |
---|---|
Long |
getAllocationSize()
識別子の割り当てサイズを返します。 |
String |
getColumnName()
カラム名を返します。 |
String |
getComment()
コメントを返します。 |
String |
getEntityClassName()
エンティティのクラス名を返します。 |
GenerationType |
getGenerationType()
識別子の生成方法を示す方法を返します。 |
Long |
getInitialValue()
識別子の初期値を返します。 |
String |
getName()
名前を返します。 |
String |
getPropertyClassName()
プロパティクラス名を返します。 |
String |
getPropertyClassSimpleName()
プロパティクラスの単純名を返します。 |
boolean |
isDate()
日付を表す場合 true を返します。 |
boolean |
isId()
識別子の場合 true を返します。 |
boolean |
isNumber()
数値を表す場合 true を返します。 |
boolean |
isShowColumnName()
カラム名を表示する場合 true を返します。 |
boolean |
isTime()
時刻を表す場合 true を返します。 |
boolean |
isTimestamp()
タイムスタンプを表す場合 true を返します。 |
boolean |
isVersion()
バージョンの場合 true を返します。 |
void |
setAllocationSize(Long allocationSize)
識別子の割り当てサイズを設定します。 |
void |
setColumnName(String columnName)
カラム名を設定します。 |
void |
setComment(String comment)
コメントを設定します。 |
void |
setDate(boolean date)
日付を表す場合 true を設定します。 |
void |
setEntityClassName(String entityClassName)
エンティティのクラス名を設定します。 |
void |
setGenerationType(GenerationType generationType)
識別子の生成方法を示す方法を設定します。 |
void |
setId(boolean id)
識別子の場合 true を設定します。 |
void |
setInitialValue(Long initialValue)
識別子の初期値を設定します。 |
void |
setName(String name)
名前を設定します。 |
void |
setNumber(boolean number)
数値を表す場合 true を設定します。 |
void |
setPropertyClassName(String propertyClassName)
プロパティクラス名を設定します。 |
void |
setShowColumnName(boolean showColumnName)
カラム名を表示する場合 true を設定します。 |
void |
setTime(boolean time)
時刻を表す場合 true を設定します。 |
void |
setTimestamp(boolean timestamp)
タイムスタンプを表す場合 true を設定します。 |
void |
setVersion(boolean version)
バージョンの場合 true を設定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected String name
protected String propertyClassName
protected boolean id
true
protected GenerationType generationType
null
protected Long initialValue
protected Long allocationSize
protected boolean version
true
protected String columnName
protected String comment
protected boolean showColumnName
true
protected boolean number
true
protected boolean time
true
protected boolean date
true
protected boolean timestamp
true
protected String entityClassName
コンストラクタの詳細 |
---|
public EntityPropertyDesc()
メソッドの詳細 |
---|
public void setName(String name)
name
- 名前public String getName()
public String getPropertyClassName()
public void setPropertyClassName(String propertyClassName)
propertyClassName
- プロパティクラス名public String getPropertyClassSimpleName()
public void setId(boolean id)
true
を設定します。
id
- 識別子の場合 true
public boolean isId()
true
を返します。
true
public void setGenerationType(GenerationType generationType)
generationType
- 識別子の生成方法を示す方法、生成しない場合 null
public GenerationType getGenerationType()
null
public void setInitialValue(Long initialValue)
initialValue
- 識別子の初期値public Long getInitialValue()
public void setAllocationSize(Long allocationSize)
allocationSize
- 識別子の割り当てサイズpublic Long getAllocationSize()
public void setVersion(boolean version)
true
を設定します。
version
- バージョンの場合 true
public boolean isVersion()
true
を返します。
true
public void setColumnName(String columnName)
columnName
- カラム名public String getColumnName()
public void setComment(String comment)
comment
- コメントpublic String getComment()
public boolean isShowColumnName()
true
を返します。
true
public void setShowColumnName(boolean showColumnName)
true
を設定します。
showColumnName
- カラム名を表示する場合 true
public boolean isNumber()
true
を返します。
public void setNumber(boolean number)
true
を設定します。
number
- 数値を表す場合 true
public boolean isTime()
true
を返します。
true
public void setTime(boolean time)
true
を設定します。
time
- 時刻を表す場合 true
public boolean isDate()
true
を返します。
true
public void setDate(boolean date)
true
を設定します。
date
- 日付を表す場合 true
public boolean isTimestamp()
true
を返します。
true
public void setTimestamp(boolean timestamp)
true
を設定します。
timestamp
- タイムスタンプを表す場合 true
public String getEntityClassName()
public void setEntityClassName(String entityClassName)
entityClassName
- エンティティのクラス名
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |