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
ConstructorDescriptionDefaultJpaEntityMetadata
(Class<T> domainType) Creates a newDefaultJpaEntityMetadata
for the given domain type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the entity.
-
Constructor Details
-
DefaultJpaEntityMetadata
Creates a newDefaultJpaEntityMetadata
for the given domain type.- Parameters:
domainType
- must not be null.
-
-
Method Details
-
getJavaType
- Specified by:
getJavaType
in interfaceorg.springframework.data.repository.core.EntityMetadata<T>
-
getEntityName
Description copied from interface:JpaEntityMetadata
Returns the name of the entity.- Specified by:
getEntityName
in interfaceJpaEntityMetadata<T>
- Returns:
-