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 /** 18 * 19 * @author Joe Swanson <joseswan@umich.edu> 20 */ 21 public interface Bus { 22 23 /** 24 * @return the color 25 */ 26 String getColor(); 27 28 /** 29 * @return the heading 30 */ 31 String getHeading(); 32 33 /** 34 * @return the id 35 */ 36 long getId(); 37 38 /** 39 * @return the latitude 40 */ 41 String getLatitude(); 42 43 /** 44 * @return the longitude 45 */ 46 String getLongitude(); 47 48 /** 49 * @return the name 50 */ 51 String getName(); 52 53 /** 54 * @return the routeId 55 */ 56 long getRouteId(); 57 58 /** 59 * @return the routeName 60 */ 61 String getRouteName(); 62 63 /** 64 * @param color the color to set 65 */ 66 void setColor(String color); 67 68 /** 69 * @param heading the heading to set 70 */ 71 void setHeading(String heading); 72 73 /** 74 * @param id the id to set 75 */ 76 void setId(long id); 77 78 /** 79 * @param latitude the latitude to set 80 */ 81 void setLatitude(String latitude); 82 83 /** 84 * @param longitude the longitude to set 85 */ 86 void setLongitude(String longitude); 87 88 /** 89 * @param name the name to set 90 */ 91 void setName(String name); 92 93 /** 94 * @param routeId the routeId to set 95 */ 96 void setRouteId(long routeId); 97 98 /** 99 * @param routeName the routeName to set 100 */ 101 void setRouteName(String routeName); 102 103 }