public class Route extends Entity
| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Loader |
static class |
Route.Writer |
| Modifier and Type | Field and Description |
|---|---|
String |
agency_id |
static int |
BUS |
static int |
CABLE_CAR |
String |
feed_id |
static int |
FERRY |
static int |
FUNICULAR |
static int |
GONDOLA |
static int |
RAIL |
URL |
route_branding_url |
String |
route_color |
String |
route_desc |
String |
route_id |
String |
route_long_name |
String |
route_short_name |
int |
route_sort_order |
String |
route_text_color |
int |
route_type |
URL |
route_url |
static int |
SUBWAY |
static int |
TRAM |
DOUBLE_MISSING, id, INT_MISSING| Constructor and Description |
|---|
Route() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
This method should be overridden by each Entity subtype to return the proper key field for that subtype.
|
void |
setStatementParameters(PreparedStatement statement,
boolean setDefaultId)
Sets the parameters for a prepared statement following the parameter order defined in
Table.ROUTES. |
getSequenceNumber, human, setDoubleParameter, setIntParameterpublic static final int TRAM
public static final int SUBWAY
public static final int RAIL
public static final int BUS
public static final int FERRY
public static final int CABLE_CAR
public static final int GONDOLA
public static final int FUNICULAR
public String route_id
public String agency_id
public String route_short_name
public String route_long_name
public String route_desc
public int route_type
public URL route_url
public String route_color
public int route_sort_order
public String route_text_color
public URL route_branding_url
public String feed_id
public String getId()
EntitygetId in class Entitypublic void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException
Table.ROUTES. JDBC prepared statement parameters use a one-based index.setStatementParameters in class EntitySQLExceptionCopyright © 2019. All rights reserved.