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

org.opentripplanner.profile.BikeRentalStationInfo Maven / Gradle / Ivy

package org.opentripplanner.profile;

import org.opentripplanner.routing.vertextype.BikeRentalStationVertex;

/**
 * This is a response model class which holds data that will be serialized and returned to the client.
 * It is not used internally in routing.
 */
public class BikeRentalStationInfo {

    public String id;
    public String name;
    public Double lat, lon;
    
    public BikeRentalStationInfo(BikeRentalStationVertex vertex) {
        id = vertex.getId();
        name = vertex.getName();
        lat = vertex.getLat();
        lon = vertex.getLon();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy