Class EntityProcessGenerator

    • Field Detail

      • myProcessDescription

        protected ProcessDescription myProcessDescription
        A reference to the process description for this generator
    • Constructor Detail

      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      java.lang.String name)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        name - the name of the model element
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        timeUntilFirst - the time until the first generation
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      java.lang.String name)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        name - the name of the model element
        timeUntilFirst - the time until the first generation
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext,
                                      java.lang.String name)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        name - the name of the model element
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext,
                                      long maxNum,
                                      java.lang.String name)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        name - the name of the model element
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
        maxNum - the maximum number of generations
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext,
                                      long maxNum)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
        maxNum - the maximum number of generations
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext,
                                      long maxNum,
                                      double timeUntilLast)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
        maxNum - the maximum number of generations
        timeUntilLast - the time until the last event
      • EntityProcessGenerator

        public EntityProcessGenerator​(ModelElement parent,
                                      ProcessDescription processDescription,
                                      RandomIfc timeUntilFirst,
                                      RandomIfc timeUntilNext,
                                      long maxNum,
                                      double timeUntilLast,
                                      java.lang.String name)
        Parameters:
        parent - the parent model element
        processDescription - the ProcessDescription
        timeUntilFirst - the time until the first generation
        timeUntilNext - the time between generations
        maxNum - the maximum number of generations
        timeUntilLast - the time until the last event
        name - the name of the generator
    • Method Detail

      • getProcessDescription

        protected final ProcessDescription getProcessDescription()
        Returns a reference to the process description for this generator
        Returns:
        A reference to the process description for this generator
      • setProcessDescription

        protected void setProcessDescription​(ProcessDescription processDescription)
        Sets the process description for this generator
        Parameters:
        processDescription - The ProcessDescription
      • generate

        protected void generate​(JSLEvent event)
        Description copied from class: EventGenerator
        This method should be overridden by sub-classes that do not supply an EventGeneratorActionIfc to model the action that occur when the event happens.
        Overrides:
        generate in class EntityGenerator
        Parameters:
        event - the event associated with the generations