content: package org.matsim.amodeus.config.modal;
  
  import org.matsim.amodeus.components.generator.PopulationDensityGenerator;
  import org.matsim.core.config.ReflectiveConfigGroup;
  
  public class GeneratorConfig extends ReflectiveConfigGroup {
      static public final String GROUP_NAME = "generator";
  
      static public final String TYPE = "type";
      static public final String NUMBER_OF_VEHICLES = "numberOfVehicles";
      static public final String CAPACITY = "capacity";
  
      static public final String DEFAULT_GENERATOR = PopulationDensityGenerator.TYPE;
      private String type = DEFAULT_GENERATOR;
  
      private int numberOfVehicles = 100;
      private int capacity = 4;
  
      public GeneratorConfig() {
          super(GROUP_NAME, true);
      }
  
      @StringGetter(TYPE)
      public String getType() {
          return type;
      }
  
      @StringSetter(TYPE)
      public void setType(String type) {
          this.type = type;
      }
  
      @StringGetter(NUMBER_OF_VEHICLES)
      public int getNumberOfVehicles() {
          return numberOfVehicles;
      }
  
      @StringSetter(NUMBER_OF_VEHICLES)
      public void setNumberOfVehicles(int numberOfVehicles) {
          this.numberOfVehicles = numberOfVehicles;
      }
  
      @StringGetter(CAPACITY)
      public int getCapacity() {
          return capacity;
      }
  
      @StringSetter(CAPACITY)
      public void setCapacity(int capacity) {
          this.capacity = capacity;
      }
  }
  