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>

public class DefaultJpaEntityMetadata<T> extends Object implements JpaEntityMetadata<T>
Default implementation for JpaEntityMetadata.
Author:
Oliver Gierke, Christoph Strobl
  • Constructor Details

    • DefaultJpaEntityMetadata

      public DefaultJpaEntityMetadata(Class<T> domainType)
      Creates a new DefaultJpaEntityMetadata for the given domain type.
      Parameters:
      domainType - must not be null.
  • Method Details

    • getJavaType

      public Class<T> getJavaType()
      Specified by:
      getJavaType in interface org.springframework.data.repository.core.EntityMetadata<T>
    • getEntityName

      public String getEntityName()
      Description copied from interface: JpaEntityMetadata
      Returns the name of the entity.
      Specified by:
      getEntityName in interface JpaEntityMetadata<T>
      Returns: