hmm can't we use `State.values()` and if this is only used for `fromId` I think we can just do this:
```Java
switch(id) {
  case RUNNING.id:
     return RUNNING;
  //...

}
```