Interface IPersonGenerator

All Known Implementing Classes:
PersonGenerator

public interface IPersonGenerator
Interface for random person generator
  • Method Details

    • createRandomPerson

      Person createRandomPerson(AgeRange age)
      Parameters:
      age - age
      Returns:
      random person
    • createRandomPersonInCity

      Person createRandomPersonInCity(String city, AgeRange age)
      Parameters:
      city - city
      age - age
      Returns:
      random person
    • createRandomPersonInArea

      Person createRandomPersonInArea(String postalCode, AgeRange age)
      Parameters:
      postalCode - postalCode
      age - age
      Returns:
      random person