Package de.forsthaus.example

Examples of de.forsthaus.example.RandomDataEngine


    /* fix demo branch with id=1000 */
    final Branche branche = getBrancheService().getBrancheById(1000);

    final int countRecords = newRecords;

    final RandomDataEngine randomDataEngine = new RandomDataEngine();

    for (int j = 0; j < countRecords; j++) {
      final Customer customer = getCustomerService().getNewCustomer();

      customer.setKunName1(randomDataEngine.getRandomManFirstname());
      customer.setKunName2(randomDataEngine.getRandomLastname());
      customer.setKunMatchcode(customer.getKunName2().toUpperCase());
      customer.setKunOrt(randomDataEngine.getRandomCity());
      customer.setBranche(branche);
      customer.setKunMahnsperre(false);

      // if no customer no. is set by user than take
      // the max PrimaryKey + 1
View Full Code Here

TOP

Related Classes of de.forsthaus.example.RandomDataEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.