Пример #1
0
 @Override
 protected Object getValue(Object element) {
   CatRateLinkEntity entity = (CatRateLinkEntity) element;
   return rates.indexOf(entity.getRate());
 }
Пример #2
0
 @Override
 public String getText(Object o) {
   CatRateLinkEntity entity = (CatRateLinkEntity) o;
   return entity.getRate().getName();
 }