public abstract class TripName extends Object
Representation of TripName with convenience functions to return composing provider and trip ids.
Public Constructor Summary
TripName()
|
Public Method Summary
static TripName | |
static TripName | |
abstract String |
getProviderId()
Gets the provider ID.
|
abstract String |
getTripId()
Gets the trip ID.
|
String |
getTripName()
Gets the trip name.
|
Inherited Method Summary
Public Constructors
public TripName ()
Public Methods
public static TripName create (String tripName)
Converts from string trip name to TripName instance.
Parameters
tripName | The name of the trip. |
---|
Returns
- A
TripName
instance for the given trip name.
public abstract String getProviderId ()
Gets the provider ID.
Returns
- The provider ID.
public abstract String getTripId ()
Gets the trip ID.
Returns
- The trip ID.
public String getTripName ()
Gets the trip name.
Returns
- The trip name.