Examples of Rollingstock


Examples of se.sj.ipl.rollingstock.domain.Rollingstock

        System.out.println("==============Message Out=============");
       
    RollingStockList rollingstocks = (RollingStockList) beans.get( "rollingstocks" );
    for( int i = 0; i < rollingstocks.size() ; i ++ )
    {
      Rollingstock rollingstock = rollingstocks.get( i );
      System.out.println( "" );
      System.out.println( "RollingstockId : " + rollingstock.getRollingstockId() );
      System.out.println( "Schedule : " + rollingstock.getSchedule() );
      List<Vehicle> vehicles = rollingstock.getVehicles();
      for ( int y = 0 ; y < vehicles.size() ; y ++ )
      {
        Vehicle vehicle = vehicles.get( y );
        System.out.println( "Vehicle : " + y  + ": " + vehicle );
      }
      System.out.println( "Route : " + rollingstock.getRoute() );
    }
    System.out.println( "======================================\n\n");

        pause("And that's it!  Press 'enter' to finish...");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.