protected final Class < T > getEntityClass ( ) { @ SuppressWarnings ( "unchecked" ) final Class < T > result = ( Class < T > ) TypeHelper . getTypeArguments ( JpaSearchRepository . class , this . getClass ( ) ) . get ( 0 ) ; return result ; }
Returns the class for the entity type associated with this repository .