public Optional < String > findGenerateKeyColumnName ( final String logicTableName ) { for ( TableRule each : tableRules ) { if ( each . getLogicTable ( ) . equalsIgnoreCase ( logicTableName ) && null != each . getGenerateKeyColumn ( ) ) { return Optional . of ( each . getGenerateKeyColumn ( ) ) ; } } return Optional . absent ( ) ; }
Find column name of generated key .