Search in sources :

Example 1 with FactoryCountryEnvLink

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

the class CountryEnvLinkDAO method loadFromResultSet.

@Override
public CountryEnvLink loadFromResultSet(ResultSet rs) throws SQLException {
    String system = rs.getString("system");
    String country = rs.getString("country");
    String environment = rs.getString("environment");
    String systemLink = rs.getString("systemLink");
    String countryLink = rs.getString("countryLink");
    String environmentLink = rs.getString("environmentLink");
    factoryCountryEnvLink = new FactoryCountryEnvLink();
    return factoryCountryEnvLink.create(system, country, environment, systemLink, countryLink, environmentLink);
}
Also used : FactoryCountryEnvLink(org.cerberus.crud.factory.impl.FactoryCountryEnvLink) IFactoryCountryEnvLink(org.cerberus.crud.factory.IFactoryCountryEnvLink)

Aggregations

IFactoryCountryEnvLink (org.cerberus.crud.factory.IFactoryCountryEnvLink)1 FactoryCountryEnvLink (org.cerberus.crud.factory.impl.FactoryCountryEnvLink)1