001/* 002 * Copyright 2011-2012 The Kuali Foundation Licensed under the 003 * Educational Community License, Version 2.0 (the "License"); you may 004 * not use this file except in compliance with the License. You may 005 * obtain a copy of the License at 006 * 007 * http://www.osedu.org/licenses/ECL-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, 010 * software distributed under the License is distributed on an "AS IS" 011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 012 * or implied. See the License for the specific language governing 013 * permissions and limitations under the License. 014 */ 015package org.kuali.mobility.bus.entity; 016 017/** 018 * 019 * @author Joe Swanson <joseswan@umich.edu> 020 */ 021public interface Bus { 022 023 /** 024 * @return the color 025 */ 026 String getColor(); 027 028 /** 029 * @return the heading 030 */ 031 String getHeading(); 032 033 /** 034 * @return the id 035 */ 036 long getId(); 037 038 /** 039 * @return the latitude 040 */ 041 String getLatitude(); 042 043 /** 044 * @return the longitude 045 */ 046 String getLongitude(); 047 048 /** 049 * @return the name 050 */ 051 String getName(); 052 053 /** 054 * @return the routeId 055 */ 056 long getRouteId(); 057 058 /** 059 * @return the routeName 060 */ 061 String getRouteName(); 062 063 /** 064 * @param color the color to set 065 */ 066 void setColor(String color); 067 068 /** 069 * @param heading the heading to set 070 */ 071 void setHeading(String heading); 072 073 /** 074 * @param id the id to set 075 */ 076 void setId(long id); 077 078 /** 079 * @param latitude the latitude to set 080 */ 081 void setLatitude(String latitude); 082 083 /** 084 * @param longitude the longitude to set 085 */ 086 void setLongitude(String longitude); 087 088 /** 089 * @param name the name to set 090 */ 091 void setName(String name); 092 093 /** 094 * @param routeId the routeId to set 095 */ 096 void setRouteId(long routeId); 097 098 /** 099 * @param routeName the routeName to set 100 */ 101 void setRouteName(String routeName); 102 103}