Uses of Enum Class
com.cta4j.train.common.model.TrainLine
Packages that use TrainLine
Package
Description
-
Uses of TrainLine in com.cta4j.train.arrival.query
Methods in com.cta4j.train.arrival.query that return TrainLineModifier and TypeMethodDescription@Nullable TrainLineMapArrivalQuery.line()Returns the value of thelinerecord component.@Nullable TrainLineStopArrivalQuery.line()Returns the value of thelinerecord component.Methods in com.cta4j.train.arrival.query with parameters of type TrainLineModifier and TypeMethodDescriptionSets the train line to filter arrival information by.Sets the train line to filter arrival information by.Constructors in com.cta4j.train.arrival.query with parameters of type TrainLineModifierConstructorDescriptionMapArrivalQuery(String mapId, @Nullable TrainLine line, @Nullable Integer maxResults) Constructs aMapArrivalQuery.StopArrivalQuery(String stopId, @Nullable TrainLine line, @Nullable Integer maxResults) Constructs aStopArrivalQuery. -
Uses of TrainLine in com.cta4j.train.common.model
Methods in com.cta4j.train.common.model that return TrainLineModifier and TypeMethodDescriptionstatic TrainLineReturns theTrainLinecorresponding to the given code.Arrival.line()Returns the value of thelinerecord component.static TrainLineReturns the enum constant of this class with the specified name.static TrainLine[]TrainLine.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.cta4j.train.common.model with parameters of type TrainLineModifierConstructorDescriptionArrival(String stationId, String stationName, String stopId, String stopDescription, TrainLine line, String destinationStationId, String destinationName, Instant predictionTime, Instant arrivalTime, boolean approaching, boolean scheduled, boolean delayed, boolean fault, ArrivalMetadata metadata) Constructs anArrival. -
Uses of TrainLine in com.cta4j.train.location
Methods in com.cta4j.train.location with parameters of type TrainLineModifier and TypeMethodDescriptiondefault List<TrainLocations> LocationsApi.findByLine(TrainLine line) Retrieves train locations for the specified line.Method parameters in com.cta4j.train.location with type arguments of type TrainLineModifier and TypeMethodDescriptionLocationsApi.findByLines(List<TrainLine> lines) Retrieves train locations for the specified lines. -
Uses of TrainLine in com.cta4j.train.location.model
Methods in com.cta4j.train.location.model that return TrainLineModifier and TypeMethodDescriptionTrainLocations.line()Returns the value of thelinerecord component.Constructors in com.cta4j.train.location.model with parameters of type TrainLineModifierConstructorDescriptionTrainLocations(TrainLine line, List<LocationTrain> trains) Constructs aTrainLocations. -
Uses of TrainLine in com.cta4j.train.station.model
Methods in com.cta4j.train.station.model that return types with arguments of type TrainLineModifier and TypeMethodDescriptionStation.lines()Returns the value of thelinesrecord component.Constructor parameters in com.cta4j.train.station.model with type arguments of type TrainLine