Package org.springframework.batch.core.test.football

Examples of org.springframework.batch.core.test.football.Game


   
    if(fs == null){
      return null;
    }
   
    Game game = new Game();
    game.setId(fs.readString("id"));
    game.setYear(fs.readInt("year"));
    game.setTeam(fs.readString("team"));
    game.setWeek(fs.readInt("week"));
    game.setOpponent(fs.readString("opponent"));
    game.setCompletes(fs.readInt("completes"));
    game.setAttempts(fs.readInt("attempts"));
    game.setPassingYards(fs.readInt("passingYards"));
    game.setPassingTd(fs.readInt("passingTd"));
    game.setInterceptions(fs.readInt("interceptions"));
    game.setRushes(fs.readInt("rushes"));
    game.setRushYards(fs.readInt("rushYards"));
    game.setReceptions(fs.readInt("receptions", 0));
    game.setReceptionYards(fs.readInt("receptionYards"));
    game.setTotalTd(fs.readInt("totalTd"));
   
    return game;
  }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.test.football.Game

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.