Class Transition.DirectTransition

java.lang.Object
org.mitre.synthea.engine.Transition
org.mitre.synthea.engine.Transition.DirectTransition
All Implemented Interfaces:
Serializable
Enclosing class:
Transition

public static class Transition.DirectTransition extends Transition
Direct transitions are the simplest of transitions. They transition directly to the indicated state. The value of a direct_transition is simply the name of the state to transition to.
See Also:
  • Constructor Details

    • DirectTransition

      public DirectTransition(String transition)
      Represents a transition with a direct state name.
      Parameters:
      transition - The name of the state to transition to.
  • Method Details

    • follow

      public String follow(Person person, long time)
      Description copied from class: Transition
      Get the name of the next state.
      Specified by:
      follow in class Transition
      Parameters:
      person - : person being processed
      time - : time of this transition
      Returns:
      name : name of the next state