Package com.targomo.client.api.geo
Class DefaultTargetCoordinate
java.lang.Object
com.targomo.client.api.geo.AbstractLocation
com.targomo.client.api.geo.AbstractCoordinate
com.targomo.client.api.geo.DefaultTargetCoordinate
- All Implemented Interfaces:
Coordinate,Location
- Direct Known Subclasses:
PoiTargetCoordinate
Default implementation for storing target coordinates.
Basically a
AbstractCoordinate specialized to be used as a target.-
Field Summary
Fields inherited from class com.targomo.client.api.geo.AbstractLocation
id, properties -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTargetCoordinate(String id, double x, double y) Generate Target coordinate with an ID along with X and Y values. -
Method Summary
Modifier and TypeMethodDescriptionNot implemented, will throw exception.voidsetTravelType(TravelType travelType) Not implemented, will throw exception.voidsetTravelTypes(List<TravelType> travelType) Not implemented, will throw exception.Methods inherited from class com.targomo.client.api.geo.AbstractCoordinate
equals, getX, getY, hashCode, setX, setY, toStringMethods inherited from class com.targomo.client.api.geo.AbstractLocation
getId, getProperties, setId, setPropertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.targomo.client.api.geo.Location
getId, getProperties, setId, setProperties
-
Constructor Details
-
DefaultTargetCoordinate
Generate Target coordinate with an ID along with X and Y values.- Parameters:
id- ID to associate with the target coordinatex- X value of targety- Y value of target
-
-
Method Details
-
getTravelTypes
Not implemented, will throw exception.- Throws:
TargomoClientRuntimeException- any time this method is called.
-
setTravelType
Not implemented, will throw exception.- Specified by:
setTravelTypein interfaceLocation- Overrides:
setTravelTypein classAbstractCoordinate- Parameters:
travelType- travelType to set- Throws:
TargomoClientRuntimeException- any time this method is called.
-
setTravelTypes
Not implemented, will throw exception.- Throws:
TargomoClientRuntimeException- any time this method is called.
-