Class PreGenerator

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreGenerator
    extends java.lang.Object
    implements java.io.Serializable
    Class for handling pre-simulation outputs.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PreGenerator.PreGeneratorArg
      Represents an argument for the PreGenerator.
    • Constructor Summary

      Constructors 
      Constructor Description
      PreGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<PreGenerator.PreGeneratorArg> getArgs()
      Gets the list of arguments to pass to the generator's constructor.
      java.lang.String getClassName()
      Gets the fully qualified class name for the generator.
      ValueGenerator getGenerator​(Person person)
      Instantiates the ValueGenerator from the configuration options.
      void setArgs​(java.util.List<PreGenerator.PreGeneratorArg> args)
      Sets the list of arguments to pass to the generator's constructor.
      void setClassName​(java.lang.String className)
      Sets the fully qualified class name for the generator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreGenerator

        public PreGenerator()
    • Method Detail

      • getClassName

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

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

        public java.util.List<PreGenerator.PreGeneratorArg> getArgs()
        Gets the list of arguments to pass to the generator's constructor.
        Returns:
        The list of arguments.
      • setArgs

        public void setArgs​(java.util.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.