public class SingleUseEntityMapper extends Object
| Constructor and Description |
|---|
SingleUseEntityMapper(MetaData mappingMetaData,
EntityFactory entityFactory)
Compatibility constructor for SDN 5.0 and 5.1
|
SingleUseEntityMapper(MetaData mappingMetaData,
EntityInstantiator entityInstantiator)
Constructs a new
SingleUseEntityMapper based on the given mapping MetaData. |
public SingleUseEntityMapper(MetaData mappingMetaData, EntityFactory entityFactory)
mappingMetaData - The MetaData to use for performing mappingsentityFactory - The entity factory to use.public SingleUseEntityMapper(MetaData mappingMetaData, EntityInstantiator entityInstantiator)
SingleUseEntityMapper based on the given mapping MetaData.mappingMetaData - The MetaData to use for performing mappingsentityInstantiator - The entity factory to use.public <T> T map(Class<T> type, String[] columnNames, RowModel rowModel)
T - The class of object to returntype - The Class denoting the type of object to createcolumnNames - The names of the columns in each row of the resultrowModel - The RowModel containing the data to mapT populated with the data in the specified row modelCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.