@Override
 public StateEnum fromState(String stateName) {
   return StateEnum.valueOf(stateName);
 }
 @Override
 public String toState(StateEnum state) {
   return state.name();
 }