Uses of Class
org.goplanit.gtfs.enums.RouteType
-
-
Uses of RouteType in org.goplanit.gtfs.converter
Fields in org.goplanit.gtfs.converter with type parameters of type RouteType Modifier and Type Field Description protected Set<RouteType>
GtfsConverterReaderSettingsWithModeMapping. activatedGtfsModes
Activated GTFS modes.protected Map<RouteType,List<PredefinedModeType>>
GtfsConverterReaderSettingsWithModeMapping. defaultGtfsMode2PrefinedModeTypeMap
Default mapping (specific to this (services) network) from each supported GTFS mode to PLANit predefined mode.Methods in org.goplanit.gtfs.converter that return types with arguments of type RouteType Modifier and Type Method Description Set<RouteType>
GtfsConverterReaderSettingsWithModeMapping. findGtfsModesFor(PredefinedModeType predefinedModeType)
Find the GTFS mode that is mapped to the given predefined PLANit modeCollection<RouteType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedGtfsModes()
Convenience method that provides access to all the currently active GTFS modes (unmodifiable)List<RouteType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedGtfsModes(PredefinedModeType planitModeType)
Find the currently mapped GTFS modes for a given PLANit predefined mode typeMethods in org.goplanit.gtfs.converter with parameters of type RouteType Modifier and Type Method Description protected void
GtfsConverterReaderSettingsWithModeMapping. activateGtfsRouteTypeMode(RouteType gtfsMode)
Activate an GTFS mode, i.e., route type, based on its default mapping to a PLANit modevoid
GtfsConverterReaderSettingsWithModeMapping. deactivateGtfsMode(RouteType gtfsMode)
Deactivate an OSM mode.List<PredefinedModeType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedPlanitPredefinedModes(RouteType gtfsMode)
Find the currently mapped PLANit predefined modes for a given gtfsModeList<Mode>
GtfsConverterHandlerData. getCompatiblePlanitModesIfActivated(RouteType gtfsMode)
Collect PLANit modes if it is known as being activated and compatible (unmodifiable), otherwise return nullMode
GtfsConverterHandlerData. getPrimaryPlanitModeIfActivated(RouteType gtfsMode)
Collect PLANit mode if it is known as being activated, otherwise return nullboolean
GtfsConverterReaderSettingsWithModeMapping. isGtfsModeActivated(RouteType gtfsMode)
Verify if Gtfs Mode has been activated or notprotected void
GtfsConverterReaderSettingsWithModeMapping. setDefaultGtfs2PredefinedModeTypeMapping(RouteType gtfsRouteType, List<PredefinedModeType> planitModes)
Set mapping from GTFS mode to PLANit modeprotected void
GtfsConverterReaderSettingsWithModeMapping. setDefaultGtfs2PredefinedModeTypeMapping(RouteType gtfsRouteType, PredefinedModeType planitMode)
Set mapping from GTFS mode to PLANit modeMethod parameters in org.goplanit.gtfs.converter with type arguments of type RouteType Modifier and Type Method Description void
GtfsConverterReaderSettingsWithModeMapping. deactivateAllModesExcept(List<RouteType> remainingGtfsModes)
remove all GTFS modes from mapping except for the passed in onesvoid
GtfsConverterReaderSettingsWithModeMapping. deactivateGtfsModes(Collection<RouteType> GtfsModes)
Remove all provided GTFS modes from active mapping -
Uses of RouteType in org.goplanit.gtfs.converter.intermodal
Methods in org.goplanit.gtfs.converter.intermodal with parameters of type RouteType Modifier and Type Method Description List<Mode>
GtfsServicesAndZoningIntegratorData. getCompatiblePlanitModesIfActivated(RouteType gtfsMode)
Collect PLANit modes if it is known as being activated and compatible, otherwise return nullMode
GtfsServicesAndZoningIntegratorData. getPrimaryPlanitModeIfActivated(RouteType gtfsMode)
Collect PLANit mode if it is known as being activated, otherwise return null -
Uses of RouteType in org.goplanit.gtfs.converter.service
Methods in org.goplanit.gtfs.converter.service with parameters of type RouteType Modifier and Type Method Description void
GtfsServicesHandlerProfiler. incrementRouteCount(RouteType gtfsRouteType)
Increment count for a processed GTFS route -
Uses of RouteType in org.goplanit.gtfs.entity
Methods in org.goplanit.gtfs.entity that return RouteType Modifier and Type Method Description RouteType
GtfsRoute. getRouteType()
-
Uses of RouteType in org.goplanit.gtfs.enums
Methods in org.goplanit.gtfs.enums that return RouteType Modifier and Type Method Description static RouteType
RouteType. of(short value)
Create from internal valuestatic RouteType
RouteType. parseFrom(String value)
Collect the route type belonging to the given value.static RouteType
RouteType. valueOf(String name)
Returns the enum constant of this type with the specified name.static RouteType[]
RouteType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.goplanit.gtfs.enums that return types with arguments of type RouteType Modifier and Type Method Description static Set<RouteType>
RouteType. getInValueRange(short minValue, short maxValue)
Collect all route types in the given value range -
Uses of RouteType in org.goplanit.gtfs.util
Methods in org.goplanit.gtfs.util that return types with arguments of type RouteType Modifier and Type Method Description static HashMap<RouteType,List<Mode>>
GtfsConverterReaderHelper. createCombinedActivatedPlanitModes(GtfsConverterReaderSettingsWithModeMapping settings, Modes allAvailablePlanitModes)
Based on the settings which define both custom and predefined mappings, we construct the instance mappings from Gtfs mode to PLANit mode, e.g., when a predefined mode type is configured, it results in an instance of that type on a network, this instance should be available in the passed in #allAvailablePlanitMdes, we then combine these mappings with the custom mode mappings on the settings to create a single consolidated set which can be used during parsing without the need of checking whether a mode is predefined or not.Methods in org.goplanit.gtfs.util with parameters of type RouteType Modifier and Type Method Description static void
GtfsConverterReaderHelper. addToModeExternalId(Mode planitMode, RouteType gtfsMode)
add GTFS type Id to PLANit mode external id (in case multiple GTFS modes are mapped to the same PLANit mode)
-