com.targomo.client.api.geo.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client library for easy usage of Targomo web services.
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