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  import java.util.List;
19  
20  /**
21   *
22   * @author Joe Swanson <joseswan@umich.edu>
23   */
24  @XStreamAlias("route")
25  public class UMBusRoute {
26  
27      @XStreamAlias("name")
28      private String name;
29  
30      @XStreamAlias("id")
31      private String id;
32  
33      @XStreamAlias("topofloop")
34      private String topofloop;
35  
36      @XStreamAlias("busroutecolor")
37      private String color;
38  
39      private List<UMBusStop> stops;
40  
41      @XStreamAlias("stopcount")
42      private String stopcount;
43  
44      /**
45       * @return the name
46       */
47      public String getName() {
48          return name;
49      }
50  
51      /**
52       * @param name the name to set
53       */
54      public void setName(String name) {
55          this.name = name;
56      }
57  
58      /**
59       * @return the id
60       */
61      public String getId() {
62          return id;
63      }
64  
65      /**
66       * @param id the id to set
67       */
68      public void setId(String id) {
69          this.id = id;
70      }
71  
72      /**
73       * @return the topofloop
74       */
75      public String getTopofloop() {
76          return topofloop;
77      }
78  
79      /**
80       * @param topofloop the topofloop to set
81       */
82      public void setTopofloop(String topofloop) {
83          this.topofloop = topofloop;
84      }
85  
86      /**
87       * @return the color
88       */
89      public String getColor() {
90          return color;
91      }
92  
93      /**
94       * @param color the color to set
95       */
96      public void setColor(String color) {
97          this.color = color;
98      }
99  
100     /**
101      * @return the stops
102      */
103     public List<UMBusStop> getStops() {
104         return stops;
105     }
106 
107     /**
108      * @param stops the stops to set
109      */
110     public void setStops(List<UMBusStop> stops) {
111         this.stops = stops;
112     }
113 }