Class Trip

All Implemented Interfaces:
Serializable, HasExtensions

public final class Trip extends IdentityBean<AgencyAndId>
See Also:
  • Constructor Details

    • Trip

      public Trip()
    • Trip

      public Trip(Trip obj)
  • Method Details

    • getId

      public AgencyAndId getId()
      Specified by:
      getId in class IdentityBean<AgencyAndId>
    • setId

      public void setId(AgencyAndId id)
      Specified by:
      setId in class IdentityBean<AgencyAndId>
    • getRoute

      public Route getRoute()
    • setRoute

      public void setRoute(Route route)
    • getServiceId

      public AgencyAndId getServiceId()
    • setServiceId

      public void setServiceId(AgencyAndId serviceId)
    • getTripShortName

      public String getTripShortName()
    • setTripShortName

      public void setTripShortName(String tripShortName)
    • getTripHeadsign

      public String getTripHeadsign()
    • setTripHeadsign

      public void setTripHeadsign(String tripHeadsign)
    • getDirectionId

      public String getDirectionId()
    • setDirectionId

      public void setDirectionId(String directionId)
    • getBlockId

      public String getBlockId()
    • setBlockId

      public void setBlockId(String blockId)
    • getShapeId

      public AgencyAndId getShapeId()
    • setShapeId

      public void setShapeId(AgencyAndId shapeId)
    • setWheelchairAccessible

      public void setWheelchairAccessible(int wheelchairAccessible)
    • getWheelchairAccessible

      public int getWheelchairAccessible()
    • getMeanDurationFactor

      public Double getMeanDurationFactor()
    • setMeanDurationFactor

      public void setMeanDurationFactor(Double meanDurationFactor)
    • getMeanDurationOffset

      public Double getMeanDurationOffset()
    • setMeanDurationOffset

      public void setMeanDurationOffset(Double meanDurationOffset)
    • getSafeDurationFactor

      public Double getSafeDurationFactor()
    • setSafeDurationFactor

      public void setSafeDurationFactor(Double safeDurationFactor)
    • getSafeDurationOffset

      public Double getSafeDurationOffset()
    • setSafeDurationOffset

      public void setSafeDurationOffset(Double safeDurationOffset)
    • getBikesAllowed

      public int getBikesAllowed()
      Returns:
      0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
    • setBikesAllowed

      public void setBikesAllowed(int bikesAllowed)
      Parameters:
      bikesAllowed - 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
    • getCarsAllowed

      public int getCarsAllowed()
      Returns:
      0 = unknown / unspecified, 1 = cars allowed, 2 = cars NOT allowed
    • setCarsAllowed

      public void setCarsAllowed(int carsAllowed)
      Parameters:
      carsAllowed - 0 = unknown / unspecified, 1 = cars allowed, 2 = cars NOT allowed
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNote

      public Note getNote()
    • setNote

      public void setNote(Note note)
    • getPeakOffpeak

      public int getPeakOffpeak()
    • setPeakOffpeak

      public void setPeakOffpeak(int peakOffpeak)
    • getMtaTripId

      public String getMtaTripId()
    • setMtaTripId

      public void setMtaTripId(String mtaTripId)
    • getBoardingType

      public int getBoardingType()
    • setBoardingType

      public void setBoardingType(int boardingType)