Class SecurityTokenRowMapper

java.lang.Object
net.solarnetwork.node.dao.jdbc.sectok.SecurityTokenRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken>

public class SecurityTokenRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken>
Row mapper for SecurityToken entities.

Expects column in the following order:

  1. id
  2. created
  3. tok_sec
  4. disp_name
  5. description
Version:
1.0
Author:
matt
  • Field Details

    • INSTANCE

      public static final org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken> INSTANCE
      A default instance.
  • Constructor Details

    • SecurityTokenRowMapper

      public SecurityTokenRowMapper()
  • Method Details

    • mapRow

      public net.solarnetwork.node.domain.SecurityToken mapRow(ResultSet rs, int rowNum) throws SQLException
      Specified by:
      mapRow in interface org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken>
      Throws:
      SQLException