@Override public FilterType join(List<Wrapper<FilterType>> items) { Wrapper<FilterType> filterTypeWrapper = findFistFromMannOtherwiseFirst(items); FilterType filterType = filterTypeWrapper.item(); id++; FilterType newFilterType = new FilterType(); newFilterType.setId(id); newFilterType.setCode(filterType.getCode()); newFilterType.setName(filterType.getName()); return newFilterType; }