1 /**
2 * Copyright 2011-2014 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;
16
17 import java.io.Serializable;
18 import javax.xml.bind.annotation.XmlRootElement;
19
20 /**
21 *
22 * @author Joe Swanson <joseswan@umich.edu>
23 */
24 @XmlRootElement( name = "bus" )
25 public class Bus implements Serializable {
26
27 private long id;
28 private String name;
29
30 private long routeId;
31 private String routeName;
32
33 private String latitude;
34 private String longitude;
35 private String heading;
36
37 private String color;
38
39 /**
40 * @return the id
41 */
42 public long getId() {
43 return id;
44 }
45
46 /**
47 * @param id the id to set
48 */
49 public void setId(long id) {
50 this.id = id;
51 }
52
53 /**
54 * @return the name
55 */
56 public String getName() {
57 return name;
58 }
59
60 /**
61 * @param name the name to set
62 */
63 public void setName(String name) {
64 this.name = name;
65 }
66
67 /**
68 * @return the routeId
69 */
70 public long getRouteId() {
71 return routeId;
72 }
73
74 /**
75 * @param routeId the routeId to set
76 */
77 public void setRouteId(long routeId) {
78 this.routeId = routeId;
79 }
80
81 /**
82 * @return the routeName
83 */
84 public String getRouteName() {
85 return routeName;
86 }
87
88 /**
89 * @param routeName the routeName to set
90 */
91 public void setRouteName(String routeName) {
92 this.routeName = routeName;
93 }
94
95 /**
96 * @return the latitude
97 */
98 public String getLatitude() {
99 return latitude;
100 }
101
102 /**
103 * @param latitude the latitude to set
104 */
105 public void setLatitude(String latitude) {
106 this.latitude = latitude;
107 }
108
109 /**
110 * @return the longitude
111 */
112 public String getLongitude() {
113 return longitude;
114 }
115
116 /**
117 * @param longitude the longitude to set
118 */
119 public void setLongitude(String longitude) {
120 this.longitude = longitude;
121 }
122
123 /**
124 * @return the heading
125 */
126 public String getHeading() {
127 return heading;
128 }
129
130 /**
131 * @param heading the heading to set
132 */
133 public void setHeading(String heading) {
134 this.heading = heading;
135 }
136
137 /**
138 * @return the color
139 */
140 public String getColor() {
141 return color;
142 }
143
144 /**
145 * @param color the color to set
146 */
147 public void setColor(String color) {
148 this.color = color;
149 }
150
151 }