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 964B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package com.rthoni.stssaguenay.dbo;
  2. import android.util.Pair;
  3. import java.util.List;
  4. /**
  5. * Created by robin on 9/29/16.
  6. */
  7. public class StopsDbo {
  8. protected String _name;
  9. protected List<String> _routes;
  10. protected String _id;
  11. protected Pair<Double, Double> _position;
  12. public String getFullName()
  13. {
  14. return String.format("%s - %s", _id, _name);
  15. }
  16. public String getName() {
  17. return _name;
  18. }
  19. public void setName(String name) {
  20. _name = name;
  21. }
  22. public List<String> getRoutes() {
  23. return _routes;
  24. }
  25. public void setRoutes(List<String> routes) {
  26. _routes = routes;
  27. }
  28. public String getId() {
  29. return _id;
  30. }
  31. public void setId(String id) {
  32. _id = id;
  33. }
  34. public Pair<Double, Double> getPosition() {
  35. return _position;
  36. }
  37. public void setPosition(Pair<Double, Double> position) {
  38. _position = position;
  39. }
  40. }