Package org.onebusaway.api.model.transit.blocks

Examples of org.onebusaway.api.model.transit.blocks.BlockConfigurationV2Bean


    return bean;
  }

  public BlockConfigurationV2Bean getBlockConfig(
      BlockConfigurationBean blockConfig) {
    BlockConfigurationV2Bean bean = new BlockConfigurationV2Bean();
    bean.setActiveServiceIds(blockConfig.getActiveServiceIds());
    bean.setInactiveServiceIds(blockConfig.getInactiveServiceIds());
    List<BlockTripV2Bean> blockTrips = new ArrayList<BlockTripV2Bean>();
    for (BlockTripBean blockTrip : blockConfig.getTrips())
      blockTrips.add(getBlockTrip(blockTrip));
    bean.setTrips(blockTrips);
    return bean;
  }
View Full Code Here

TOP

Related Classes of org.onebusaway.api.model.transit.blocks.BlockConfigurationV2Bean

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.