Class PreGenerator

java.lang.Object
org.mitre.synthea.helpers.physiology.PreGenerator
All Implemented Interfaces:
Serializable

public class PreGenerator extends Object implements Serializable
Class for handling pre-simulation outputs.
See Also:
  • Constructor Details

    • PreGenerator

      public PreGenerator()
  • Method Details

    • getClassName

      public String getClassName()
      Gets the fully qualified class name for the generator.
      Returns:
      The class name.
    • setClassName

      public void setClassName(String className)
      Sets the fully qualified class name for the generator.
      Parameters:
      className - The class name to set.
    • getArgs

      Gets the list of arguments to pass to the generator's constructor.
      Returns:
      The list of arguments.
    • setArgs

      public void setArgs(List<PreGenerator.PreGeneratorArg> args)
      Sets the list of arguments to pass to the generator's constructor.
      Parameters:
      args - The list of arguments to set.
    • getGenerator

      public ValueGenerator getGenerator(Person person)
      Instantiates the ValueGenerator from the configuration options.
      Parameters:
      person - The person for whom the generator is created.
      Returns:
      A new ValueGenerator instance.