View Javadoc

1   /*
2    * Copyright 2011-2012 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 BusImpl implements Bus, 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      @Override
43      public long getId() {
44          return id;
45      }
46  
47      /**
48       * @param id the id to set
49       */
50      @Override
51      public void setId(long id) {
52          this.id = id;
53      }
54  
55      /**
56       * @return the name
57       */
58      @Override
59      public String getName() {
60          return name;
61      }
62  
63      /**
64       * @param name the name to set
65       */
66      @Override
67      public void setName(String name) {
68          this.name = name;
69      }
70  
71      /**
72       * @return the routeId
73       */
74      @Override
75      public long getRouteId() {
76          return routeId;
77      }
78  
79      /**
80       * @param routeId the routeId to set
81       */
82      @Override
83      public void setRouteId(long routeId) {
84          this.routeId = routeId;
85      }
86  
87      /**
88       * @return the routeName
89       */
90      @Override
91      public String getRouteName() {
92          return routeName;
93      }
94  
95      /**
96       * @param routeName the routeName to set
97       */
98      @Override
99      public void setRouteName(String routeName) {
100         this.routeName = routeName;
101     }
102 
103     /**
104      * @return the latitude
105      */
106     @Override
107     public String getLatitude() {
108         return latitude;
109     }
110 
111     /**
112      * @param latitude the latitude to set
113      */
114     @Override
115     public void setLatitude(String latitude) {
116         this.latitude = latitude;
117     }
118 
119     /**
120      * @return the longitude
121      */
122     @Override
123     public String getLongitude() {
124         return longitude;
125     }
126 
127     /**
128      * @param longitude the longitude to set
129      */
130     @Override
131     public void setLongitude(String longitude) {
132         this.longitude = longitude;
133     }
134 
135     /**
136      * @return the heading
137      */
138     @Override
139     public String getHeading() {
140         return heading;
141     }
142 
143     /**
144      * @param heading the heading to set
145      */
146     @Override
147     public void setHeading(String heading) {
148         this.heading = heading;
149     }
150 
151     /**
152      * @return the color
153      */
154     @Override
155     public String getColor() {
156         return color;
157     }
158 
159     /**
160      * @param color the color to set
161      */
162     @Override
163     public void setColor(String color) {
164         this.color = color;
165     }
166 
167 }