|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.entity.BasicPropertyType<E,V>
org.seasar.doma.jdbc.entity.VersionPropertyType<E,V>
public abstract class VersionPropertyType<E,V extends Number>
バージョンのプロパティ型です。
| フィールドの概要 |
|---|
| クラス org.seasar.doma.jdbc.entity.BasicPropertyType から継承されたフィールド |
|---|
columnName, entityPropertyClass, insertable, name, updatable |
| コンストラクタの概要 | |
|---|---|
protected |
VersionPropertyType(Class<V> entityPropertyClass,
String name,
String columnName)
インスタンスを構築します。 |
| メソッドの概要 | |
|---|---|
abstract NumberWrapper<V> |
getWrapper(E entity)
値のラッパーを返します。 |
void |
increment(E entity)
バージョン番号をインクリメントします。 |
boolean |
isVersion()
バージョンかどうかを返します。 |
void |
setIfNecessary(E entity,
Number value)
必要であればバージョンの値を設定します。 |
| クラス org.seasar.doma.jdbc.entity.BasicPropertyType から継承されたメソッド |
|---|
accept, getColumnName, getName, getType, isId, isInsertable, isUpdatable |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
protected VersionPropertyType(Class<V> entityPropertyClass,
String name,
String columnName)
entityPropertyClass - プロパティのクラスname - プロパティの名前columnName - カラム名| メソッドの詳細 |
|---|
public boolean isVersion()
EntityPropertyType の記述:
EntityPropertyType<E,V extends Number> 内の isVersionBasicPropertyType<E,V extends Number> 内の isVersiontrue
public void setIfNecessary(E entity,
Number value)
entity - エンティティvalue - バージョンの値public void increment(E entity)
entity - エンティティpublic abstract NumberWrapper<V> getWrapper(E entity)
EntityPropertyType の記述:
entity - エンティティ
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||