インターフェースの使用
org.springframework.data.mapping.PersistentEntity
PersistentEntity を使用するパッケージ
パッケージ
説明
データストアの抽象化からオブジェクトを読み取り、書き戻す汎用変換フレームワーク。
マッピングサブシステムのベースパッケージ。
コンテキスト API と実装ベースクラスのマッピング。
マッピングサブシステムのモデルのコア実装。
さまざまなデータストアのリポジトリを実装するための基本クラス。
リポジトリプログラミングモデルとサードパーティフレームワークの統合のためのサポートクラス。
org.springframework.data.convert 内の PersistentEntity 使用
PersistentEntity 型の型パラメーターを持つ org.springframework.data.convert のクラス修飾子と型インターフェース説明interface
EntityConverter<E extends PersistentEntity<?,
P>, P extends PersistentProperty<P>, T, S> 型の型引数を持つ org.springframework.data.convert のコンストラクターパラメーター PersistentEntity修飾子コンストラクター説明DefaultTypeMapper
(TypeAliasAccessor<S> accessor, MappingContext<? extends PersistentEntity<?, ?>, ?> mappingContext, ListSE<? extends TypeInformationMapper> additionalMappers) DtoInstantiatingConverter
(ClassSE<?> dtoType, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> context, EntityInstantiators instantiators) DTO をインスタンス化するための新しいConverter
を作成します。MappingContextTypeInformationMapper
(MappingContext<? extends PersistentEntity<?, ?>, ?> mappingContext) 指定されたMappingContext
からMappingContextTypeInformationMapper
を作成します。org.springframework.data.mapping 内の PersistentEntity 使用
型 PersistentEntity のパラメーターを持つ org.springframework.data.mapping のコンストラクター修飾子コンストラクター説明Parameter
(StringSE name, TypeInformation<T> type, AnnotationSE[] annotations, PersistentEntity<T, P> entity) org.springframework.data.mapping.context 内の PersistentEntity 使用
PersistentEntity 型の型パラメーターを持つ org.springframework.data.mapping.context のクラス修飾子と型インターフェース説明interface
MappingContext<E extends PersistentEntity<?,
P>, P extends PersistentProperty<P>> このインターフェースは、すべての既知の PersistentEntity インスタンスとオンデマンドでインスタンスを取得するメソッドを含む全体的なコンテキストを定義します。これは、エンティティ間の関連付けを確立するために内部で使用され、実行時に名前でエンティティを取得するためにも使用されます。class
MappingContextEvent<E extends PersistentEntity<?,
P>, P extends PersistentProperty<P>> PersistentEntity
を参照するApplicationEvent
の基本実装。修飾子と型メソッド説明PersistentEntity<?,
?> PersistentEntities.getEntityUltimatelyReferredToBy
(PersistentProperty<?> property) 関連付けの場合、指定されたPersistentProperty
が参照するPersistentEntity
を返します。PersistentEntity<?,
? extends PersistentProperty<?>> PersistentEntities.getRequiredPersistentEntity
(ClassSE<?> type) 指定された型のPersistentEntity
を返します。型 PersistentEntity の引数を持つ型を返す org.springframework.data.mapping.context のメソッド修飾子と型メソッド説明OptionalSE<PersistentEntity<?,
? extends PersistentProperty<?>>> PersistentEntities.getPersistentEntity
(ClassSE<?> type) 指定された型のPersistentEntity
を返します。IteratorSE<PersistentEntity<?,
? extends PersistentProperty<?>>> PersistentEntities.iterator()
型 PersistentEntity の型引数を持つ org.springframework.data.mapping.context のメソッドパラメーター修飾子と型メソッド説明<T> OptionalSE<T>
PersistentEntities.mapOnContext
(ClassSE<?> type, BiFunctionSE<MappingContext<?, ? extends PersistentProperty<?>>, PersistentEntity<?, ?>, T> combiner) org.springframework.data.mapping.model 内の PersistentEntity 使用
org.springframework.data.mapping.model 内の PersistentEntity サブインターフェース修飾子と型インターフェース説明interface
MutablePersistentEntity<T,
P extends PersistentProperty<P>> PersistentEntity
のミューテーターメソッドをキャプチャーするインターフェース。PersistentEntity を実装している org.springframework.data.mapping.model のクラス修飾子と型クラス説明class
BasicPersistentEntity<T,
P extends PersistentProperty<P>> PersistentEntity
の情報をキャプチャーする単純な値オブジェクト。型 PersistentEntity の型パラメーターを使用した org.springframework.data.mapping.model のメソッド修飾子と型メソッド説明<T,
E extends PersistentEntity<? extends T, P>, P extends PersistentProperty<P>>
TEntityInstantiator.createInstance
(E entity, ParameterValueProvider<P> provider) 指定されたソースを使用してデータをプルすることにより、指定されたエンティティの新しいインスタンスを作成します。型 PersistentEntity のパラメーターを持つ org.springframework.data.mapping.model のメソッド修飾子と型メソッド説明static <T,
P extends PersistentProperty<P>>
PreferredConstructor<T,P> PreferredConstructorDiscoverer.discover
(PersistentEntity<T, P> entity) 指定されたPersistentEntity
のPreferredConstructorDiscoverer
を検出します。EntityInstantiators.getInstantiatorFor
(PersistentEntity<?, ?> entity) 指定されたPersistentEntity
の作成に使用されるEntityInstantiator
を返します。<T> PersistentPropertyAccessor<T>
BeanWrapperPropertyAccessorFactory.getPropertyAccessor
(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>
ClassGeneratingPropertyAccessorFactory.getPropertyAccessor
(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>
InstantiationAwarePropertyAccessorFactory.getPropertyAccessor
(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>
PersistentPropertyAccessorFactory.getPropertyAccessor
(PersistentEntity<?, ?> entity, T bean) boolean
BeanWrapperPropertyAccessorFactory.isSupported
(PersistentEntity<?, ?> entity) boolean
ClassGeneratingPropertyAccessorFactory.isSupported
(PersistentEntity<?, ?> entity) アクセサークラスを生成できるかどうかを確認します。boolean
InstantiationAwarePropertyAccessorFactory.isSupported
(PersistentEntity<?, ?> entity) boolean
PersistentPropertyAccessorFactory.isSupported
(PersistentEntity<?, ?> entity) 指定されたPersistentEntity
がこのPersistentPropertyAccessorFactory
でサポートされているかどうかを返します。型 PersistentEntity のパラメーターを持つ org.springframework.data.mapping.model のコンストラクター修飾子コンストラクター説明AbstractPersistentProperty
(Property property, PersistentEntity<?, P> owner, SimpleTypeHolder simpleTypeHolder) AnnotationBasedPersistentProperty
(Property property, PersistentEntity<?, P> owner, SimpleTypeHolder simpleTypeHolder) 新しいAnnotationBasedPersistentProperty
を作成します。IdPropertyIdentifierAccessor
(PersistentEntity<?, ?> entity, ObjectSE target) MappingInstantiationException
(PersistentEntity<?, ?> entity, ListSE<ObjectSE> arguments, ExceptionSE cause) 指定されたPersistentEntity
、コンストラクター引数、原因となる例外に対して新しいMappingInstantiationException
を作成します。PersistentEntityParameterValueProvider
(PersistentEntity<?, P> entity, PropertyValueProvider<P> provider, ObjectSE parent) org.springframework.data.repository.core.support 内の PersistentEntity 使用
修飾子と型メソッド説明PersistentEntity<?,
?> RepositoryFactoryBeanSupport.getPersistentEntity()
PersistentEntity<?,
?> RepositoryFactoryInformation.getPersistentEntity()
基礎となるリポジトリによって管理されるPersistentEntity
を返します。型 PersistentEntity のパラメーターを持つ org.springframework.data.repository.core.support のコンストラクター修飾子コンストラクター説明PersistentEntityInformation
(PersistentEntity<T, ? extends PersistentProperty<?>> persistentEntity) org.springframework.data.repository.support 内の PersistentEntity 使用
修飾子と型メソッド説明PersistentEntity<?,
?> Repositories.getPersistentEntity
(ClassSE<?> domainClass) 指定されたドメインクラスのPersistentEntity
を返します。