Class JpaMetamodelEntityMetadata<T>
java.lang.Object
org.springframework.data.jpa.repository.query.JpaMetamodelEntityMetadata<T>
- All Implemented Interfaces:
JpaEntityMetadata<T>, EntityMetadata<T>
Metamodel-based implementation for
JpaEntityMetadata.- Since:
- 4.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionJpaMetamodelEntityMetadata(jakarta.persistence.metamodel.EntityType<T> entityType) Creates a newJpaMetamodelEntityMetadatafor the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the entity.
-
Constructor Details
-
JpaMetamodelEntityMetadata
Creates a newJpaMetamodelEntityMetadatafor the given domain type.- Parameters:
entityType- must not be null.
-
-
Method Details
-
getJavaType
- Specified by:
getJavaTypein interfaceEntityMetadata<T>
-
getEntityName
Description copied from interface:JpaEntityMetadataReturns the name of the entity.- Specified by:
getEntityNamein interfaceJpaEntityMetadata<T>- Returns:
-