Search in sources :

Example 1 with MetaHandlingMapToEntityMapper

use of org.dbflute.dbmeta.valuemap.MetaHandlingMapToEntityMapper in project dbflute-core by dbflute.

the class AbstractDBMeta method doConvertToEntity.

protected <ENTITY extends Entity> void doConvertToEntity(ENTITY entity, Map<String, ? extends Object> columnMap, boolean pkOnly) {
    final List<ColumnInfo> columnInfoList = pkOnly ? getPrimaryInfo().getPrimaryColumnList() : getColumnInfoList();
    final MetaHandlingMapToEntityMapper mapper = createMetaHandlingMapToEntityMapper(columnMap);
    mapper.mappingToEntity(entity, columnMap, columnInfoList);
}
Also used : MetaHandlingMapToEntityMapper(org.dbflute.dbmeta.valuemap.MetaHandlingMapToEntityMapper) ColumnInfo(org.dbflute.dbmeta.info.ColumnInfo)

Aggregations

ColumnInfo (org.dbflute.dbmeta.info.ColumnInfo)1 MetaHandlingMapToEntityMapper (org.dbflute.dbmeta.valuemap.MetaHandlingMapToEntityMapper)1