} else if (current instanceof ResultSet) {
model = new SequenceDataModel(new ResultSetDataModel((ResultSet) current));
} else if (current instanceof Result) {
model = new SequenceDataModel(new ResultDataModel((Result) current));
} else {
model = new SequenceDataModel(new ScalarDataModel(current));
}
return (model);
}