@@ -87,13 +87,13 @@ public class NetexEntitiesIndexImpl implements NetexEntitiesIndex {
8787 public final Multimap <String , ServiceJourneyInterchange > serviceJourneyInterchangeByServiceJourneyRef ;
8888 public final NetexEntityIndex <ServiceLink > serviceLinkById ;
8989 public final VersionedNetexEntityIndex <StopPlace > stopPlaceById ;
90- public final NetexEntityIndex <TariffZone > tariffZonesById ;
91- public final NetexEntityIndex <TopographicPlace > topographicPlaceById ;
92- public final NetexEntityIndex <Parking > parkingById ;
93- public final NetexEntityIndex <ScheduledStopPoint > scheduledStopPointById ;
90+ public final VersionedNetexEntityIndex <TariffZone > tariffZonesById ;
91+ public final VersionedNetexEntityIndex <TopographicPlace > topographicPlaceById ;
92+ public final VersionedNetexEntityIndex <Parking > parkingById ;
93+ public final VersionedNetexEntityIndex <ScheduledStopPoint > scheduledStopPointById ;
9494 public final NetexEntityIndex <RoutePoint > routePointById ;
95- public final NetexEntityIndex <FareZone > fareZoneById ;
96- public final NetexEntityIndex <GroupOfTariffZones > groupOfTariffZonesById ;
95+ public final VersionedNetexEntityIndex <FareZone > fareZoneById ;
96+ public final VersionedNetexEntityIndex <GroupOfTariffZones > groupOfTariffZonesById ;
9797 public final Multimap <String , Parking > parkingsByParentSiteRef ;
9898
9999 // Relations between entities - The Netex XML sometimes rely on the the
@@ -146,13 +146,13 @@ public NetexEntitiesIndexImpl() {
146146 this .serviceJourneyInterchangeByServiceJourneyRef = Multimaps .synchronizedListMultimap (ArrayListMultimap .create ());
147147 this .serviceLinkById = new NetexEntityMapByIdImpl <>();
148148 this .stopPlaceById = new VersionedNetexEntityIndexImpl <>();
149- this .tariffZonesById = new NetexEntityMapByIdImpl <>();
150- this .topographicPlaceById = new NetexEntityMapByIdImpl <>();
151- this .parkingById = new NetexEntityMapByIdImpl <>();
152- this .scheduledStopPointById = new NetexEntityMapByIdImpl <>();
149+ this .tariffZonesById = new VersionedNetexEntityIndexImpl <>();
150+ this .topographicPlaceById = new VersionedNetexEntityIndexImpl <>();
151+ this .parkingById = new VersionedNetexEntityIndexImpl <>();
152+ this .scheduledStopPointById = new VersionedNetexEntityIndexImpl <>();
153153 this .routePointById = new NetexEntityMapByIdImpl <>();
154- this .fareZoneById = new NetexEntityMapByIdImpl <>();
155- this .groupOfTariffZonesById = new NetexEntityMapByIdImpl <>();
154+ this .fareZoneById = new VersionedNetexEntityIndexImpl <>();
155+ this .groupOfTariffZonesById = new VersionedNetexEntityIndexImpl <>();
156156 this .compositeFrames = new HashSet <>();
157157 this .siteFrames = new HashSet <>();
158158 this .resourceFrames = new HashSet <>();
@@ -323,22 +323,22 @@ public VersionedNetexEntityIndex<StopPlace> getStopPlaceIndex() {
323323 }
324324
325325 @ Override
326- public NetexEntityIndex <TariffZone > getTariffZoneIndex () {
326+ public VersionedNetexEntityIndex <TariffZone > getTariffZoneIndex () {
327327 return tariffZonesById ;
328328 }
329329
330330 @ Override
331- public NetexEntityIndex <TopographicPlace > getTopographicPlaceIndex () {
331+ public VersionedNetexEntityIndex <TopographicPlace > getTopographicPlaceIndex () {
332332 return topographicPlaceById ;
333333 }
334334
335335 @ Override
336- public NetexEntityIndex <Parking > getParkingIndex () {
336+ public VersionedNetexEntityIndex <Parking > getParkingIndex () {
337337 return parkingById ;
338338 }
339339
340340 @ Override
341- public NetexEntityIndex <ScheduledStopPoint > getScheduledStopPointIndex () {
341+ public VersionedNetexEntityIndex <ScheduledStopPoint > getScheduledStopPointIndex () {
342342 return scheduledStopPointById ;
343343 }
344344
@@ -348,12 +348,12 @@ public NetexEntityIndex<RoutePoint> getRoutePointIndex() {
348348 }
349349
350350 @ Override
351- public NetexEntityIndex <FareZone > getFareZoneIndex () {
351+ public VersionedNetexEntityIndex <FareZone > getFareZoneIndex () {
352352 return fareZoneById ;
353353 }
354354
355355 @ Override
356- public NetexEntityIndex <GroupOfTariffZones > getGroupOfTariffZonesIndex () {
356+ public VersionedNetexEntityIndex <GroupOfTariffZones > getGroupOfTariffZonesIndex () {
357357 return groupOfTariffZonesById ;
358358 }
359359
0 commit comments