Search in sources :

Example 1 with FactoryCountryEnvDeployType

use of org.cerberus.crud.factory.impl.FactoryCountryEnvDeployType in project cerberus-source by cerberustesting.

the class CountryEnvDeployTypeDAO method loadFromResultSet.

@Override
public CountryEnvDeployType loadFromResultSet(ResultSet rs) throws SQLException {
    String system = rs.getString("system");
    String country = rs.getString("country");
    String environment = rs.getString("environment");
    String deployType = rs.getString("deploytype");
    String jenkinsAgent = rs.getString("jenkinsAgent");
    factoryCountryEnvDeployType = new FactoryCountryEnvDeployType();
    return factoryCountryEnvDeployType.create(system, country, environment, deployType, jenkinsAgent);
}
Also used : FactoryCountryEnvDeployType(org.cerberus.crud.factory.impl.FactoryCountryEnvDeployType) IFactoryCountryEnvDeployType(org.cerberus.crud.factory.IFactoryCountryEnvDeployType)

Aggregations

IFactoryCountryEnvDeployType (org.cerberus.crud.factory.IFactoryCountryEnvDeployType)1 FactoryCountryEnvDeployType (org.cerberus.crud.factory.impl.FactoryCountryEnvDeployType)1