public class FareAttribute extends Entity
| Modifier and Type | Class and Description |
|---|---|
static class |
FareAttribute.Loader |
static class |
FareAttribute.Writer |
| Modifier and Type | Field and Description |
|---|---|
String |
agency_id |
String |
currency_type |
String |
fare_id |
String |
feed_id |
int |
payment_method |
double |
price |
int |
transfer_duration |
int |
transfers |
static int |
UNLIMITED_TRANSFERS |
DOUBLE_MISSING, id, INT_MISSING| Constructor and Description |
|---|
FareAttribute() |
| 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.FARE_ATTRIBUTES. |
getSequenceNumber, human, setDoubleParameter, setIntParameterpublic static final int UNLIMITED_TRANSFERS
public String fare_id
public String agency_id
public double price
public String currency_type
public int payment_method
public int transfers
public int transfer_duration
public String feed_id
public String getId()
EntitygetId in class Entitypublic void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException
Table.FARE_ATTRIBUTES. JDBC prepared statement parameters use a one-based index.setStatementParameters in class EntitySQLExceptionCopyright © 2019. All rights reserved.