Class DefaultJpaEntityMetadata<T>
java.lang.Object
org.springframework.data.jpa.repository.query.DefaultJpaEntityMetadata<T>
- All Implemented Interfaces:
JpaEntityMetadata<T>,org.springframework.data.repository.core.EntityMetadata<T>
Default implementation for
JpaEntityMetadata.- Author:
- Oliver Gierke, Christoph Strobl
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultJpaEntityMetadata(Class<T> domainType) Creates a newDefaultJpaEntityMetadatafor the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the entity.
-
Constructor Details
-
DefaultJpaEntityMetadata
Creates a newDefaultJpaEntityMetadatafor the given domain type.- Parameters:
domainType- must not be null.
-
-
Method Details
-
getJavaType
- Specified by:
getJavaTypein interfaceorg.springframework.data.repository.core.EntityMetadata<T>
-
getEntityName
Description copied from interface:JpaEntityMetadataReturns the name of the entity.- Specified by:
getEntityNamein interfaceJpaEntityMetadata<T>- Returns:
-