Search in sources :

Example 1 with FactoryBuildRevisionInvariant

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

the class BuildRevisionInvariantDAO method loadFromResultSet.

@Override
public BuildRevisionInvariant loadFromResultSet(ResultSet resultSet) throws SQLException {
    String system = ParameterParserUtil.parseStringParam(resultSet.getString("system"), "");
    Integer level = ParameterParserUtil.parseIntegerParam(resultSet.getString("level"), 0);
    Integer seq = ParameterParserUtil.parseIntegerParam(resultSet.getString("seq"), 0);
    String versionname = ParameterParserUtil.parseStringParam(resultSet.getString("versionname"), "");
    factoryBuildRevisionInvariant = new FactoryBuildRevisionInvariant();
    return factoryBuildRevisionInvariant.create(system, level, seq, versionname);
}
Also used : FactoryBuildRevisionInvariant(org.cerberus.crud.factory.impl.FactoryBuildRevisionInvariant) IFactoryBuildRevisionInvariant(org.cerberus.crud.factory.IFactoryBuildRevisionInvariant)

Aggregations

IFactoryBuildRevisionInvariant (org.cerberus.crud.factory.IFactoryBuildRevisionInvariant)1 FactoryBuildRevisionInvariant (org.cerberus.crud.factory.impl.FactoryBuildRevisionInvariant)1