Uses of Enum Class
com.cta4j.train.common.model.TrainDirection
Packages that use TrainDirection
-
Uses of TrainDirection in com.cta4j.train.common.model
Methods in com.cta4j.train.common.model that return TrainDirectionModifier and TypeMethodDescriptionArrivalMetadata.direction()Returns the value of thedirectionrecord component.static TrainDirectionTrainDirection.fromCode(int code) Returns theTrainDirectioncorresponding to the given code.static TrainDirectionReturns the enum constant of this class with the specified name.static TrainDirection[]TrainDirection.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 TrainDirectionModifierConstructorDescriptionArrivalMetadata(String runNumber, TrainDirection direction, @Nullable Coordinates coordinates, @Nullable String flags) Constructs anArrivalMetadata. -
Uses of TrainDirection in com.cta4j.train.location.model
Methods in com.cta4j.train.location.model that return TrainDirectionModifier and TypeMethodDescriptionLocationTrain.direction()Returns the value of thedirectionrecord component.Constructors in com.cta4j.train.location.model with parameters of type TrainDirectionModifierConstructorDescriptionLocationTrain(String run, String destinationStationId, String destinationName, TrainDirection direction, String nextStationId, String nextStopId, String nextStationName, Instant predictionTime, Instant arrivalTime, boolean approaching, boolean delayed, @Nullable String flags, Coordinates coordinates) Constructs aLocationTrain.