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:
- id
- created
- tok_sec
- disp_name
- description
- Version:
- 1.0
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken>A default instance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
public static final org.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken> INSTANCEA 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:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<net.solarnetwork.node.domain.SecurityToken>- Throws:
SQLException
-