org.onebusaway.webapp.gwt.oba_application.control
Class ConstraintsParameterMapping

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_application.control.ConstraintsParameterMapping

public class ConstraintsParameterMapping
extends Object


Field Summary
static String PARAM_LAT
           
static String PARAM_LOCATION
           
static String PARAM_LON
           
static String PARAM_MAX_TRANSFERS
           
static String PARAM_MAX_TRIP_LENGTH
           
static String PARAM_MAX_WALKING_DISTANCE
           
static String PARAM_QUERY
           
static String PARAM_TIME
           
 
Constructor Summary
ConstraintsParameterMapping()
           
 
Method Summary
static void addConstraintsToParams(TransitShedConstraintsBean constraints, Map<String,String> params)
           
static void addParamsToConstraints(Context context, TransitShedConstraintsBean constraints)
           
static void addTimeToParams(long time, Map<String,String> params)
           
static long getParamsAsTime(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_QUERY

public static final String PARAM_QUERY
See Also:
Constant Field Values

PARAM_LOCATION

public static final String PARAM_LOCATION
See Also:
Constant Field Values

PARAM_LAT

public static final String PARAM_LAT
See Also:
Constant Field Values

PARAM_LON

public static final String PARAM_LON
See Also:
Constant Field Values

PARAM_TIME

public static final String PARAM_TIME
See Also:
Constant Field Values

PARAM_MAX_TRANSFERS

public static final String PARAM_MAX_TRANSFERS
See Also:
Constant Field Values

PARAM_MAX_TRIP_LENGTH

public static final String PARAM_MAX_TRIP_LENGTH
See Also:
Constant Field Values

PARAM_MAX_WALKING_DISTANCE

public static final String PARAM_MAX_WALKING_DISTANCE
See Also:
Constant Field Values
Constructor Detail

ConstraintsParameterMapping

public ConstraintsParameterMapping()
Method Detail

addConstraintsToParams

public static void addConstraintsToParams(TransitShedConstraintsBean constraints,
                                          Map<String,String> params)

addTimeToParams

public static void addTimeToParams(long time,
                                   Map<String,String> params)

addParamsToConstraints

public static void addParamsToConstraints(Context context,
                                          TransitShedConstraintsBean constraints)

getParamsAsTime

public static long getParamsAsTime(Context context)


Copyright © 2011 OneBusAway. All Rights Reserved.