Uses of Class
com.nnamo.models.RouteModel
Packages that use RouteModel
-
Uses of RouteModel in com.nnamo.models
Methods in com.nnamo.models that return RouteModelModifier and TypeMethodDescriptionFavoriteRouteModel.getRoute()
Gets the route marked as favorite.TripModel.getRoute()
Gets the route associated with this trip.Constructors in com.nnamo.models with parameters of type RouteModelModifierConstructorDescriptionFavoriteRouteModel
(UserModel user, RouteModel route) Constructs a FavoriteRouteModel with the specified user and route.Constructs a TripModel with the specified parameters.TripUpdateModel
(RouteModel route, LocalDateTime createdAt, int delay) Constructs a TripUpdateModel with the specified route, creation time, and delay. -
Uses of RouteModel in com.nnamo.services
Methods in com.nnamo.services that return RouteModelMethods in com.nnamo.services that return types with arguments of type RouteModelModifier and TypeMethodDescriptionDatabaseService.getFavoriteRoutes
(int userId) Get user's favorite routesDatabaseService.getStopRoutes
(String stopId) Gets the unique routes that go through a specific stopMethod parameters in com.nnamo.services with type arguments of type RouteModelModifier and TypeMethodDescriptionDatabaseService.getDirectionedRoutes
(List<RouteModel> routes) For each route in the provided list, this method creates a directioned route for each available direction.