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