Module org.entur.netex.gtfs.export
Class DefaultNetexDatasetRepository
java.lang.Object
org.entur.netex.gtfs.export.repository.DefaultNetexDatasetRepository
- All Implemented Interfaces:
NetexDatasetRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.rutebanken.netex.model.AuthoritygetAuthorityById(String authorityId) getAuthorityIdForLine(org.rutebanken.netex.model.Line line) Return the authority id for a given line.Collection<org.rutebanken.netex.model.DatedServiceJourney>getDatedServiceJourneysByServiceJourneyId(String serviceJourneyId) Collection<org.rutebanken.netex.model.DayTypeAssignment>getDayTypeAssignmentsByDayType(org.rutebanken.netex.model.DayType dayType) org.rutebanken.netex.model.DayTypegetDayTypeByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) org.rutebanken.netex.model.DayTypegetDayTypeById(String dayTypeId) org.rutebanken.netex.model.DestinationDisplaygetDestinationDisplayById(String destinationDisplayId) getFlexibleStopPlaceIdByScheduledStopPointId(String scheduledStopPointId) org.entur.netex.index.api.NetexEntitiesIndexgetIndex()org.rutebanken.netex.model.JourneyPatterngetJourneyPatternById(String journeyPatternId) Collection<org.rutebanken.netex.model.JourneyPattern>getJourneyPatternsByRoute(org.rutebanken.netex.model.Route route) Collection<org.rutebanken.netex.model.Line>getLines()org.rutebanken.netex.model.OperatingDaygetOperatingDayByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) org.rutebanken.netex.model.OperatingDaygetOperatingDayById(String operatingDayId) org.rutebanken.netex.model.OperatingPeriodgetOperatingPeriodByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) getQuayIdByScheduledStopPointId(String scheduledStopPointId) Collection<org.rutebanken.netex.model.Route>getRoutesByLine(org.rutebanken.netex.model.Line line) org.rutebanken.netex.model.ServiceJourneygetServiceJourneyById(String serviceJourneyId) Collection<org.rutebanken.netex.model.ServiceJourneyInterchange>Collection<org.rutebanken.netex.model.ServiceJourney>Collection<org.rutebanken.netex.model.ServiceJourney>getServiceJourneysByJourneyPattern(org.rutebanken.netex.model.JourneyPattern journeyPattern) org.rutebanken.netex.model.ServiceLinkgetServiceLinkById(String serviceLinkId) Return the dataset default timezone This is the timezone set at the CompositeFrame level.
-
Constructor Details
-
DefaultNetexDatasetRepository
public DefaultNetexDatasetRepository()
-
-
Method Details
-
getIndex
public org.entur.netex.index.api.NetexEntitiesIndex getIndex()- Specified by:
getIndexin interfaceNetexDatasetRepository
-
getOperatingDayByDayTypeAssignment
public org.rutebanken.netex.model.OperatingDay getOperatingDayByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) - Specified by:
getOperatingDayByDayTypeAssignmentin interfaceNetexDatasetRepository
-
getOperatingPeriodByDayTypeAssignment
public org.rutebanken.netex.model.OperatingPeriod getOperatingPeriodByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) - Specified by:
getOperatingPeriodByDayTypeAssignmentin interfaceNetexDatasetRepository
-
getDayTypeByDayTypeAssignment
public org.rutebanken.netex.model.DayType getDayTypeByDayTypeAssignment(org.rutebanken.netex.model.DayTypeAssignment dayTypeAssignment) - Specified by:
getDayTypeByDayTypeAssignmentin interfaceNetexDatasetRepository
-
getTimeZone
Description copied from interface:NetexDatasetRepositoryReturn the dataset default timezone This is the timezone set at the CompositeFrame level.- Specified by:
getTimeZonein interfaceNetexDatasetRepository- Returns:
- the dataset default timezone
-
getAuthorityIdForLine
Description copied from interface:NetexDatasetRepositoryReturn the authority id for a given line. This is the authority of the network or group of lines referenced by the line.- Specified by:
getAuthorityIdForLinein interfaceNetexDatasetRepository- Parameters:
line- a NeTEx line- Returns:
- the line authority
-
getLines
- Specified by:
getLinesin interfaceNetexDatasetRepository
-
getServiceJourneys
- Specified by:
getServiceJourneysin interfaceNetexDatasetRepository
-
getServiceJourneyInterchanges
public Collection<org.rutebanken.netex.model.ServiceJourneyInterchange> getServiceJourneyInterchanges()- Specified by:
getServiceJourneyInterchangesin interfaceNetexDatasetRepository
-
getDayTypeAssignmentsByDayType
public Collection<org.rutebanken.netex.model.DayTypeAssignment> getDayTypeAssignmentsByDayType(org.rutebanken.netex.model.DayType dayType) - Specified by:
getDayTypeAssignmentsByDayTypein interfaceNetexDatasetRepository
-
getAuthorityById
- Specified by:
getAuthorityByIdin interfaceNetexDatasetRepository
-
getServiceJourneyById
- Specified by:
getServiceJourneyByIdin interfaceNetexDatasetRepository
-
getFlexibleStopPlaceIdByScheduledStopPointId
- Specified by:
getFlexibleStopPlaceIdByScheduledStopPointIdin interfaceNetexDatasetRepository
-
getQuayIdByScheduledStopPointId
- Specified by:
getQuayIdByScheduledStopPointIdin interfaceNetexDatasetRepository
-
getJourneyPatternById
- Specified by:
getJourneyPatternByIdin interfaceNetexDatasetRepository
-
getServiceJourneysByJourneyPattern
public Collection<org.rutebanken.netex.model.ServiceJourney> getServiceJourneysByJourneyPattern(org.rutebanken.netex.model.JourneyPattern journeyPattern) - Specified by:
getServiceJourneysByJourneyPatternin interfaceNetexDatasetRepository
-
getRoutesByLine
public Collection<org.rutebanken.netex.model.Route> getRoutesByLine(org.rutebanken.netex.model.Line line) - Specified by:
getRoutesByLinein interfaceNetexDatasetRepository
-
getJourneyPatternsByRoute
public Collection<org.rutebanken.netex.model.JourneyPattern> getJourneyPatternsByRoute(org.rutebanken.netex.model.Route route) - Specified by:
getJourneyPatternsByRoutein interfaceNetexDatasetRepository
-
getServiceLinkById
- Specified by:
getServiceLinkByIdin interfaceNetexDatasetRepository
-
getDestinationDisplayById
public org.rutebanken.netex.model.DestinationDisplay getDestinationDisplayById(String destinationDisplayId) - Specified by:
getDestinationDisplayByIdin interfaceNetexDatasetRepository
-
getDatedServiceJourneysByServiceJourneyId
public Collection<org.rutebanken.netex.model.DatedServiceJourney> getDatedServiceJourneysByServiceJourneyId(String serviceJourneyId) - Specified by:
getDatedServiceJourneysByServiceJourneyIdin interfaceNetexDatasetRepository
-
getDayTypeById
- Specified by:
getDayTypeByIdin interfaceNetexDatasetRepository
-
getOperatingDayById
- Specified by:
getOperatingDayByIdin interfaceNetexDatasetRepository
-