クラス JpaMetamodelMappingContext
java.lang.ObjectSE
org.springframework.data.mapping.context.AbstractMappingContext <org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>、JpaPersistentProperty >
org.springframework.data.jpa.mapping.JpaMetamodelMappingContext
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、InitializingBean、ApplicationContextAware、ApplicationEventPublisherAware、EnvironmentAware、MappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,JpaPersistentProperty>
public class JpaMetamodelMappingContext
extends AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,JpaPersistentProperty>
Jpa
Metamodel に基づく MappingContext 実装。- 導入:
- 1.3
- 作成者:
- Oliver Gierke, Christoph Strobl, Mark Paluch, David Madden
コンストラクターの概要
コンストラクターコンストラクター説明JpaMetamodelMappingContext(SetSE<jakarta.persistence.metamodel.Metamodel> models) 新しい JPAMetamodelベースのMappingContextを作成します。メソッドのサマリー
修飾子と型メソッド説明protected <T> org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>createPersistentEntity(TypeInformation<T> typeInformation) protected JpaPersistentPropertycreatePersistentProperty(Property property, org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?> owner, SimpleTypeHolder simpleTypeHolder) findPersistentPropertyPaths(ClassSE<T> type, PredicateSE<? super JpaPersistentProperty> predicate) 埋め込み可能なプロパティをトラバースすることにより、PersistentPropertyPathsのルックアップをカスタマイズします。booleanhasPersistentEntityFor(ClassSE<?> type) protected booleanクラス org.springframework.data.mapping.context.AbstractMappingContext から継承されたメソッド
addPersistentEntity, addPersistentEntity, afterPropertiesSet, doFindPersistentPropertyPaths, getManagedTypes, getPersistentEntities, getPersistentEntity, getPersistentEntity, getPersistentEntity, getPersistentPropertyPath, getPersistentPropertyPath, getPersistentPropertyPath, initialize, setApplicationContext, setApplicationEventPublisher, setBeanFactory, setEnvironment, setInitialEntitySet, setManagedTypes, setSimpleTypeHolder, setStrict, shouldCreatePropertiesクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.mapping.context.MappingContext から継承されたメソッド
getRequiredPersistentEntity, getRequiredPersistentEntity, getRequiredPersistentEntity
コンストラクターの詳細
JpaMetamodelMappingContext
新しい JPAMetamodelベースのMappingContextを作成します。- パラメーター:
models- null または空であってはなりません。
メソッドの詳細
createPersistentEntity
protected <T> org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?> createPersistentEntity(TypeInformation<T> typeInformation) - 次で指定:
- クラス
AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> createPersistentEntity
createPersistentProperty
protected JpaPersistentProperty createPersistentProperty(Property property, org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?> owner, SimpleTypeHolder simpleTypeHolder) - 次で指定:
- クラス
AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> createPersistentProperty
shouldCreatePersistentEntityFor
- オーバーライド:
- クラス
AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> shouldCreatePersistentEntityFor
findPersistentPropertyPaths
public <T> PersistentPropertyPaths<T,JpaPersistentProperty> findPersistentPropertyPaths(ClassSE<T> type, PredicateSE<? super JpaPersistentProperty> predicate) 埋め込み可能なプロパティをトラバースすることにより、PersistentPropertyPathsのルックアップをカスタマイズします。- 次で指定:
- インターフェース
MappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> findPersistentPropertyPaths - オーバーライド:
- クラス
AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> findPersistentPropertyPaths - 関連事項:
hasPersistentEntityFor
- 次で指定:
- インターフェース
MappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> hasPersistentEntityFor - オーバーライド:
- クラス
AbstractMappingContext<org.springframework.data.jpa.mapping.JpaPersistentEntityImpl<?>,のJpaPersistentProperty> hasPersistentEntityFor