Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- active() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
activerecord component. - adaAccessible() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
adaAccessiblerecord component. - adaAccessible() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
adaAccessiblerecord component. - ADDED_STOP - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that event has been added to the trip.
- address() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns the value of the
addressrecord component. - approaching() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
approachingrecord component. - approaching() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
approachingrecord component. - Arrival - Record Class in com.cta4j.train.common.model
-
Represents a train arrival.
- Arrival(String, String, String, String, TrainLine, String, String, Instant, Instant, boolean, boolean, boolean, boolean, ArrivalMetadata) - Constructor for record class com.cta4j.train.common.model.Arrival
-
Constructs an
Arrival. - ARRIVAL - Enum constant in enum class com.cta4j.bus.prediction.model.PredictionType
-
Indicates an arrival prediction.
- ArrivalMetadata - Record Class in com.cta4j.train.common.model
-
Represents metadata associated with a train arrival.
- ArrivalMetadata(String, TrainDirection, Coordinates, String) - Constructor for record class com.cta4j.train.common.model.ArrivalMetadata
-
Constructs an
ArrivalMetadata. - arrivals() - Method in record class com.cta4j.train.follow.model.FollowTrain
-
Returns the value of the
arrivalsrecord component. - arrivals() - Method in interface com.cta4j.train.TrainApi
-
Provides access to arrival-related endpoints.
- ArrivalsApi - Interface in com.cta4j.train.arrival
-
Provides access to arrival-related endpoints of the CTA Train Tracker API.
- arrivalTime() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
arrivalTimerecord component. - arrivalTime() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
arrivalTimerecord component. - arrivalTime() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
arrivalTimerecord component.
B
- block() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
blockrecord component. - blockId() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
blockIdrecord component. - blockId() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
blockIdrecord component. - BLUE - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Blue Line.
- BROWN - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Brown Line.
- build() - Method in interface com.cta4j.bus.BusApi.Builder
-
Builds a configured
BusApiinstance. - build() - Method in class com.cta4j.bus.prediction.query.StopsPredictionsQuery.Builder
-
Builds the
StopsPredictionsQuery. - build() - Method in class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery.Builder
-
Builds the
VehiclesPredictionsQuery. - build() - Method in class com.cta4j.train.arrival.query.MapArrivalQuery.Builder
-
Builds the
MapArrivalQuery. - build() - Method in class com.cta4j.train.arrival.query.StopArrivalQuery.Builder
-
Builds the
StopArrivalQuery. - build() - Method in interface com.cta4j.train.TrainApi.Builder
-
Builds a configured
TrainApiinstance. - builder(String) - Static method in interface com.cta4j.bus.BusApi
-
Creates a new
BusApi.Builderfor constructing aBusApi. - builder(String) - Static method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Creates a builder for
MapArrivalQuery. - builder(String) - Static method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Creates a builder for
StopArrivalQuery. - builder(String) - Static method in interface com.cta4j.train.TrainApi
-
Creates a new
TrainApi.Builderfor constructing aTrainApi. - builder(List<String>) - Static method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Creates a builder for
StopsPredictionsQuery. - builder(List<String>) - Static method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Creates a builder for
VehiclesPredictionsQuery. - Builder(String) - Constructor for class com.cta4j.train.arrival.query.MapArrivalQuery.Builder
-
Constructs a
Builder. - Builder(String) - Constructor for class com.cta4j.train.arrival.query.StopArrivalQuery.Builder
-
Constructs a
Builder. - Builder(List<String>) - Constructor for class com.cta4j.bus.prediction.query.StopsPredictionsQuery.Builder
-
Constructs a
Builder. - Builder(List<String>) - Constructor for class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery.Builder
-
Constructs a
Builder. - BUS - Enum constant in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Indicates a bus transit mode.
- BusApi - Interface in com.cta4j.bus
-
Primary entry point for interacting with the CTA Bus Tracker API.
- BusApi.Builder - Interface in com.cta4j.bus
-
Builder for constructing
BusApiinstances.
C
- CANCELLED - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the event or trip has been canceled.
- CANCELLED_TRIP_NEW - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip, which was created dynamically, has been canceled.
- CardinalDirection - Enum Class in com.cta4j.train.station.model
-
Represents the four cardinal directions.
- city() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns the value of the
cityrecord component. - color() - Method in record class com.cta4j.bus.route.model.Route
-
Returns the value of the
colorrecord component. - com.cta4j.bus - package com.cta4j.bus
- com.cta4j.bus.detour - package com.cta4j.bus.detour
- com.cta4j.bus.detour.model - package com.cta4j.bus.detour.model
- com.cta4j.bus.direction - package com.cta4j.bus.direction
- com.cta4j.bus.locale - package com.cta4j.bus.locale
- com.cta4j.bus.locale.model - package com.cta4j.bus.locale.model
- com.cta4j.bus.pattern - package com.cta4j.bus.pattern
- com.cta4j.bus.pattern.model - package com.cta4j.bus.pattern.model
- com.cta4j.bus.prediction - package com.cta4j.bus.prediction
- com.cta4j.bus.prediction.model - package com.cta4j.bus.prediction.model
- com.cta4j.bus.prediction.query - package com.cta4j.bus.prediction.query
- com.cta4j.bus.route - package com.cta4j.bus.route
- com.cta4j.bus.route.model - package com.cta4j.bus.route.model
- com.cta4j.bus.stop - package com.cta4j.bus.stop
- com.cta4j.bus.stop.model - package com.cta4j.bus.stop.model
- com.cta4j.bus.vehicle - package com.cta4j.bus.vehicle
- com.cta4j.bus.vehicle.model - package com.cta4j.bus.vehicle.model
- com.cta4j.common.geo - package com.cta4j.common.geo
- com.cta4j.exception - package com.cta4j.exception
- com.cta4j.train - package com.cta4j.train
- com.cta4j.train.arrival - package com.cta4j.train.arrival
- com.cta4j.train.arrival.query - package com.cta4j.train.arrival.query
- com.cta4j.train.common.model - package com.cta4j.train.common.model
- com.cta4j.train.follow - package com.cta4j.train.follow
- com.cta4j.train.follow.model - package com.cta4j.train.follow.model
- com.cta4j.train.location - package com.cta4j.train.location
- com.cta4j.train.location.model - package com.cta4j.train.location.model
- com.cta4j.train.station - package com.cta4j.train.station
- com.cta4j.train.station.model - package com.cta4j.train.station.model
- coordinates() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
coordinatesrecord component. - coordinates() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns the value of the
coordinatesrecord component. - coordinates() - Method in record class com.cta4j.train.follow.model.FollowTrain
-
Returns the value of the
coordinatesrecord component. - coordinates() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
coordinatesrecord component. - Coordinates - Record Class in com.cta4j.common.geo
-
Represents geographic coordinates.
- Coordinates(BigDecimal, BigDecimal, int) - Constructor for record class com.cta4j.common.geo.Coordinates
-
Constructs a
Coordinates. - countdownLabel() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
countdownLabelrecord component. - Cta4jException - Exception Class in com.cta4j.exception
-
A custom exception class for handling cta4j-specific errors.
- Cta4jException(String) - Constructor for exception class com.cta4j.exception.Cta4jException
-
Constructs a
Cta4jException. - Cta4jException(String, Throwable) - Constructor for exception class com.cta4j.exception.Cta4jException
-
Constructs a
Cta4jException.
D
- dataFeed() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
dataFeedrecord component. - dataFeed() - Method in record class com.cta4j.bus.route.model.Route
-
Returns the value of the
dataFeedrecord component. - dataFeed() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
dataFeedrecord component. - delayed() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
delayedrecord component. - delayed() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
delayedrecord component. - DELAYED_CANCEL - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the event or trip has been marked as canceled, but the cancellation should not be shown to the public.
- DEPARTURE - Enum constant in enum class com.cta4j.bus.prediction.model.PredictionType
-
Indicates a departure prediction.
- description() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
descriptionrecord component. - descriptiveName() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
descriptiveNamerecord component. - designator() - Method in record class com.cta4j.bus.route.model.Route
-
Returns the value of the
designatorrecord component. - destination() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
destinationrecord component. - destination() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
destinationrecord component. - destinationName() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
destinationNamerecord component. - destinationName() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
destinationNamerecord component. - destinationStationId() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
destinationStationIdrecord component. - destinationStationId() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
destinationStationIdrecord component. - Detour - Record Class in com.cta4j.bus.detour.model
-
Represents a service detour affecting one or more routes and directions within a specific time window.
- Detour(String, String, boolean, String, List<DetourRouteDirection>, Instant, Instant, String) - Constructor for record class com.cta4j.bus.detour.model.Detour
-
Constructs a
Detour. - detourId() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
detourIdrecord component. - detourPoints() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
detourPointsrecord component. - DetourRouteDirection - Record Class in com.cta4j.bus.detour.model
-
Represents a route and direction affected by a detour.
- DetourRouteDirection(String, String) - Constructor for record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Constructs a
DetourRouteDirection. - detours() - Method in interface com.cta4j.bus.BusApi
-
Provides access to detour-related endpoints.
- detoursAdded() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
detoursAddedrecord component. - DetoursApi - Interface in com.cta4j.bus.detour
-
Provides access to detour-related endpoints of the CTA BusTime API.
- detoursRemoved() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
detoursRemovedrecord component. - direction() - Method in record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
directionrecord component. - direction() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
directionrecord component. - directions() - Method in interface com.cta4j.bus.BusApi
-
Provides access to direction-related endpoints.
- DirectionsApi - Interface in com.cta4j.bus.direction
-
Provides access to direction-related endpoints of the CTA BusTime API.
- displayName() - Method in record class com.cta4j.bus.locale.model.SupportedLocale
-
Returns the value of the
displayNamerecord component. - distanceToPatternPoint() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
distanceToPatternPointrecord component. - distanceToPatternPoint() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
distanceToPatternPointrecord component. - distanceToStop() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
distanceToStoprecord component. - dynamicAction() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
dynamicActionrecord component. - DynamicAction - Enum Class in com.cta4j.bus.prediction.model
-
Represents the various dynamic actions that can be applied to a bus trip.
E
- EAST - Enum constant in enum class com.cta4j.train.station.model.CardinalDirection
-
East direction.
- EMPTY - Enum constant in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Indicates that the bus is empty.
- endTime() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
endTimerecord component. - equals(Object) - Method in record class com.cta4j.bus.detour.model.Detour
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.locale.model.SupportedLocale
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.route.model.Route
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.stop.model.Stop
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.common.geo.Coordinates
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.common.model.Arrival
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.follow.model.FollowTrain
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.location.model.LocationTrain
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.location.model.TrainLocations
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.station.model.HumanAddress
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.station.model.Location
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.cta4j.train.station.model.Station
-
Indicates whether some other object is "equal to" this one.
- etaMinutes() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Calculates the estimated time of arrival (ETA) in minutes from the current time to the predicted arrival time.
- EXPRESSED - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the event is “drop-off only” and will not stop to pick up passengers.
F
- fault() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
faultrecord component. - FERRY - Enum constant in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Indicates a ferry transit mode.
- findAll() - Method in interface com.cta4j.train.location.LocationsApi
-
Retrieves train locations for all lines.
- findById(String) - Method in interface com.cta4j.bus.pattern.PatternsApi
-
Retrieves a route pattern by its pattern ID.
- findById(String) - Method in interface com.cta4j.bus.stop.StopsApi
-
Retrieves a stop by its ID.
- findById(String) - Method in interface com.cta4j.bus.vehicle.VehiclesApi
-
Retrieves a vehicle by its ID.
- findByIds(Collection<String>) - Method in interface com.cta4j.bus.pattern.PatternsApi
-
Retrieves route patterns by their pattern IDs.
- findByIds(Collection<String>) - Method in interface com.cta4j.bus.stop.StopsApi
-
Retrieves stops by their IDs.
- findByIds(Collection<String>) - Method in interface com.cta4j.bus.vehicle.VehiclesApi
-
Retrieves vehicles by their IDs.
- findByLine(TrainLine) - Method in interface com.cta4j.train.location.LocationsApi
-
Retrieves train locations for the specified line.
- findByLines(List<TrainLine>) - Method in interface com.cta4j.train.location.LocationsApi
-
Retrieves train locations for the specified lines.
- findByMapId(MapArrivalQuery) - Method in interface com.cta4j.train.arrival.ArrivalsApi
-
Retrieves arrival information by map ID.
- findByMapId(String) - Method in interface com.cta4j.train.arrival.ArrivalsApi
-
Retrieves arrival information by map ID.
- findByRouteId(String) - Method in interface com.cta4j.bus.detour.DetoursApi
-
Retrieves all active detours for the specified route ID.
- findByRouteId(String) - Method in interface com.cta4j.bus.direction.DirectionsApi
-
Retrieves the available travel directions for the specified route (e.g., Northbound, Southbound).
- findByRouteId(String) - Method in interface com.cta4j.bus.pattern.PatternsApi
-
Retrieves all route patterns for the specified route ID.
- findByRouteId(String) - Method in interface com.cta4j.bus.vehicle.VehiclesApi
-
Retrieves all vehicles for the specified route ID.
- findByRouteIdAndDirection(String, String) - Method in interface com.cta4j.bus.detour.DetoursApi
-
Retrieves all active detours for the specified route ID and direction.
- findByRouteIdAndDirection(String, String) - Method in interface com.cta4j.bus.stop.StopsApi
-
Retrieves stops by route ID and direction.
- findByRouteIdAndStopId(String, String) - Method in interface com.cta4j.bus.prediction.PredictionsApi
-
Retrieves predictions by route ID and stop ID.
- findByRouteIds(Collection<String>) - Method in interface com.cta4j.bus.vehicle.VehiclesApi
-
Retrieves all vehicles for the specified route IDs.
- findByRun(String) - Method in interface com.cta4j.train.follow.FollowApi
-
Retrieves a train by its run number.
- findByStopId(StopArrivalQuery) - Method in interface com.cta4j.train.arrival.ArrivalsApi
-
Retrieves arrival information by stop ID.
- findByStopId(String) - Method in interface com.cta4j.train.arrival.ArrivalsApi
-
Retrieves arrival information by stop ID.
- findByStopIds(StopsPredictionsQuery) - Method in interface com.cta4j.bus.prediction.PredictionsApi
-
Retrieves predictions by stop IDs.
- findByVehicleId(String) - Method in interface com.cta4j.bus.prediction.PredictionsApi
-
Retrieves predictions by vehicle ID.
- findByVehicleIds(VehiclesPredictionsQuery) - Method in interface com.cta4j.bus.prediction.PredictionsApi
-
Retrieves predictions by vehicle IDs.
- flags() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns the value of the
flagsrecord component. - flags() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
flagsrecord component. - flagStop() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
flagStoprecord component. - FlagStop - Enum Class in com.cta4j.bus.prediction.model
-
Represents the flag-stop information for a prediction.
- follow() - Method in interface com.cta4j.train.TrainApi
-
Provides access to train follow-related endpoints.
- FollowApi - Interface in com.cta4j.train.follow
-
Provides access to follow-related endpoints of the CTA Train Tracker API.
- FollowTrain - Record Class in com.cta4j.train.follow.model
-
Represents a response from the "follow" endpoint of the CTA Train Tracker API.
- FollowTrain(Coordinates, List<Arrival>) - Constructor for record class com.cta4j.train.follow.model.FollowTrain
-
Constructs a
FollowTrain. - fromCode(int) - Static method in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Returns the
DynamicActioncorresponding to the given code. - fromCode(int) - Static method in enum class com.cta4j.bus.prediction.model.FlagStop
-
Returns the
FlagStopcorresponding to the given code. - fromCode(int) - Static method in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Returns the
TransitModecorresponding to the given code. - fromCode(int) - Static method in enum class com.cta4j.train.common.model.TrainDirection
-
Returns the
TrainDirectioncorresponding to the given code. - fromCode(String) - Static method in enum class com.cta4j.train.common.model.TrainLine
-
Returns the
TrainLinecorresponding to the given code. - fromCode(String) - Static method in enum class com.cta4j.train.station.model.CardinalDirection
-
Returns the
CardinalDirectioncorresponding to the given code. - FULL - Enum constant in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Indicates that the bus is full.
G
- GeoConstants - Class in com.cta4j.common.geo
- getCode() - Method in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Gets the code associated with this dynamic action.
- getCode() - Method in enum class com.cta4j.bus.prediction.model.FlagStop
-
Gets the code associated with this flag-stop.
- getCode() - Method in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Gets the code associated with this transit mode.
- getCode() - Method in enum class com.cta4j.train.common.model.TrainDirection
-
Gets the CTA direction code associated with this direction.
- getCode() - Method in enum class com.cta4j.train.common.model.TrainLine
-
Gets the CTA code for this train line.
- getColorHex() - Method in enum class com.cta4j.train.common.model.TrainLine
-
Gets the hex color code of this train line.
- GREEN - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Green Line.
- gtfsSequence() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
gtfsSequencerecord component. - gtfsSequence() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
gtfsSequencerecord component. - gtfsSequence() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
gtfsSequencerecord component.
H
- HALF_EMPTY - Enum constant in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Indicates that the bus is half full.
- hashCode() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.locale.model.SupportedLocale
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.route.model.Route
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.common.geo.Coordinates
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.follow.model.FollowTrain
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.location.model.TrainLocations
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.station.model.Location
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.cta4j.train.station.model.Station
-
Returns a hash code value for this object.
- heading() - Method in record class com.cta4j.common.geo.Coordinates
-
Returns the value of the
headingrecord component. - host(String) - Method in interface com.cta4j.bus.BusApi.Builder
-
Sets the API host to use for requests.
- host(String) - Method in interface com.cta4j.train.TrainApi.Builder
-
Sets the API host to use for requests.
- humanAddress() - Method in record class com.cta4j.train.station.model.Location
-
Returns the value of the
humanAddressrecord component. - HumanAddress - Record Class in com.cta4j.train.station.model
-
Represents a human-readable address.
- HumanAddress(String, String, String, String) - Constructor for record class com.cta4j.train.station.model.HumanAddress
-
Constructs a
HumanAddress.
I
- id() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.route.model.Route
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
idrecord component. - id() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
idrecord component. - INVALIDATED_TRIP - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip has been invalidated.
- INVALIDATED_TRIP_NEW - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip, which was created dynamically, has been invalidated.
L
- lastUpdated() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
lastUpdatedrecord component. - latitude() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.common.geo.Coordinates
-
Returns the value of the
latituderecord component. - latitude() - Method in record class com.cta4j.train.station.model.Location
-
Returns the value of the
latituderecord component. - length() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
lengthrecord component. - line() - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Returns the value of the
linerecord component. - line() - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Returns the value of the
linerecord component. - line() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
linerecord component. - line() - Method in record class com.cta4j.train.location.model.TrainLocations
-
Returns the value of the
linerecord component. - line(TrainLine) - Method in class com.cta4j.train.arrival.query.MapArrivalQuery.Builder
-
Sets the train line to filter arrival information by.
- line(TrainLine) - Method in class com.cta4j.train.arrival.query.StopArrivalQuery.Builder
-
Sets the train line to filter arrival information by.
- lines() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
linesrecord component. - list() - Method in interface com.cta4j.bus.detour.DetoursApi
-
Retrieves all active detours.
- list() - Method in interface com.cta4j.bus.locale.LocalesApi
-
Retrieves the supported locales.
- list() - Method in interface com.cta4j.bus.route.RoutesApi
-
Retrieves all available routes.
- list() - Method in interface com.cta4j.train.station.StationsApi
-
Retrieves all available stations.
- list(Locale) - Method in interface com.cta4j.bus.locale.LocalesApi
-
Retrieves the supported locales, with names displayed in the specified locale.
- listInNativeLanguage() - Method in interface com.cta4j.bus.locale.LocalesApi
-
Retrieves the supported locales, with names displayed in their native languages.
- locale() - Method in record class com.cta4j.bus.locale.model.SupportedLocale
-
Returns the value of the
localerecord component. - locales() - Method in interface com.cta4j.bus.BusApi
-
Provides access to locale and language-related endpoints.
- LocalesApi - Interface in com.cta4j.bus.locale
-
Provides access to locale-related endpoints of the CTA BusTime API.
- location() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
locationrecord component. - Location - Record Class in com.cta4j.train.station.model
-
Represents a geographical location with latitude and longitude, optionally including a human-readable address.
- Location(BigDecimal, BigDecimal, HumanAddress) - Constructor for record class com.cta4j.train.station.model.Location
-
Constructs a
Location. - locations() - Method in interface com.cta4j.train.TrainApi
-
Provides access to location-related endpoints.
- LocationsApi - Interface in com.cta4j.train.location
-
Provides access to location-related endpoints of the CTA Train Tracker API.
- LocationTrain - Record Class in com.cta4j.train.location.model
-
Represents the location of a train on a route.
- LocationTrain(String, String, String, TrainDirection, String, String, String, Instant, Instant, boolean, boolean, String, Coordinates) - Constructor for record class com.cta4j.train.location.model.LocationTrain
-
Constructs a
LocationTrain. - longitude() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.common.geo.Coordinates
-
Returns the value of the
longituderecord component. - longitude() - Method in record class com.cta4j.train.station.model.Location
-
Returns the value of the
longituderecord component.
M
- MapArrivalQuery - Record Class in com.cta4j.train.arrival.query
-
Represents a query for train arrival information for a specific map.
- MapArrivalQuery(String, TrainLine, Integer) - Constructor for record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Constructs a
MapArrivalQuery. - MapArrivalQuery.Builder - Class in com.cta4j.train.arrival.query
-
A builder for
MapArrivalQuery. - mapId() - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Returns the value of the
mapIdrecord component. - mapId() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
mapIdrecord component. - MAX_HEADING - Static variable in class com.cta4j.common.geo.GeoConstants
- MAX_LATITUDE - Static variable in class com.cta4j.common.geo.GeoConstants
- MAX_LONGITUDE - Static variable in class com.cta4j.common.geo.GeoConstants
- maxResults() - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Returns the value of the
maxResultsrecord component. - maxResults() - Method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Returns the value of the
maxResultsrecord component. - maxResults() - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Returns the value of the
maxResultsrecord component. - maxResults() - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Returns the value of the
maxResultsrecord component. - maxResults(Integer) - Method in class com.cta4j.bus.prediction.query.StopsPredictionsQuery.Builder
-
Sets the maximum number of predictions to return.
- maxResults(Integer) - Method in class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery.Builder
-
Sets the maximum number of predictions to return.
- maxResults(Integer) - Method in class com.cta4j.train.arrival.query.MapArrivalQuery.Builder
-
Sets the maximum number of arrival information to return.
- maxResults(Integer) - Method in class com.cta4j.train.arrival.query.StopArrivalQuery.Builder
-
Sets the maximum number of arrival information to return.
- metadata() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
metadatarecord component. - MIN_HEADING - Static variable in class com.cta4j.common.geo.GeoConstants
- MIN_LATITUDE - Static variable in class com.cta4j.common.geo.GeoConstants
- MIN_LONGITUDE - Static variable in class com.cta4j.common.geo.GeoConstants
- mode() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
moderecord component.
N
- name() - Method in record class com.cta4j.bus.route.model.Route
-
Returns the value of the
namerecord component. - name() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns the value of the
namerecord component. - name() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
namerecord component. - NEW_TRIP - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip was created dynamically and does not appear in the TA schedule.
- nextBus() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
nextBusrecord component. - nextStationId() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
nextStationIdrecord component. - nextStationName() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
nextStationNamerecord component. - nextStopId() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
nextStopIdrecord component. - NONE - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that no dynamic action has been applied.
- NONE - Enum constant in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Indicates no specific transit mode.
- NORMAL - Enum constant in enum class com.cta4j.bus.prediction.model.FlagStop
-
Indicates a normal stop.
- NORTH - Enum constant in enum class com.cta4j.train.station.model.CardinalDirection
-
North direction.
- NORTHBOUND - Enum constant in enum class com.cta4j.train.common.model.TrainDirection
-
Indicates a northbound operational direction (CTA direction code 1).
O
- ONLY_DISCHARGE - Enum constant in enum class com.cta4j.bus.prediction.model.FlagStop
-
Indicates a stop where only discharging of passengers occurs.
- ORANGE - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Orange Line.
- originalTripNumber() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
originalTripNumberrecord component. - originalTripNumber() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
originalTripNumberrecord component.
P
- PARTIAL_TRIP - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates one of the following: The trip has been split, and this part of the split is using the original trip identifier(s).
- PARTIAL_TRIP_NEW - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates the trip has been split, and this part of the split has been assigned a new trip identifier(s).
- passengerLoad() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
passengerLoadrecord component. - passengerLoad() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
passengerLoadrecord component. - PassengerLoad - Enum Class in com.cta4j.bus.prediction.model
-
Represents the passenger load information for a prediction.
- patternId() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
patternIdrecord component. - PatternPoint - Record Class in com.cta4j.bus.pattern.model
-
Represents a point in a bus route pattern.
- PatternPoint(int, PatternPointType, String, String, BigDecimal, BigDecimal, BigDecimal) - Constructor for record class com.cta4j.bus.pattern.model.PatternPoint
-
Constructs a
PatternPoint. - PatternPointType - Enum Class in com.cta4j.bus.pattern.model
-
Represents the type of point within a route or pattern geometry.
- patterns() - Method in interface com.cta4j.bus.BusApi
-
Provides access to route pattern–related endpoints.
- PatternsApi - Interface in com.cta4j.bus.pattern
-
Provides access to route pattern-related endpoints of the CTA BusTime API.
- PEOPLE_MOVER - Enum constant in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Indicates a people mover transit mode.
- PICKUP_AND_DISCHARGE - Enum constant in enum class com.cta4j.bus.prediction.model.FlagStop
-
Indicates a stop where passengers are both picked up and discharged.
- PINK - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Pink Line.
- points() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns the value of the
pointsrecord component. - Prediction - Record Class in com.cta4j.bus.prediction.model
-
Represents a bus arrival prediction.
- Prediction(PredictionType, String, String, String, BigInteger, String, String, String, String, Instant, Boolean, PredictionMetadata) - Constructor for record class com.cta4j.bus.prediction.model.Prediction
-
Constructs a
Prediction. - PredictionMetadata - Record Class in com.cta4j.bus.prediction.model
-
Represents metadata associated with a bus arrival prediction.
- PredictionMetadata(Instant, DynamicAction, String, String, String, String, String, PassengerLoad, Integer, String, Integer, LocalDate, FlagStop) - Constructor for record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Constructs a
PredictionMetadata. - predictions() - Method in interface com.cta4j.bus.BusApi
-
Provides access to prediction and arrival-related endpoints.
- PredictionsApi - Interface in com.cta4j.bus.prediction
-
Provides access to prediction-related endpoints of the CTA BusTime API.
- predictionTime() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
predictionTimerecord component. - predictionTime() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
predictionTimerecord component. - predictionType() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
predictionTyperecord component. - PredictionType - Enum Class in com.cta4j.bus.prediction.model
-
Represents the type of bus prediction.
- PURPLE - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Purple Line.
R
- RAIL - Enum constant in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Indicates a rail transit mode.
- REASSIGNED - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the event or trip will be handled by a different vehicle or operator.
- RED - Enum constant in enum class com.cta4j.train.common.model.TrainLine
-
The Red Line.
- route() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
routerecord component. - route() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns the value of the
routerecord component. - Route - Record Class in com.cta4j.bus.route.model
-
Represents a bus route.
- Route(String, String, String, String, String) - Constructor for record class com.cta4j.bus.route.model.Route
-
Constructs a
Route. - routeDesignator() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
routeDesignatorrecord component. - routeDirection() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
routeDirectionrecord component. - routeDirections() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
routeDirectionsrecord component. - routeId() - Method in record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Returns the value of the
routeIdrecord component. - routeIds() - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Returns the value of the
routeIdsrecord component. - routeIds(List<String>) - Method in class com.cta4j.bus.prediction.query.StopsPredictionsQuery.Builder
-
Sets the
Listof route IDs to filter predictions by. - RoutePattern - Record Class in com.cta4j.bus.pattern.model
-
Represents a bus route pattern.
- RoutePattern(String, int, String, List<PatternPoint>, String, List<PatternPoint>) - Constructor for record class com.cta4j.bus.pattern.model.RoutePattern
-
Constructs a
RoutePattern. - routes() - Method in interface com.cta4j.bus.BusApi
-
Provides access to route-related endpoints.
- RoutesApi - Interface in com.cta4j.bus.route
-
Provides access to route-related endpoints of the CTA BusTime API.
- run() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns the value of the
runrecord component. - runNumber() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns the value of the
runNumberrecord component.
S
- scheduled() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
scheduledrecord component. - scheduledStartDate() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
scheduledStartDaterecord component. - scheduledStartDate() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
scheduledStartDaterecord component. - scheduledStartSeconds() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
scheduledStartSecondsrecord component. - scheduledStartSeconds() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
scheduledStartSecondsrecord component. - sequence() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
sequencerecord component. - sequence() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
sequencerecord component. - serverTimestamp() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
serverTimestamprecord component. - SHIFTED - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the time of the event, or the entire trip, has been moved.
- SOUTH - Enum constant in enum class com.cta4j.train.station.model.CardinalDirection
-
South direction.
- SOUTHBOUND - Enum constant in enum class com.cta4j.train.common.model.TrainDirection
-
Indicates a southbound operational direction (CTA direction code 5).
- speed() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
speedrecord component. - startTime() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
startTimerecord component. - state() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns the value of the
staterecord component. - Station - Record Class in com.cta4j.train.station.model
-
Represents a train station.
- Station(String, CardinalDirection, String, String, String, String, boolean, List<TrainLine>, Location) - Constructor for record class com.cta4j.train.station.model.Station
-
Constructs a
Station. - stationId() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
stationIdrecord component. - stationName() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
stationNamerecord component. - stations() - Method in interface com.cta4j.train.TrainApi
-
Provides access to station-related endpoints.
- StationsApi - Interface in com.cta4j.train.station
-
Provides access to station-related endpoints.
- stationsUrl(String) - Method in interface com.cta4j.train.TrainApi.Builder
-
Sets the URL to fetch station data from.
- Stop - Record Class in com.cta4j.bus.stop.model
-
Represents a bus stop.
- Stop(String, String, BigDecimal, BigDecimal, List<Integer>, List<Integer>, Integer, Boolean) - Constructor for record class com.cta4j.bus.stop.model.Stop
-
Constructs a
Stop. - STOP - Enum constant in enum class com.cta4j.bus.pattern.model.PatternPointType
-
Indicates a stop along the route.
- StopArrivalQuery - Record Class in com.cta4j.train.arrival.query
-
Represents a query for train arrival information for a specific stop.
- StopArrivalQuery(String, TrainLine, Integer) - Constructor for record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Constructs a
StopArrivalQuery. - StopArrivalQuery.Builder - Class in com.cta4j.train.arrival.query
-
A builder for
StopArrivalQuery. - stopDescription() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
stopDescriptionrecord component. - stopId() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns the value of the
stopIdrecord component. - stopId() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
stopIdrecord component. - stopIds() - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Returns the value of the
stopIdsrecord component. - stopName() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
stopNamerecord component. - stopName() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
stopNamerecord component. - stopName() - Method in record class com.cta4j.train.station.model.Station
-
Returns the value of the
stopNamerecord component. - stops() - Method in interface com.cta4j.bus.BusApi
-
Provides access to stop-related endpoints.
- STOPS_AFFECTED - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip has events that are affected by Disruption Management changes, but the trip itself is not affected.
- STOPS_AFFECTED_NEW - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip, which was created dynamically, has events that are affected by Disruption Management changes, but the trip itself is not affected.
- StopsApi - Interface in com.cta4j.bus.stop
-
Provides access to stop-related endpoints of the CTA BusTime API.
- StopsPredictionsQuery - Record Class in com.cta4j.bus.prediction.query
-
Represents a query for bus arrival predictions.
- StopsPredictionsQuery(List<String>, List<String>, Integer) - Constructor for record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Constructs a
StopsPredictionsQuery. - StopsPredictionsQuery.Builder - Class in com.cta4j.bus.prediction.query
-
A builder for
StopsPredictionsQuery. - stopStatus() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
stopStatusrecord component. - SupportedLocale - Record Class in com.cta4j.bus.locale.model
-
Represents a locale supported by the CTA Bus API.
- SupportedLocale(Locale, String) - Constructor for record class com.cta4j.bus.locale.model.SupportedLocale
-
Constructs a
SupportedLocale. - systemTime() - Method in interface com.cta4j.bus.BusApi
-
Returns the current system time reported by the Bus Tracker API.
T
- timepointId() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
timepointIdrecord component. - timestamp() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
timestamprecord component. - toString() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.detour.model.DetourRouteDirection
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.locale.model.SupportedLocale
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.pattern.model.RoutePattern
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.prediction.query.StopsPredictionsQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.route.model.Route
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.stop.model.Stop
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.vehicle.model.Vehicle
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.common.geo.Coordinates
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.arrival.query.MapArrivalQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.arrival.query.StopArrivalQuery
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.common.model.Arrival
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.common.model.ArrivalMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.follow.model.FollowTrain
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.location.model.LocationTrain
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.location.model.TrainLocations
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.station.model.Location
-
Returns a string representation of this record class.
- toString() - Method in record class com.cta4j.train.station.model.Station
-
Returns a string representation of this record class.
- TrainApi - Interface in com.cta4j.train
-
Primary entry point for interacting with the CTA Train Tracker API.
- TrainApi.Builder - Interface in com.cta4j.train
-
Builder for constructing
TrainApiinstances. - TrainDirection - Enum Class in com.cta4j.train.common.model
-
Represents the operational direction of a train.
- TrainLine - Enum Class in com.cta4j.train.common.model
-
Represents a train line.
- TrainLocations - Record Class in com.cta4j.train.location.model
-
Represents the locations of all trains on a route.
- TrainLocations(TrainLine, List<LocationTrain>) - Constructor for record class com.cta4j.train.location.model.TrainLocations
-
Constructs a
TrainLocations. - trains() - Method in record class com.cta4j.train.location.model.TrainLocations
-
Returns the value of the
trainsrecord component. - TransitMode - Enum Class in com.cta4j.bus.vehicle.model
-
Represents the mode of transit for a vehicle.
- tripId() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
tripIdrecord component. - tripId() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
tripIdrecord component. - type() - Method in record class com.cta4j.bus.pattern.model.PatternPoint
-
Returns the value of the
typerecord component.
U
- UNDEFINED - Enum constant in enum class com.cta4j.bus.prediction.model.FlagStop
-
Indicates that no flag-stop information is available.
- UNKNOWN - Enum constant in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Indicates that no passenger load information is available.
- UNKNOWN_DELAY - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip has been affected by a delay.
- UNKNOWN_DELAY_NEW - Enum constant in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Indicates that the trip, which was created dynamically, has been affected by a delay.
V
- valueOf(String) - Static method in enum class com.cta4j.bus.pattern.model.PatternPointType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.bus.prediction.model.FlagStop
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.bus.prediction.model.PredictionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.train.common.model.TrainDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.train.common.model.TrainLine
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.cta4j.train.station.model.CardinalDirection
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.cta4j.bus.pattern.model.PatternPointType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.bus.prediction.model.DynamicAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.bus.prediction.model.FlagStop
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.bus.prediction.model.PassengerLoad
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.bus.prediction.model.PredictionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.bus.vehicle.model.TransitMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.train.common.model.TrainDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.train.common.model.TrainLine
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.cta4j.train.station.model.CardinalDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vehicle - Record Class in com.cta4j.bus.vehicle.model
-
Represents a vehicle.
- Vehicle(String, String, String, Coordinates, boolean, VehicleMetadata) - Constructor for record class com.cta4j.bus.vehicle.model.Vehicle
-
Constructs a
Vehicle. - vehicleId() - Method in record class com.cta4j.bus.prediction.model.Prediction
-
Returns the value of the
vehicleIdrecord component. - vehicleIds() - Method in record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Returns the value of the
vehicleIdsrecord component. - VehicleMetadata - Record Class in com.cta4j.bus.vehicle.model
-
Represents metadata associated with a vehicle.
- VehicleMetadata(String, Instant, String, int, Integer, Integer, String, Integer, Integer, Instant, Integer, Integer, String, String, String, String, TransitMode, PassengerLoad, Integer, LocalDate) - Constructor for record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Constructs a
VehicleMetadata. - vehicles() - Method in interface com.cta4j.bus.BusApi
-
Provides access to vehicle-related endpoints.
- VehiclesApi - Interface in com.cta4j.bus.vehicle
-
Provides access to vehicle-related endpoints of the CTA BusTime API.
- VehiclesPredictionsQuery - Record Class in com.cta4j.bus.prediction.query
-
Represents a query for vehicle arrival predictions.
- VehiclesPredictionsQuery(List<String>, Integer) - Constructor for record class com.cta4j.bus.prediction.query.VehiclesPredictionsQuery
-
Constructs a
VehiclesPredictionsQuery. - VehiclesPredictionsQuery.Builder - Class in com.cta4j.bus.prediction.query
-
Builder for
VehiclesPredictionsQuery. - version() - Method in record class com.cta4j.bus.detour.model.Detour
-
Returns the value of the
versionrecord component.
W
- WAYPOINT - Enum constant in enum class com.cta4j.bus.pattern.model.PatternPointType
-
Indicates a waypoint along the route.
- WEST - Enum constant in enum class com.cta4j.train.station.model.CardinalDirection
-
West direction.
Y
Z
- zip() - Method in record class com.cta4j.train.station.model.HumanAddress
-
Returns the value of the
ziprecord component. - zone() - Method in record class com.cta4j.bus.prediction.model.PredictionMetadata
-
Returns the value of the
zonerecord component. - zone() - Method in record class com.cta4j.bus.vehicle.model.VehicleMetadata
-
Returns the value of the
zonerecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form