Package com.rosivanyshyn.db.dao.implMySQL

# Interface GenericDAOImpl.ExtractEntity<T>

Type Parameters:
  `T` - Type of Entity

Enclosing class:
  `GenericDAOImpl<T>`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface GenericDAOImpl.ExtractEntity<T>
Extract entity from ResultSet in JavaBean

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `extractEntity(ResultSet rs)`
  Example - `
  User user = new User
  user.setId(rs.getInt(1));
  user.setName(rs.getString("name"));
  return user`

- ## Method Details

  - ### extractEntity

    T extractEntity(ResultSet rs) throws SQLException
    Example - `
    User user = new User
    user.setId(rs.getInt(1));
    user.setName(rs.getString("name"));
    return user`
    Returns:
      T - Filled Entity
    Throws:
      `SQLException`