|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerRouteParams
Provides access to properties that specify the route solver settings and return parameters used during network analysis with NAServer.
INAServerRouteParams has been superseded by INAServerRouteParams3.
Method Summary | |
---|---|
INAServerLocations |
getBarriers()
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
String |
getDirectionsLanguage()
Language to use when computing directions. |
int |
getDirectionsLengthUnits()
Length units to use when computing directions. |
String |
getDirectionsTimeAttributeName()
Name of network attribute to use for the drive time when computing directions. |
INAServerLocations |
getStops()
RecordSet or array of PropertySets representing Stops loaded as network locations during analysis. |
boolean |
isReturnBarriers()
Indicates if the output barriers recordset should be returned with the analysis results. |
boolean |
isReturnDirections()
Indicates if directions should be generated and returned with the analysis results. |
boolean |
isReturnRouteGeometries()
Indicates if the route geometries should be generated and returned with the analysis results. |
boolean |
isReturnRoutes()
Indicates if the output routes recordset should be returned with the analysis results. |
boolean |
isReturnStops()
Indicates if the output stops recordset should be returned with the analysis results. |
void |
setBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
setDirectionsLanguage(String directionsLanguage)
Language to use when computing directions. |
void |
setDirectionsLengthUnits(int directionsLengthUnits)
Length units to use when computing directions. |
void |
setDirectionsTimeAttributeName(String directionsTimeAttributeName)
Name of network attribute to use for the drive time when computing directions. |
void |
setReturnBarriers(boolean returnBarriers)
Indicates if the output barriers recordset should be returned with the analysis results. |
void |
setReturnDirections(boolean returnDirections)
Indicates if directions should be generated and returned with the analysis results. |
void |
setReturnRouteGeometries(boolean returnRouteGeometries)
Indicates if the route geometries should be generated and returned with the analysis results. |
void |
setReturnRoutes(boolean returnRoutes)
Indicates if the output routes recordset should be returned with the analysis results. |
void |
setReturnStops(boolean returnStops)
Indicates if the output stops recordset should be returned with the analysis results. |
void |
setStopsByRef(INAServerLocations stops)
RecordSet or array of PropertySets representing Stops loaded as network locations during analysis. |
Methods inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverParams |
---|
getImageDescription, getMapDescription, getMaxSnapTolerance, getNAClassCandidateFieldMaps, getNALayerName, getOutputSpatialReference, getSnapTolerance, getSnapToleranceUnits, isReturnMap, setImageDescriptionByRef, setMapDescriptionByRef, setMaxSnapTolerance, setNAClassCandidateFieldMaps, setNALayerName, setOutputSpatialReferenceByRef, setReturnMap, setSnapTolerance, setSnapToleranceUnits |
Method Detail |
---|
void setStopsByRef(INAServerLocations stops) throws IOException, AutomationException
Stops specifies an instance of NAServerLocations class to use as input when solving a route problem.
stops
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAServerLocations getStops() throws IOException, AutomationException
Stops specifies an instance of NAServerLocations class to use as input when solving a route problem.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBarriersByRef(INAServerLocations barriers) throws IOException, AutomationException
Barriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
barriers
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAServerLocations getBarriers() throws IOException, AutomationException
Barriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnRouteGeometries(boolean returnRouteGeometries) throws IOException, AutomationException
ReturnRouteGeometries specifies if the Polylines for the resulting Route features are returned.
returnRouteGeometries
- The returnRouteGeometries (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnRouteGeometries() throws IOException, AutomationException
ReturnRouteGeometries specifies if the Polylines for the resulting Route features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnRoutes(boolean returnRoutes) throws IOException, AutomationException
ReturnRoutes specifies if the resulting Route features are returned.
returnRoutes
- The returnRoutes (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnRoutes() throws IOException, AutomationException
ReturnRoutes specifies if the resulting Route features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnStops(boolean returnStops) throws IOException, AutomationException
ReturnStops specifies if the resulting Stop features are returned.
returnStops
- The returnStops (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnStops() throws IOException, AutomationException
ReturnStops specifies if the resulting Stop features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnBarriers(boolean returnBarriers) throws IOException, AutomationException
ReturnBarriers specifies if the Barriers are returned.
returnBarriers
- The returnBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnBarriers() throws IOException, AutomationException
ReturnBarriers specifies if the Barriers are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnDirections(boolean returnDirections) throws IOException, AutomationException
ReturnDirections specifies if directions are calculated during solve and returned in INAServerRouteResults::Directions.
returnDirections
- The returnDirections (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnDirections() throws IOException, AutomationException
ReturnDirections specifies if directions are calculated during solve and returned in INAServerRouteResults::Directions.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionsLanguage(String directionsLanguage) throws IOException, AutomationException
DirectionsLanguage specifies the language used when generating directions.
directionsLanguage
- The directionsLanguage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDirectionsLanguage() throws IOException, AutomationException
DirectionsLanguage specifies the language used when generating directions.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionsLengthUnits(int directionsLengthUnits) throws IOException, AutomationException
DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.
directionsLengthUnits
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDirectionsLengthUnits() throws IOException, AutomationException
DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDirectionsTimeAttributeName(String directionsTimeAttributeName) throws IOException, AutomationException
DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.
directionsTimeAttributeName
- The directionsTimeAttributeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDirectionsTimeAttributeName() throws IOException, AutomationException
DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |