クラス EntityProjection.ContainerPropertyProjection<M, D>
java.lang.ObjectSE
org.springframework.data.projection.EntityProjection<M,D>
org.springframework.data.projection.EntityProjection.PropertyProjection<M,D>
org.springframework.data.projection.EntityProjection.ContainerPropertyProjection<M,D>
- 型パラメーター:
M- ドメイン型のビューとして機能するマップされた型。D- ドメイン型。
- 実装されているすべてのインターフェース:
IterableSE<EntityProjection.PropertyProjection<?,、?>> SupplierSE<StreamSE<EntityProjection.PropertyProjection<?,、?>>> Streamable<EntityProjection.PropertyProjection<?,?>>
- 含まれているクラス:
- EntityProjection<M,
D>
public static class EntityProjection.ContainerPropertyProjection<M,D>
extends EntityProjection.PropertyProjection<M,D>
CollectionSE -like または MapSE -like コンテナー内に保持されている、潜在的な射影に沿ったプロパティレベルの型の記述子。コンテナー内のプロパティパスは、深くラップされていない実際の型のコンテナーをルート型として使用し、ルートエンティティにすぐに関連付けることはできないためです。ネストされたクラスの要約
クラス org.springframework.data.projection.EntityProjection から継承されたネストクラス / インターフェース
EntityProjection.ContainerPropertyProjection<M,D>, EntityProjection.ProjectionType, EntityProjection.PropertyProjection<M, D> メソッドのサマリー
修飾子と型メソッド説明static <M,D> EntityProjection.ContainerPropertyProjection<M, D> nonProjecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) マップされた型の非投影バリアントを作成します。static <M,D> EntityProjection.ContainerPropertyProjection<M, D> projecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, ListSE<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) マップされた型の投影バリアントを作成します。クラス org.springframework.data.projection.EntityProjection.PropertyProjection から継承されたメソッド
getPropertyPath, toStringクラス org.springframework.data.projection.EntityProjection から継承されたメソッド
findProperty, forEachRecursive, getActualDomainType, getActualMappedType, getDomainType, getMappedType, isClosedProjection, isProjection, iterator, nonProjecting, nonProjecting, projectingクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
メソッドの詳細
projecting
public static <M,D> EntityProjection.ContainerPropertyProjection<M,D> projecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, ListSE<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) マップされた型の投影バリアントを作成します。- パラメーター:
propertyPath- 実際のプロパティへのpath。mappedType- ターゲットの射影型。null であってはなりません。domainType- ソースドメイン型。null であってはなりません。properties- 含めるプロパティ。projectionType- null であってはなりません。- 戻り値:
EntityProjection.ContainerPropertyProjectionの新しいインスタンス。
nonProjecting
public static <M,D> EntityProjection.ContainerPropertyProjection<M,D> nonProjecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) マップされた型の非投影バリアントを作成します。- パラメーター:
propertyPath- 実際のプロパティへのpath。mappedType- ターゲットの射影型。null であってはなりません。domainType- ソースドメイン型。null であってはなりません。- 戻り値:
EntityProjection.ContainerPropertyProjectionの新しいインスタンス。