Package com.targomo.client.api.geo
Class AbstractLocation
java.lang.Object
com.targomo.client.api.geo.AbstractLocation
- Direct Known Subclasses:
AbstractCoordinate,AbstractGeometry,DefaultSourceAddress
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the ID associated with the location.Get the properties of a locationvoidAssign an ID to the locationvoidsetProperties(LocationProperties properties) Assign properties to a location
-
Field Details
-
id
-
properties
-
-
Constructor Details
-
AbstractLocation
public AbstractLocation() -
AbstractLocation
-
-
Method Details
-
getId
Get the ID associated with the location.- Returns:
- Location ID
-
setId
Assign an ID to the location- Parameters:
id- ID to be assigned
-
getProperties
Get the properties of a location- Returns:
- Location Properties
-
setProperties
Assign properties to a location- Parameters:
properties- location properties to be assigned
-