Пример #1
0
 @Override
 public ActionMode unmarshal(String v) throws Exception {
   return v != null ? ActionMode.getActionModeByCode(v) : null;
 }
Пример #2
0
 @Override
 public String marshal(ActionMode v) throws Exception {
   return v != null ? v.getCode() : null;
 }