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

com.targomo.client.api.geo.Location Maven / Gradle / Ivy

There is a newer version: 0.39.0
Show newest version
package com.targomo.client.api.geo;

import com.targomo.client.api.enums.TravelType;
import com.targomo.client.api.pojo.LocationProperties;

/**
 * Contains ID and Travel type for both Coordinates and Polygons
 */
public interface Location {

    /**
     * Get TravelType of coordinate.
     * @return Travel type associated with the coordinate
     */
    public TravelType getTravelType();

    /**
     * Set a travel type for the coordinate.
     * @param travelType Travel type to be associated with the coordinate.
     */
    public void setTravelType(final TravelType travelType);

    /**
     * Get the ID associated with the coordinate.
     * @return Coordinate ID
     */
    public String getId();

    /**
     * Assign an ID to the coordinate
     * @param id ID to be assigned
     */
    public void setId(final String id);

    /**
     * Get the properties of a location
     * @return Location Properties
     */
    public LocationProperties getProperties();

    /**
     * Assign properties to a location
     * @param locationProperties location properties to be assigned
     */
    public void setProperties(final LocationProperties locationProperties);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy