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

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


    bean.setServiceDate(blockInstance.getServiceDate());
    return bean;
  }

  public BlockV2Bean getBlock(BlockBean block) {
    BlockV2Bean bean = new BlockV2Bean();
    bean.setId(block.getId());
    List<BlockConfigurationV2Bean> blockConfigs = new ArrayList<BlockConfigurationV2Bean>();
    for (BlockConfigurationBean blockConfig : block.getConfigurations())
      blockConfigs.add(getBlockConfig(blockConfig));
    bean.setConfigurations(blockConfigs);
    return bean;
  }
View Full Code Here

TOP

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

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.