use of org.cerberus.crud.factory.impl.FactoryDeployType in project cerberus-source by cerberustesting.
the class DeployTypeDAO method loadFromResultSet.
@Override
public DeployType loadFromResultSet(ResultSet rs) throws SQLException {
String deployType = ParameterParserUtil.parseStringParam(rs.getString("deployType"), "");
String description = ParameterParserUtil.parseStringParam(rs.getString("description"), "");
// TODO remove when working in test with mockito and autowired
factoryDeployType = new FactoryDeployType();
return factoryDeployType.create(deployType, description);
}
Aggregations