Search in sources :

Example 1 with FactoryDeployType

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);
}
Also used : FactoryDeployType(org.cerberus.crud.factory.impl.FactoryDeployType) IFactoryDeployType(org.cerberus.crud.factory.IFactoryDeployType)

Aggregations

IFactoryDeployType (org.cerberus.crud.factory.IFactoryDeployType)1 FactoryDeployType (org.cerberus.crud.factory.impl.FactoryDeployType)1