|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.entity.BasicPropertyType<PE,E,V,D>
public class BasicPropertyType<PE,E extends PE,V,D>
基本のプロパティ型です。
| 入れ子のクラスの概要 | |
|---|---|
protected static interface |
BasicPropertyType.AccessorFactory<E,V>
ラッパーのアクセサのファクトリです。 |
protected static class |
BasicPropertyType.DomainAccessorFactory<E,V,D>
ドメインのアクセサのファクトリです。 |
protected static class |
BasicPropertyType.DomainMapAccessorFactory<V,D>
ドメインのMap用アクセサのファクトリです。 |
protected static class |
BasicPropertyType.EnumWrapperFactory<V>
列挙型のラッパーのファクトリです。 |
protected static interface |
BasicPropertyType.MapAccessorFactory<V>
|
protected static class |
BasicPropertyType.ParentValueAccessorFactory<PE,E extends PE,V>
親の値のアクセサのファクトリです。 |
protected static class |
BasicPropertyType.ParentValueMapAccessorFactory<PE,E extends PE,V>
親の値のMap用アクセサのファクトリです。 |
protected static class |
BasicPropertyType.SimpleWrapperFactory<V>
単純なラッパーのファクトリです。 |
protected static class |
BasicPropertyType.ValueAccessorFactory<E,V>
値のアクセサのファクトリです。 |
protected static class |
BasicPropertyType.ValueMapAccessorFactory<V>
値のMap用アクセサのファクトリです。 |
protected static interface |
BasicPropertyType.WrapperFactory<V>
ラッパーのファクトリです。 |
| フィールドの概要 | |
|---|---|
protected BasicPropertyType.AccessorFactory<E,V> |
accessorFactory
ラッパーのアクセサのファクトリ |
protected String |
columnName
カラム名 |
protected DomainType<V,D> |
domainType
ドメインのメタタイプ |
protected Class<E> |
entityClass
エンティティのクラス |
protected Class<V> |
entityPropertyClass
プロパティのクラス |
protected Field |
field
プロパティのフィールド |
protected boolean |
insertable
挿入可能かどうか |
protected BasicPropertyType.MapAccessorFactory<V> |
mapAccessorFactory
ラッパーのMapアクセサのファクトリ |
protected String |
name
プロパティの名前 |
protected EntityPropertyType<PE,V> |
parentEntityPropertyType
親のエンティティのプロパティ型 |
protected boolean |
updatable
更新可能かどうか |
protected Class<?> |
wrapperClass
ラッパーのクラス |
protected BasicPropertyType.WrapperFactory<V> |
wrapperFactory
ラッパーのファクトリ |
| コンストラクタの概要 | |
|---|---|
BasicPropertyType(Class<E> entityClass,
Class<V> entityPropertyClass,
Class<?> wrapperClass,
EntityPropertyType<PE,V> parentEntityPropertyType,
DomainType<V,D> domainType,
String name,
String columnName,
boolean insertable,
boolean updatable)
インスタンスを構築します。 |
|
| メソッドの概要 | ||
|---|---|---|
|
accept(org.seasar.doma.internal.jdbc.criteria.CriterionVisitor<R,P,TH> visitor,
P p)
|
|
String |
getColumnName()
カラム名を返します。 |
|
Object |
getCopy(E entity)
エンティティからこのプロパティ型に対応する値をコピーして返します。 |
|
String |
getName()
プロパティの名前を返します。 |
|
Class<V> |
getType()
|
|
Wrapper<V> |
getWrapper(E entity)
値のラッパーを返します。 |
|
Wrapper<V> |
getWrapper(Map<String,Object> properties)
値のラッパーを返します。 |
|
boolean |
isId()
識別子かどうかを返します。 |
|
boolean |
isInsertable()
挿入可能かどうかを返します。 |
|
boolean |
isUpdatable()
更新可能かどうかを返します。 |
|
boolean |
isVersion()
バージョンかどうかを返します。 |
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final Class<E extends PE> entityClass
protected final Class<V> entityPropertyClass
protected final Class<?> wrapperClass
protected final EntityPropertyType<PE,V> parentEntityPropertyType
protected final DomainType<V,D> domainType
protected final String name
protected final String columnName
protected final boolean insertable
protected final boolean updatable
protected final Field field
protected final BasicPropertyType.WrapperFactory<V> wrapperFactory
protected final BasicPropertyType.AccessorFactory<E extends PE,V> accessorFactory
protected final BasicPropertyType.MapAccessorFactory<V> mapAccessorFactory
| コンストラクタの詳細 |
|---|
public BasicPropertyType(Class<E> entityClass,
Class<V> entityPropertyClass,
Class<?> wrapperClass,
EntityPropertyType<PE,V> parentEntityPropertyType,
DomainType<V,D> domainType,
String name,
String columnName,
boolean insertable,
boolean updatable)
entityClass - エンティティのクラスentityPropertyClass - プロパティのクラスwrapperClass - ラッパーのクラスparentEntityPropertyType - 親のエンティティのプロパティ型、親のエンティティを持たない場合 nulldomainType - ドメインのメタタイプ、ドメインでない場合 nullname - プロパティの名前columnName - カラム名insertable - 挿入可能かどうかupdatable - 更新可能かどうか| メソッドの詳細 |
|---|
public Object getCopy(E entity)
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の getCopyentity - エンティティ
public Wrapper<V> getWrapper(E entity)
EntityPropertyType<E extends PE,V> 内の getWrapperentity - エンティティ
public Wrapper<V> getWrapper(Map<String,Object> properties)
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の getWrapperproperties - エンティティプロパティのマップ
public String getName()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の getNamepublic String getColumnName()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の getColumnNamepublic boolean isId()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の isIdtruepublic boolean isVersion()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の isVersiontruepublic boolean isInsertable()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の isInsertabletruepublic boolean isUpdatable()
EntityPropertyType の記述:
EntityPropertyType<E extends PE,V> 内の isUpdatabletruepublic Class<V> getType()
org.seasar.doma.internal.jdbc.criteria.ColumnCriterion<V> 内の getType
public <R,P,TH extends Throwable> R accept(org.seasar.doma.internal.jdbc.criteria.CriterionVisitor<R,P,TH> visitor,
P p)
throws TH extends Throwable
org.seasar.doma.internal.jdbc.criteria.Criterion<V> 内の acceptTH extends Throwable
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||