class BusItineraryHalt extends AbstractBusPrimitive<BusItinerary> {

	@Override
	@Pure
	public BusNetwork getBusNetwork() {
		final BusItinerary itinerary = getContainer();
		if (itinerary != null) {
			return itinerary.getBusNetwork();
		}
		return null;
	}

	  BusItineraryHalt(BusItinerary itinerary, String name, BusItineraryHaltType type);
	  BusItineraryHalt(UUID id, BusItinerary itinerary, String name, BusItineraryHaltType type);
	  BusItineraryHalt(BusItinerary itinerary, String name, BusItineraryHaltType type, AttributeCollection attributeProvider);
	  BusItineraryHalt(UUID id, BusItinerary itinerary, String name, BusItineraryHaltType type,
			AttributeCollection attributeProvider);

}