-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added classes to handle Buses and NextRide API
- Loading branch information
Austin Beeler
committed
Apr 19, 2015
1 parent
1fbb11b
commit f622273
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/main/java/uncc/parkability/com/parkabilityuncc/data/Bus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package uncc.parkability.com.parkabilityuncc.data; | ||
|
||
import com.google.android.gms.maps.model.LatLng; | ||
|
||
/** | ||
* A bus that has a route on campus. Can be updated via the BusAPI | ||
* | ||
* @author Austin Beeler | ||
* @version 4/19/15 | ||
*/ | ||
public class Bus { | ||
/** The route this bus will follow */ | ||
private BusRoute route; | ||
|
||
/** The latitude and longitude of the bus */ | ||
private LatLng location; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/uncc/parkability/com/parkabilityuncc/data/BusAPI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package uncc.parkability.com.parkabilityuncc.data; | ||
|
||
/** | ||
* Interfaces with the NextRide API to present information on the buses around campus to the app | ||
* | ||
* @author Austin Beeler | ||
* @version 4/19/2015 | ||
*/ | ||
public class BusAPI { | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/uncc/parkability/com/parkabilityuncc/data/BusRoute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package uncc.parkability.com.parkabilityuncc.data; | ||
|
||
/** | ||
* An enum for the static information for each of the bus routes used on campus | ||
* | ||
* @author Austin Beeler | ||
* @version 4/19/15 | ||
*/ | ||
public enum BusRoute { | ||
|
||
} |