Package org.mitre.synthea.engine
Class Transition.DirectTransition
java.lang.Object
org.mitre.synthea.engine.Transition
org.mitre.synthea.engine.Transition.DirectTransition
- All Implemented Interfaces:
Serializable
- Enclosing class:
- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mitre.synthea.engine.Transition
Transition.ComplexTransition, Transition.ComplexTransitionOption, Transition.ConditionalTransition, Transition.ConditionalTransitionOption, Transition.DirectTransition, Transition.DistributedTransition, Transition.DistributedTransitionOption, Transition.LookupTableKey, Transition.LookupTableTransition, Transition.LookupTableTransitionOption, Transition.NamedDistribution, Transition.TypeOfCareTransition, Transition.TypeOfCareTransitionOptions -
Field Summary
Fields inherited from class org.mitre.synthea.engine.Transition
remarks -
Constructor Summary
ConstructorsConstructorDescriptionDirectTransition(String transition) Represents a transition with a direct state name. -
Method Summary
-
Constructor Details
-
DirectTransition
Represents a transition with a direct state name.- Parameters:
transition- The name of the state to transition to.
-
-
Method Details
-
follow
Description copied from class:TransitionGet the name of the next state.- Specified by:
followin classTransition- Parameters:
person- : person being processedtime- : time of this transition- Returns:
- name : name of the next state
-