You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StopsDbo.java 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package com.rthoni.stssaguenay.dbo;
  2. import com.luticate.utils.dbo.LuDbo;
  3. import com.luticate.utils.dbo.LuPaginatedDbo;
  4. import java.util.List;
  5. /**
  6. * Created by robin on 9/29/16.
  7. */
  8. public class StopsDbo extends LuDbo {
  9. public static class PaginatedStopsDbo extends LuPaginatedDbo<StopsDbo>
  10. {
  11. public PaginatedStopsDbo()
  12. {
  13. super(StopsDbo.class);
  14. }
  15. }
  16. protected String _name;
  17. protected List<String> _routes;
  18. protected String _id;
  19. protected double _posX;
  20. protected double _posY;
  21. public String getFullName()
  22. {
  23. return String.format("%s - %s", _id, _name);
  24. }
  25. public String getName() {
  26. return _name;
  27. }
  28. public void setName(String name) {
  29. _name = name;
  30. }
  31. public List<String> getRoutes() {
  32. return _routes;
  33. }
  34. public void setRoutes(List<String> routes) {
  35. _routes = routes;
  36. }
  37. public String getId() {
  38. return _id;
  39. }
  40. public void setId(String id) {
  41. _id = id;
  42. }
  43. public double getPosX() {
  44. return _posX;
  45. }
  46. public void setPosX(double posX) {
  47. _posX = posX;
  48. }
  49. public double getPosY() {
  50. return _posY;
  51. }
  52. public void setPosY(double posY) {
  53. _posY = posY;
  54. }
  55. }