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.

RoutesDbo.java 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.rthoni.stssaguenay.dbo;
  2. import com.luticate.utils.dbo.LuDbo;
  3. import com.luticate.utils.dbo.LuPaginatedDbo;
  4. /**
  5. * Created by robin on 9/30/16.
  6. */
  7. public class RoutesDbo extends LuDbo {
  8. public static class PaginatedRoutesDbo extends LuPaginatedDbo<RoutesDbo>
  9. {
  10. public PaginatedRoutesDbo()
  11. {
  12. super(RoutesDbo.class);
  13. }
  14. }
  15. protected String _id;
  16. protected String _name;
  17. protected String _bgColor;
  18. protected String _fgColor;
  19. public String getId() {
  20. return _id;
  21. }
  22. public void setId(String id) {
  23. _id = id;
  24. }
  25. public String getFullName()
  26. {
  27. return String.format("%s - %s", _id, _name);
  28. }
  29. public String getName() {
  30. return _name;
  31. }
  32. public void setName(String name) {
  33. _name = name;
  34. }
  35. public String getBgColor() {
  36. return _bgColor;
  37. }
  38. public void setBgColor(String bgColor) {
  39. _bgColor = bgColor;
  40. }
  41. public String getFgColor() {
  42. return _fgColor;
  43. }
  44. public void setFgColor(String fgColor) {
  45. _fgColor = fgColor;
  46. }
  47. }