All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.ext.vehicleparking.hslpark.HslParkPatch Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.ext.vehicleparking.hslpark;

import org.opentripplanner.transit.model.framework.FeedScopedId;

/**
 * Contains updates to a {@link HslParkUpdater} park.
 */
public class HslParkPatch {

  private final FeedScopedId facilityId;
  private final String capacityType;
  private final Integer spacesAvailable;

  public HslParkPatch(FeedScopedId facilityId, String capacityType, Integer spacesAvailable) {
    this.facilityId = facilityId;
    this.capacityType = capacityType;
    this.spacesAvailable = spacesAvailable;
  }

  public FeedScopedId getId() {
    return this.facilityId;
  }

  public String getCapacityType() {
    return this.capacityType;
  }

  public Integer getSpacesAvailable() {
    return this.spacesAvailable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy