Advertisement
IrvinHeslan

Entry.Class

May 18th, 2014
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.96 KB | None | 0 0
  1. package package com.isn.busrennes.apk;
  2.  
  3. public class Entry {
  4.     private long id;
  5.     private String route;
  6.     private String stop;
  7.     private String departure;
  8.  
  9.     public Entry(long id, String route, String stop, String departure) {
  10.         super();
  11.         this.id = id;
  12.         this.route = route;
  13.         this.stop = stop;
  14.         this.departure = departure;
  15.         }
  16.     public Entry() {
  17.         super();
  18.     }
  19.     public long getId() {
  20.         return id;
  21.     }
  22.     public void setId(long id) {
  23.         this.id = id;
  24.     }
  25.     public String getRoute() {
  26.         return route;
  27.     }
  28.     public void setRoute(String route) {
  29.         this.route = route;
  30.     }
  31.     public String getStop() {
  32.         return stop;
  33.     }
  34.     public void setStop(String stop) {
  35.         this.stop = stop;
  36.     }
  37.     public String getDeparture() {
  38.         return departure;
  39.     }
  40.     public void setDeparture(String departure) {
  41.         this.departure = departure;
  42.     }
  43. }
  44.     @Override
  45.     public String toString() {
  46.         return "Feed [stop=" + stop+ ", departure=" + departure + ", route="
  47.                 + route + "]";
  48.     }
  49.  
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement