public class Site extends Object implements Validatable
| Constructor and Description |
|---|
Site() |
public String getId()
public List<OptimizedFor> getOptimizedFor()
RoutingRequest.getOptimizedFor()public List<ModeOfTransport> getModesOfTransport()
RoutingRequest.getModesOfTransport()public Optional<GeoJSONFeature<GeoJSONPoint>> getFocusPoint()
public Optional<Integer> getZoomLevel()
Site, see http://wiki.openstreetmap.org/wiki/Zoom_levelspublic Optional<GeoJSONFeature<GeoJSONPolygon>> getBoundingPolygon()
public List<Constants.SiteFeature> getFeatures()
public Site setOptimizedFor(List<OptimizedFor> optimizedFor)
public Site setModesOfTransport(List<ModeOfTransport> modesOfTransport)
public Site setFocusPoint(GeoJSONFeature<GeoJSONPoint> focusPoint)
public Site setBoundingPolygon(GeoJSONFeature<GeoJSONPolygon> boundingPolygon)
public Site setFeatures(List<Constants.SiteFeature> features)
public void validate()
ValidatableIllegalArgumentException including a description of the
invalid state is thrown.validate in interface ValidatableCopyright © 2018. All rights reserved.