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:
java.io.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:
- Serialized Form
-
-
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
Constructors Constructor Description DirectTransition(java.lang.String transition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
follow(Person person, long time)
Get the name of the next state.
-
-
-
Method Detail
-
follow
public java.lang.String follow(Person person, long time)
Description copied from class:Transition
Get the name of the next state.- Specified by:
follow
in classTransition
- Parameters:
person
- : person being processedtime
- : time of this transition- Returns:
- name : name of the next state
-
-