private StepExecutionImpl createStepExecutionFromDBObject(final DBObject dbObject) {
if (dbObject == null) {
return null;
}
try {
return new StepExecutionImpl(
((Number) dbObject.get(TableColumns.STEPEXECUTIONID)).longValue(),
(String) dbObject.get(TableColumns.STEPNAME),
(Date) dbObject.get(TableColumns.STARTTIME),
(Date) dbObject.get(TableColumns.ENDTIME),
(String) dbObject.get(TableColumns.BATCHSTATUS),