org.onebusaway.gtfs.model
Class FareAttribute

java.lang.Object
  extended by org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
      extended by org.onebusaway.gtfs.model.FareAttribute
All Implemented Interfaces:
Serializable

public final class FareAttribute
extends IdentityBean<AgencyAndId>

See Also:
Serialized Form

Constructor Summary
FareAttribute()
           
FareAttribute(FareAttribute fa)
           
 
Method Summary
 void clearTransferDuration()
           
 void clearTransfers()
           
 String getCurrencyType()
           
 AgencyAndId getId()
           
 int getPaymentMethod()
           
 float getPrice()
           
 int getTransferDuration()
           
 int getTransfers()
           
 boolean isTransferDurationSet()
           
 boolean isTransfersSet()
           
 void setCurrencyType(String currencyType)
           
 void setId(AgencyAndId id)
           
 void setPaymentMethod(int paymentMethod)
           
 void setPrice(float price)
           
 void setTransferDuration(int transferDuration)
           
 void setTransfers(int transfers)
           
 String toString()
           
 
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FareAttribute

public FareAttribute()

FareAttribute

public FareAttribute(FareAttribute fa)
Method Detail

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.