Skip to content

Commit

Permalink
Rename ServiceLink to ServiceLinkExportContext
Browse files Browse the repository at this point in the history
  • Loading branch information
solita-sabinaf committed Dec 11, 2024
1 parent ba79595 commit 4a91f73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import no.entur.uttu.model.Ref;
import no.entur.uttu.model.VehicleModeEnumeration;

public record ServiceLink(
public record ServiceLinkExportContext(
String quayRefFrom,
String quayRefTo,
VehicleModeEnumeration transportMode,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Set;
import java.util.concurrent.atomic.AtomicLong;
import no.entur.uttu.export.model.AvailabilityPeriod;
import no.entur.uttu.export.model.ServiceLink;
import no.entur.uttu.export.model.ServiceLinkExportContext;
import no.entur.uttu.model.DayType;
import no.entur.uttu.model.DestinationDisplay;
import no.entur.uttu.model.FlexibleStopPlace;
Expand Down Expand Up @@ -60,7 +60,7 @@ public class NetexExportContext {

public Set<DestinationDisplay> destinationDisplays = new HashSet<>();

public Set<ServiceLink> serviceLinks = new HashSet();
public Set<ServiceLinkExportContext> serviceLinks = new HashSet();

private Map<String, AtomicLong> idSequences = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import no.entur.uttu.export.model.ServiceLink;
import no.entur.uttu.export.model.ServiceLinkExportContext;
import no.entur.uttu.export.netex.NetexExportContext;
import no.entur.uttu.export.netex.producer.NetexIdProducer;
import no.entur.uttu.export.netex.producer.NetexObjectFactory;
Expand Down Expand Up @@ -275,7 +275,7 @@ private ServiceLinkInJourneyPattern_VersionedChildStructure mapServiceLinkInJour
);

context.serviceLinks.add(
new ServiceLink(
new ServiceLinkExportContext(
from.getQuayRef(),
to.getQuayRef(),
transportMode,
Expand Down

0 comments on commit 4a91f73

Please sign in to comment.