|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerClosestFacilityParams
Deprecated as of 10.0. Provides access to properties that specify the closest facility solver settings and return parameters used during network analysis with NAServer.
At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.
INAServerClosestFacilityParams has been superseded by INAServerClosestFacilityParams3.
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 |
getFacilities()
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis. |
INAServerLocations |
getIncidents()
RecordSet or array of PropertySets representing Incidents loaded as network locations during analysis. |
boolean |
isReturnBarriers()
Indicates if the output barriers recordset should be returned with the analysis results. |
boolean |
isReturnCFRouteGeometries()
Indicates if the CFRoute geometries should be generated and returned with the analysis results. |
boolean |
isReturnCFRoutes()
Indicates if the output CFRoutes recordset should be returned with the analysis results. |
boolean |
isReturnDirections()
Indicates if directions should be generated and returned with the analysis results. |
boolean |
isReturnFacilities()
Indicates if the output facilities recordset should be returned with the analysis results. |
boolean |
isReturnIncidents()
Indicates if the output incidents 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 |
setFacilitiesByRef(INAServerLocations facilities)
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis. |
void |
setIncidentsByRef(INAServerLocations incidents)
RecordSet or array of PropertySets representing Incidents loaded as network locations during analysis. |
void |
setReturnBarriers(boolean returnBarriers)
Indicates if the output barriers recordset should be returned with the analysis results. |
void |
setReturnCFRouteGeometries(boolean returnCFRouteGeometries)
Indicates if the CFRoute geometries should be generated and returned with the analysis results. |
void |
setReturnCFRoutes(boolean returnCFRoutes)
Indicates if the output CFRoutes 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 |
setReturnFacilities(boolean returnFacilities)
Indicates if the output facilities recordset should be returned with the analysis results. |
void |
setReturnIncidents(boolean returnIncidents)
Indicates if the output incidents recordset should be returned with the analysis results. |
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 setFacilitiesByRef(INAServerLocations facilities) throws IOException, AutomationException
Facilities specifies an instance of NAServerLocations class to take into account when solving a Closest Facility problem.
facilities
- 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 getFacilities() throws IOException, AutomationException
Facilities specifies an instance of NAServerLocations class to take into account when solving a Closest Facility problem.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIncidentsByRef(INAServerLocations incidents) throws IOException, AutomationException
Incidents specifies an instance of NAServerLocations class to take into account when solving a Closest Facility problem.
incidents
- 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 getIncidents() throws IOException, AutomationException
Incidents specifiesan instance of NAServerLocations class to take into account when solving a Closest Facility 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 setReturnCFRouteGeometries(boolean returnCFRouteGeometries) throws IOException, AutomationException
ReturnCFRouteGeometries specifies if the Polylines for the resulting CFRoute features are returned.
returnCFRouteGeometries
- The returnCFRouteGeometries (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnCFRouteGeometries() throws IOException, AutomationException
ReturnCFRouteGeometries specifies if the Polylines for the resulting CFRoute features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnCFRoutes(boolean returnCFRoutes) throws IOException, AutomationException
ReturnCFRoutes specifies if the resulting CFRoute features are returned.
returnCFRoutes
- The returnCFRoutes (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnCFRoutes() throws IOException, AutomationException
ReturnCFRoutes specifies if the resulting CFRoute features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnFacilities(boolean returnFacilities) throws IOException, AutomationException
ReturnFacilites specifies if the resulting Facility features are returned.
returnFacilities
- The returnFacilities (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnFacilities() throws IOException, AutomationException
ReturnFacilites specifies if the resulting Facility features are returned.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnIncidents(boolean returnIncidents) throws IOException, AutomationException
ReturnIncidents specifies if the resulting Incident features are returned.
returnIncidents
- The returnIncidents (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnIncidents() throws IOException, AutomationException
ReturnIncidents specifies if the resulting Incident 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 INAServerClosestFacilityResults.
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 INAServerClosestFacilityResults.
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 |