Class OneTimeCodeRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.ott.OneTimeCodeRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<OneTimeCode>
@Component
public class OneTimeCodeRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<OneTimeCode>
Maps a row of the
ott_codes table to a OneTimeCode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
OneTimeCodeRowMapper
public OneTimeCodeRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<OneTimeCode>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the code.
- Throws:
SQLException- if a column cannot be read.
-