EntityViewInfo entryEvi = new EntityViewInfo();
FilterInfo filter = new FilterInfo();
filter.getFilterItems().add(
new FilterItemInfo("parent.id", editData.getId().toString()));
// filter.getFilterItems().add(new FilterItemInfo("isForeign",1));
SorterItemCollection sorter = new SorterItemCollection();
SorterItemInfo item = new SorterItemInfo("companyNum");
item.setSortType(SortType.ASCEND);
sorter.add(item);
// evi.setSorter(sorter);
entryEvi.setSorter(sorter);
entryEvi.setFilter(filter);
FilterInfo filter = new FilterInfo();
filter.getFilterItems().add(
new FilterItemInfo("parent.id", editData.getId().toString()));
// filter.getFilterItems().add(new FilterItemInfo("isForeign",1));
SorterItemCollection sorter = new SorterItemCollection();
SorterItemInfo item = new SorterItemInfo("companyNum");
item.setSortType(SortType.ASCEND);
sorter.add(item);
// evi.setSorter(sorter);
entryEvi.setSorter(sorter);
entryEvi.setFilter(filter);