code: public Transition getTransition(Long id) {
          for (Transition transition : getTransitions()) {
              if (transition.getId().equals(id))
                  return transition;
          }
          return null; // not found
      }
docs: Find a work transition based on its id value
  @param id
  @return the matching transition VO, or null if not found