org.onebusaway.gtfs.model
Class FareAttribute
java.lang.Object
org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
org.onebusaway.gtfs.model.FareAttribute
- All Implemented Interfaces:
- Serializable
public final class FareAttribute
- extends IdentityBean<AgencyAndId>
- See Also:
- Serialized Form
FareAttribute
public FareAttribute()
FareAttribute
public FareAttribute(FareAttribute fa)
getId
public AgencyAndId getId()
- Specified by:
getId in class IdentityBean<AgencyAndId>
setId
public void setId(AgencyAndId id)
- Specified by:
setId in class IdentityBean<AgencyAndId>
getPrice
public float getPrice()
setPrice
public void setPrice(float price)
getCurrencyType
public String getCurrencyType()
setCurrencyType
public void setCurrencyType(String currencyType)
getPaymentMethod
public int getPaymentMethod()
setPaymentMethod
public void setPaymentMethod(int paymentMethod)
isTransfersSet
public boolean isTransfersSet()
getTransfers
public int getTransfers()
setTransfers
public void setTransfers(int transfers)
clearTransfers
public void clearTransfers()
isTransferDurationSet
public boolean isTransferDurationSet()
getTransferDuration
public int getTransferDuration()
setTransferDuration
public void setTransferDuration(int transferDuration)
clearTransferDuration
public void clearTransferDuration()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 OneBusAway. All Rights Reserved.