Пример #1
0
 public String getIdValue(Role object, int index) {
   return object.name();
 }
Пример #2
0
 @Override
 protected List<? extends Role> load() {
   return new ArrayList<Role>(Arrays.asList(Role.values()));
 }
Пример #3
0
 public Object getDisplayValue(Role object) {
   return getString(Role.class.getName() + "." + object.name());
 }