use of org.rutebanken.netex.model.BrandingRefStructure in project OpenTripPlanner by opentripplanner.
the class RouteMapperTest method createExampleLine.
private Line createExampleLine() {
Line line = new Line();
line.setId(RUT_LINE_ID);
line.setTransportMode(AllVehicleModesOfTransportEnumeration.METRO);
line.setName(new MultilingualString().withValue("Line 1"));
line.setPublicCode("L1");
line.setRepresentedByGroupRef(new GroupOfLinesRefStructure().withRef(NETWORK_ID));
line.setBrandingRef(new BrandingRefStructure().withRef(BRANDING_ID));
return line;
}
Aggregations