Package net.geco.model

Examples of net.geco.model.ArchiveRunner


    return data[index];
  }

 
  public Object getValueAt(int rowIndex, int columnIndex) {
    ArchiveRunner runner = getRunner(rowIndex);
    switch (columnIndex) {
    case 0: return runner.getArchiveId();
    case 1: return runner.getEcard();
    case 2: return runner.getFirstname();
    case 3: return runner.getLastname();
    case 4: return runner.getCategory().getShortname();
    case 5: return runner.getClub().getShortname();
    case 6: return runner.getClub().getName();
    case 7: return runner.getBirthYear();
    case 8: return runner.getSex();
    default: return "Pbm"; //$NON-NLS-1$
    }
  }
View Full Code Here


    importRunner(record, club, cat);
  }

  private void importRunner(String[] record, Club club, Category cat) {
//    [0-5] Ident. base de données;Puce;Nom;Prénom;Né;S;
    ArchiveRunner runner = geco().factory().createArchiveRunner();
    runner.setArchiveId(new Integer(record[0]));
    runner.setEcard(record[1]);
    runner.setLastname(trimQuotes(record[2]));
    runner.setFirstname(trimQuotes(record[3]));
    runner.setBirthYear(record[4]);
    runner.setSex(record[5]);
    runner.setClub(club);
    runner.setCategory(cat);
    archive.addRunner(runner);
  }
View Full Code Here

  }
 
 
  public Runner findAndCreateRunner(String ecard, Course course) {
    try {
      ArchiveRunner arkRunner = archive().findRunner(ecard);
      if( arkRunner==null ){
        return null;
      }
      return createRunner(arkRunner, course);     
    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of net.geco.model.ArchiveRunner

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.