Search in sources :

Example 1 with BrandingRefStructure

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;
}
Also used : Line(org.rutebanken.netex.model.Line) BrandingRefStructure(org.rutebanken.netex.model.BrandingRefStructure) MultilingualString(org.rutebanken.netex.model.MultilingualString) GroupOfLinesRefStructure(org.rutebanken.netex.model.GroupOfLinesRefStructure)

Aggregations

BrandingRefStructure (org.rutebanken.netex.model.BrandingRefStructure)1 GroupOfLinesRefStructure (org.rutebanken.netex.model.GroupOfLinesRefStructure)1 Line (org.rutebanken.netex.model.Line)1 MultilingualString (org.rutebanken.netex.model.MultilingualString)1