View Javadoc

1   /*
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  package org.kuali.mobility.bus.entity.helper;
16  
17  import com.thoughtworks.xstream.annotations.XStreamAlias;
18  
19  /**
20   *
21   * @author Joe Swanson <joseswan@umich.edu>
22   */
23  @XStreamAlias("item")
24  public class UMBus {
25  
26      @XStreamAlias("id")
27      private long id;
28  
29      @XStreamAlias("latitude")
30      private String latitude;
31      @XStreamAlias("longitude")
32      private String longitude;
33      @XStreamAlias("routeid")
34      private long routeId;
35      @XStreamAlias("route")
36      private String routeName;
37      @XStreamAlias("busroutecolor")
38      private String color;
39      @XStreamAlias("heading")
40      private String heading;
41  
42      /**
43       * @return the id
44       */
45      public long getId() {
46          return id;
47      }
48  
49      /**
50       * @param id the id to set
51       */
52      public void setId(long id) {
53          this.id = id;
54      }
55  
56      /**
57       * @return the latitude
58       */
59      public String getLatitude() {
60          return latitude;
61      }
62  
63      /**
64       * @param latitude the latitude to set
65       */
66      public void setLatitude(String latitude) {
67          this.latitude = latitude;
68      }
69  
70      /**
71       * @return the longitude
72       */
73      public String getLongitude() {
74          return longitude;
75      }
76  
77      /**
78       * @param longitude the longitude to set
79       */
80      public void setLongitude(String longitude) {
81          this.longitude = longitude;
82      }
83  
84      /**
85       * @return the routeId
86       */
87      public long getRouteId() {
88          return routeId;
89      }
90  
91      /**
92       * @param routeId the routeId to set
93       */
94      public void setRouteId(long routeId) {
95          this.routeId = routeId;
96      }
97  
98      /**
99       * @return the routeName
100      */
101     public String getRouteName() {
102         return routeName;
103     }
104 
105     /**
106      * @param routeName the routeName to set
107      */
108     public void setRouteName(String routeName) {
109         this.routeName = routeName;
110     }
111 
112     /**
113      * @return the color
114      */
115     public String getColor() {
116         return color;
117     }
118 
119     /**
120      * @param color the color to set
121      */
122     public void setColor(String color) {
123         this.color = color;
124     }
125 
126     /**
127      * @return the heading
128      */
129     public String getHeading() {
130         return heading;
131     }
132 
133     /**
134      * @param heading the heading to set
135      */
136     public void setHeading(String heading) {
137         this.heading = heading;
138     }
139 }