use of com.robotoworks.mechanoid.db.sqliteModel.JoinStatement in project mechanoid by robotoworks.
the class ModelUtil method findAllSingleSources.
public static ArrayList<SingleSource> findAllSingleSources(final SelectExpression expr) {
final ArrayList<SingleSource> items = Lists.<SingleSource>newArrayList();
JoinSource _source = expr.getSource();
SingleSource _source_1 = _source.getSource();
items.add(_source_1);
JoinSource _source_2 = expr.getSource();
EList<JoinStatement> _joinStatements = _source_2.getJoinStatements();
for (final JoinStatement join : _joinStatements) {
SingleSource _singleSource = join.getSingleSource();
items.add(_singleSource);
}
return items;
}
Aggregations