|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.networkanalyst.NAServerClosestFacilityParams
public class NAServerClosestFacilityParams
A container for the closest facility solver settings and return parameters used by NAServer.
NAServerClosestFacilityParams is used to pass solver settings and return parameters to the NAServer when performing stateless network analysis.
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings2 |
|---|
IID, IIDd3696546_2831_4aa5_a879_acd66e50a938, xxDummy |
| Constructor Summary | |
|---|---|
NAServerClosestFacilityParams()
Constructs a NAServerClosestFacilityParams using ArcGIS Engine. |
|
NAServerClosestFacilityParams(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAServerClosestFacilityParams theNAServerClosestFacilityParams = (NAServerClosestFacilityParams) obj; |
|
| Method Summary | |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IStringArray |
getAccumulateAttributeNames()
The collection of network attribute names to be accumulated with the analysis. |
Object |
getAttributeParameterValue(String attributeName,
String paramName)
The value to use for an attribute parameter within the network dataset. |
INAServerLocations |
getBarriers()
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getDefaultCutoff()
The default cutoff value to stop traversing. |
int |
getDefaultTargetFacilityCount()
The default number of facilities to find. |
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. |
String |
getHierarchyAttributeName()
The name of the hierarchy attribute to be used in analysis. |
int |
getHierarchyLevelCount()
The number of levels in the hierarchy attribute. |
IImageDescription |
getImageDescription()
ImageDescription used when generating the MapImage returned with the analysis results. |
String |
getImpedanceAttributeName()
The network attribute name to be used as the impedance attribute in analysis. |
INAServerLocations |
getIncidents()
RecordSet or array of PropertySets representing Incidents loaded as network locations during analysis. |
IMapDescription |
getMapDescription()
MapDescription used when generating the MapImage returned with the analysis results. |
double |
getMaxSnapTolerance()
Maximum search tolerance used when attempting to load network locations. |
int |
getMaxValueForHierarchy(int level)
The maximum value of the hierarchy attribute. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
INAClassCandidateFieldMap[] |
getNAClassCandidateFieldMaps()
Array of NAClassCandidateFieldMaps . |
String |
getNALayerName()
Network analysis layer name. |
int |
getNumTransitionToHierarchy(int toLevel)
The number of lower level junctions to explore before searching the next hierarchy level. |
int |
getOutputLines()
Indicates how lines are generated. |
ISpatialReference |
getOutputSpatialReference()
Spatial reference of the geometries returned with the analysis results. |
IStringArray |
getRestrictionAttributeNames()
The collection of network attribute names to be used as restrictions with the analysis. |
int |
getRestrictUTurns()
Indicates how U-Turns should be restricted in the analysis. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getSnapTolerance()
Minimum search tolerance used when attempting to load network locations. |
int |
getSnapToleranceUnits()
Length units of the SnapTolerance and MaxSnapTolerance. |
int |
getTravelDirection()
The direction of the traversal. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isCreateTraversalResult()
Indicates if a traversal result is created. |
void |
isDirty()
isDirty |
boolean |
isIgnoreInvalidLocations()
Indicates if invalid locations should be ignored or raise an error. |
boolean |
isResetHierarchyRangesOnBind()
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
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 |
isReturnCompactDirections()
Indicates if compact directions should be generated and 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. |
boolean |
isReturnMap()
Indicates if a MapImage should be generated and returned with the analysis results. |
boolean |
isUseHierarchy()
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAccumulateAttributeNamesByRef(IStringArray attributeNames)
The collection of network attribute names to be accumulated with the analysis. |
void |
setAttributeParameterValue(String attributeName,
String paramName,
Object value)
The value to use for an attribute parameter within the network dataset. |
void |
setBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
setCreateTraversalResult(boolean value)
Indicates if a traversal result is created. |
void |
setDefaultCutoff(Object value)
The default cutoff value to stop traversing. |
void |
setDefaultTargetFacilityCount(int value)
The default number of facilities to find. |
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 |
setHierarchyAttributeName(String attributeName)
The name of the hierarchy attribute to be used in analysis. |
void |
setHierarchyLevelCount(int count)
The number of levels in the hierarchy attribute. |
void |
setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
Indicates if invalid locations should be ignored or raise an error. |
void |
setImageDescriptionByRef(IImageDescription imageDescription)
ImageDescription used when generating the MapImage returned with the analysis results. |
void |
setImpedanceAttributeName(String attributeName)
The network attribute name to be used as the impedance attribute in analysis. |
void |
setIncidentsByRef(INAServerLocations incidents)
RecordSet or array of PropertySets representing Incidents loaded as network locations during analysis. |
void |
setMapDescriptionByRef(IMapDescription mapDescription)
MapDescription used when generating the MapImage returned with the analysis results. |
void |
setMaxSnapTolerance(double maxSnapTolerance)
Maximum search tolerance used when attempting to load network locations. |
void |
setMaxValueForHierarchy(int level,
int value)
The maximum value of the hierarchy attribute. |
void |
setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
Array of NAClassCandidateFieldMaps . |
void |
setNALayerName(String nALayerName)
Network analysis layer name. |
void |
setNumTransitionToHierarchy(int toLevel,
int value)
The number of lower level junctions to explore before searching the next hierarchy level. |
void |
setOutputLines(int value)
Indicates how lines are generated. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
Spatial reference of the geometries returned with the analysis results. |
void |
setResetHierarchyRangesOnBind(boolean value)
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
void |
setRestrictionAttributeNamesByRef(IStringArray attributeName)
The collection of network attribute names to be used as restrictions with the analysis. |
void |
setRestrictUTurns(int backtrack)
Indicates how U-Turns should be restricted in the 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 |
setReturnCompactDirections(boolean returnCompactDirections)
Indicates if compact directions should be generated and 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. |
void |
setReturnMap(boolean returnMap)
Indicates if a MapImage should be generated and returned with the analysis results. |
void |
setSnapTolerance(double snapTolerance)
Minimum search tolerance used when attempting to load network locations. |
void |
setSnapToleranceUnits(int snapToleranceUnits)
Length units of the SnapTolerance and MaxSnapTolerance. |
void |
setTravelDirection(int value)
The direction of the traversal. |
void |
setUseHierarchy(boolean useHierarchy)
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public NAServerClosestFacilityParams()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NAServerClosestFacilityParams(Object obj)
throws IOException
NAServerClosestFacilityParams theNAServerClosestFacilityParams = (NAServerClosestFacilityParams) obj;
obj to NAServerClosestFacilityParams.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setNALayerName(String nALayerName)
throws IOException,
AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
setNALayerName in interface INAServerSolverParamsnALayerName - The nALayerName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNALayerName()
throws IOException,
AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
getNALayerName in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapTolerance(double snapTolerance)
throws IOException,
AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
setSnapTolerance in interface INAServerSolverParamssnapTolerance - The snapTolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSnapTolerance()
throws IOException,
AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
getSnapTolerance in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxSnapTolerance(double maxSnapTolerance)
throws IOException,
AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
setMaxSnapTolerance in interface INAServerSolverParamsmaxSnapTolerance - The maxSnapTolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaxSnapTolerance()
throws IOException,
AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
getMaxSnapTolerance in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapToleranceUnits(int snapToleranceUnits)
throws IOException,
AutomationException
SnapToleranceUnits specifies the units of the search tolerance in esriUnits type.
setSnapToleranceUnits in interface INAServerSolverParamssnapToleranceUnits - A com.esri.arcgis.system.esriUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnapToleranceUnits()
throws IOException,
AutomationException
SnapToleranceUnits specifies the units of the search tolerance in esriUnits type.
getSnapToleranceUnits in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
throws IOException,
AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
setNAClassCandidateFieldMaps in interface INAServerSolverParamsppNAClassCandidateFieldMaps - A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps()
throws IOException,
AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
getNAClassCandidateFieldMaps in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnMap(boolean returnMap)
throws IOException,
AutomationException
ReturnMap specifies if the map is returned by the solve.
setReturnMap in interface INAServerSolverParamsreturnMap - The returnMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnMap()
throws IOException,
AutomationException
ReturnMap specifies if the map is returned by the solve.
isReturnMap in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapDescriptionByRef(IMapDescription mapDescription)
throws IOException,
AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
setMapDescriptionByRef in interface INAServerSolverParamsmapDescription - A reference to a com.esri.arcgis.carto.IMapDescription (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMapDescription getMapDescription()
throws IOException,
AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
getMapDescription in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImageDescriptionByRef(IImageDescription imageDescription)
throws IOException,
AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
setImageDescriptionByRef in interface INAServerSolverParamsimageDescription - A reference to a com.esri.arcgis.carto.IImageDescription (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageDescription getImageDescription()
throws IOException,
AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
getImageDescription in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
throws IOException,
AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
setOutputSpatialReferenceByRef in interface INAServerSolverParamsspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getOutputSpatialReference()
throws IOException,
AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
getOutputSpatialReference in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFacilitiesByRef(INAServerLocations facilities)
throws IOException,
AutomationException
Facilities specifies the NALocations to take into account when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
setFacilitiesByRef in interface INAServerClosestFacilityParamsfacilities - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getFacilities()
throws IOException,
AutomationException
Facilities specifies the NALocations to take into account when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
getFacilities in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIncidentsByRef(INAServerLocations incidents)
throws IOException,
AutomationException
Incidents specifies the NALocations to take into account when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
setIncidentsByRef in interface INAServerClosestFacilityParamsincidents - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getIncidents()
throws IOException,
AutomationException
Incidents specifies the NALocations to take into account when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
getIncidents in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBarriersByRef(INAServerLocations barriers)
throws IOException,
AutomationException
Barriers specifies the NALocations to use in order to restrict network elements when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
setBarriersByRef in interface INAServerClosestFacilityParamsbarriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getBarriers()
throws IOException,
AutomationException
Barriers specifies the NALocations to use in order to restrict network elements when solving a Closest Facility problem. Valid values include an IRecordSet or an array of IPropertySet.
getBarriers in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnCFRouteGeometries(boolean returnCFRouteGeometries)
throws IOException,
AutomationException
ReturnCFRouteGeometries specifies if the Polylines for the resulting CFRoute features are returned.
setReturnCFRouteGeometries in interface INAServerClosestFacilityParamsreturnCFRouteGeometries - The returnCFRouteGeometries (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnCFRouteGeometries()
throws IOException,
AutomationException
ReturnCFRouteGeometries specifies if the Polylines for the resulting CFRoute features are returned.
isReturnCFRouteGeometries in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnCFRoutes(boolean returnCFRoutes)
throws IOException,
AutomationException
ReturnCFRoutes specifies if the resulting CFRoute features are returned.
setReturnCFRoutes in interface INAServerClosestFacilityParamsreturnCFRoutes - The returnCFRoutes (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnCFRoutes()
throws IOException,
AutomationException
ReturnCFRoutes specifies if the resulting CFRoute features are returned.
isReturnCFRoutes in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnFacilities(boolean returnFacilities)
throws IOException,
AutomationException
ReturnFacilites specifies if the resulting Facility features are returned.
setReturnFacilities in interface INAServerClosestFacilityParamsreturnFacilities - The returnFacilities (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnFacilities()
throws IOException,
AutomationException
ReturnFacilites specifies if the resulting Facility features are returned.
isReturnFacilities in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnIncidents(boolean returnIncidents)
throws IOException,
AutomationException
ReturnIncidents specifies if the resulting Incident features are returned.
setReturnIncidents in interface INAServerClosestFacilityParamsreturnIncidents - The returnIncidents (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnIncidents()
throws IOException,
AutomationException
ReturnIncidents specifies if the resulting Incident features are returned.
isReturnIncidents in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnBarriers(boolean returnBarriers)
throws IOException,
AutomationException
ReturnBarriers specifies if the resulting Barrier features are returned.
setReturnBarriers in interface INAServerClosestFacilityParamsreturnBarriers - The returnBarriers (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnBarriers()
throws IOException,
AutomationException
ReturnBarriers specifies if the resulting Barrier features are returned.
isReturnBarriers in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnDirections(boolean returnDirections)
throws IOException,
AutomationException
ReturnDirections specifies if directions are calculated during solve and returned in INAServerClosestFacilityResults.
setReturnDirections in interface INAServerClosestFacilityParamsreturnDirections - The returnDirections (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnDirections()
throws IOException,
AutomationException
ReturnDirections specifies if directions are calculated during solve and returned in INAServerClosestFacilityResults.
isReturnDirections in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsLanguage(String directionsLanguage)
throws IOException,
AutomationException
DirectionsLanguage specifies the language used when generating directions.
setDirectionsLanguage in interface INAServerClosestFacilityParamsdirectionsLanguage - The directionsLanguage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDirectionsLanguage()
throws IOException,
AutomationException
DirectionsLanguage specifies the language used when generating directions.
getDirectionsLanguage in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsLengthUnits(int directionsLengthUnits)
throws IOException,
AutomationException
DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.
setDirectionsLengthUnits in interface INAServerClosestFacilityParamsdirectionsLengthUnits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirectionsLengthUnits()
throws IOException,
AutomationException
DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.
getDirectionsLengthUnits in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsTimeAttributeName(String directionsTimeAttributeName)
throws IOException,
AutomationException
DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.
setDirectionsTimeAttributeName in interface INAServerClosestFacilityParamsdirectionsTimeAttributeName - The directionsTimeAttributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDirectionsTimeAttributeName()
throws IOException,
AutomationException
DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.
getDirectionsTimeAttributeName in interface INAServerClosestFacilityParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnCompactDirections(boolean returnCompactDirections)
throws IOException,
AutomationException
ReturnCompactDirections specifies if compact directions are calculated during solve and returned in INAServerClosestFacilityResults2::CompactDirections. These directions contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections than the directions returned by ReturnDirections.
setReturnCompactDirections in interface INAServerClosestFacilityParams2returnCompactDirections - The returnCompactDirections (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnCompactDirections()
throws IOException,
AutomationException
ReturnCompactDirections specifies if compact directions are calculated during solve and returned in INAServerClosestFacilityResults2::CompactDirections. These directions contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections than the directions returned by ReturnDirections.
isReturnCompactDirections in interface INAServerClosestFacilityParams2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getAccumulateAttributeNames()
throws IOException,
AutomationException
getAccumulateAttributeNames in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAccumulateAttributeNamesByRef(IStringArray attributeNames)
throws IOException,
AutomationException
setAccumulateAttributeNamesByRef in interface INASolverSettingsattributeNames - A reference to a com.esri.arcgis.system.IStringArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImpedanceAttributeName(String attributeName)
throws IOException,
AutomationException
setImpedanceAttributeName in interface INASolverSettingsattributeName - The attributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getImpedanceAttributeName()
throws IOException,
AutomationException
getImpedanceAttributeName in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
throws IOException,
AutomationException
setIgnoreInvalidLocations in interface INASolverSettingsignoreInvalidLocations - The ignoreInvalidLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreInvalidLocations()
throws IOException,
AutomationException
isIgnoreInvalidLocations in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getRestrictionAttributeNames()
throws IOException,
AutomationException
getRestrictionAttributeNames in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRestrictionAttributeNamesByRef(IStringArray attributeName)
throws IOException,
AutomationException
setRestrictionAttributeNamesByRef in interface INASolverSettingsattributeName - A reference to a com.esri.arcgis.system.IStringArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRestrictUTurns(int backtrack)
throws IOException,
AutomationException
setRestrictUTurns in interface INASolverSettingsbacktrack - A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRestrictUTurns()
throws IOException,
AutomationException
getRestrictUTurns in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseHierarchy(boolean useHierarchy)
throws IOException,
AutomationException
setUseHierarchy in interface INASolverSettingsuseHierarchy - The useHierarchy (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseHierarchy()
throws IOException,
AutomationException
isUseHierarchy in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHierarchyAttributeName(String attributeName)
throws IOException,
AutomationException
setHierarchyAttributeName in interface INASolverSettingsattributeName - The attributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getHierarchyAttributeName()
throws IOException,
AutomationException
getHierarchyAttributeName in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHierarchyLevelCount(int count)
throws IOException,
AutomationException
setHierarchyLevelCount in interface INASolverSettingscount - The count (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHierarchyLevelCount()
throws IOException,
AutomationException
getHierarchyLevelCount in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxValueForHierarchy(int level,
int value)
throws IOException,
AutomationException
setMaxValueForHierarchy in interface INASolverSettingslevel - The level (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxValueForHierarchy(int level)
throws IOException,
AutomationException
getMaxValueForHierarchy in interface INASolverSettingslevel - The level (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNumTransitionToHierarchy(int toLevel,
int value)
throws IOException,
AutomationException
setNumTransitionToHierarchy in interface INASolverSettingstoLevel - The toLevel (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumTransitionToHierarchy(int toLevel)
throws IOException,
AutomationException
getNumTransitionToHierarchy in interface INASolverSettingstoLevel - The toLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isResetHierarchyRangesOnBind()
throws IOException,
AutomationException
isResetHierarchyRangesOnBind in interface INASolverSettings2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResetHierarchyRangesOnBind(boolean value)
throws IOException,
AutomationException
setResetHierarchyRangesOnBind in interface INASolverSettings2value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getAttributeParameterValue(String attributeName,
String paramName)
throws IOException,
AutomationException
getAttributeParameterValue in interface INASolverSettings2attributeName - The attributeName (in)paramName - The paramName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttributeParameterValue(String attributeName,
String paramName,
Object value)
throws IOException,
AutomationException
setAttributeParameterValue in interface INASolverSettings2attributeName - The attributeName (in)paramName - The paramName (in)value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDefaultTargetFacilityCount()
throws IOException,
AutomationException
DefaultTargetFacilityCount specifies up to how many facilities to solve for. Solving for 10 facilities will return at the most 10 closest facilities from each incident. This property sets and gets the number of destinations to find for the NAClosestFacilitySolver.
getDefaultTargetFacilityCount in interface INAClosestFacilitySolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultTargetFacilityCount(int value)
throws IOException,
AutomationException
DefaultTargetFacilityCount specifies up to how many facilities to solve for. Solving for 10 facilities will return at the most 10 closest facilities from each incident. This property sets and gets the number of destinations to find for the NAClosestFacilitySolver.
setDefaultTargetFacilityCount in interface INAClosestFacilitySolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getDefaultCutoff()
throws IOException,
AutomationException
DefaultCutoff specifies how far to search for facilities from each incident. Setting a default cutoff of 10 miles will only return those facilities within 10 miles from each incident. This property sets and gets the cutoff value for the NAClosestFacilitySolver.
getDefaultCutoff in interface INAClosestFacilitySolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultCutoff(Object value)
throws IOException,
AutomationException
DefaultCutoff specifies how far to search for facilities from each incident. Setting a default cutoff of 10 miles will only return those facilities within 10 miles from each incident. This property sets and gets the cutoff value for the NAClosestFacilitySolver.
setDefaultCutoff in interface INAClosestFacilitySolvervalue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTravelDirection()
throws IOException,
AutomationException
TravelDirection can be set to travel from the facility (default) or travel to the facility. This can make a difference in finding the closest facility if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network. This property sets and gets the travel direction for the NAClosestFacilitySolver.
getTravelDirection in interface INAClosestFacilitySolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTravelDirection(int value)
throws IOException,
AutomationException
TravelDirection can be set to travel from the facility (default) or travel to the facility. This can make a difference in finding the closest facility if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network. This property sets and gets the travel direction for the NAClosestFacilitySolver.
setTravelDirection in interface INAClosestFacilitySolvervalue - A com.esri.arcgis.networkanalyst.esriNATravelDirection constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCreateTraversalResult()
throws IOException,
AutomationException
CreateTraversalResult specifies if the traversal results will be created by the closest facility solver. Not computing the traversal results can be faster if no output lines or straight lines are to be created. This property sets and gets the status as true or false for the NAClosestFacilitySolver.
isCreateTraversalResult in interface INAClosestFacilitySolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCreateTraversalResult(boolean value)
throws IOException,
AutomationException
CreateTraversalResult specifies if the traversal results will be created by the closest facility solver. Not computing the traversal results can be faster if no output lines or straight lines are to be created. This property sets and gets the status as true or false for the NAClosestFacilitySolver.
setCreateTraversalResult in interface INAClosestFacilitySolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOutputLines()
throws IOException,
AutomationException
OutputLines specifies the type of lines to be generated by the closest facility solver. The choice is to the generate the true shapes, true shapes with measure, straight lines, or to generate no lines. This property sets and gets the output line type for the NAClosestFacilitySolver.
getOutputLines in interface INAClosestFacilitySolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputLines(int value)
throws IOException,
AutomationException
OutputLines specifies the type of lines to be generated by the closest facility solver. The choice is to the generate the true shapes, straight lines, or to generate no lines. This property sets and gets the output line type for the NAClosestFacilitySolver.
setOutputLines in interface INAClosestFacilitySolvervalue - A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getMinNamespaceSupported()
throws IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||