Class BasicSolarNodeOwnershipRowMapper

java.lang.Object
net.solarnetwork.central.common.dao.jdbc.BasicSolarNodeOwnershipRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<SolarNodeOwnership>

public class BasicSolarNodeOwnershipRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<SolarNodeOwnership>
Map datum rows into BasicSolarNodeOwnership instances.

The expected column order in the SQL results is:

  1. node_id
  2. user_id
  3. country (optional)
  4. time zone (optional)
  5. private (optional)
  6. archived (optional)
  • Field Details

    • INSTANCE

      public static final org.springframework.jdbc.core.RowMapper<SolarNodeOwnership> INSTANCE
      A default instance.
  • Constructor Details

    • BasicSolarNodeOwnershipRowMapper

      public BasicSolarNodeOwnershipRowMapper()
  • Method Details