com.esri.arcgis.networkanalyst
Class NAServerServiceAreaParams

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.NAServerServiceAreaParams
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INAServerServiceAreaParams, INAServerServiceAreaParams2, INAServerSolverParams, INAServerSolverParams2, INAServerSolverParams3, INAServiceAreaSolver, INAServiceAreaSolver2, INASolverOutputGeneralization, INASolverSettings, INASolverSettings2, INATimeAwareSolverSettings, INATimeAwareSolverSettings2, IPersist, IPersistStream, ISupportErrorInfo, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable, java.io.Serializable

public class NAServerServiceAreaParams
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INAServerSolverParams, INAServerSolverParams2, INAServerSolverParams3, INAServerServiceAreaParams, INAServerServiceAreaParams2, INASolverSettings, INASolverSettings2, INAServiceAreaSolver, INAServiceAreaSolver2, INASolverOutputGeneralization, INATimeAwareSolverSettings, INATimeAwareSolverSettings2, IXMLSerialize, IPersist, IPersistStream, ISupportErrorInfo, IXMLVersionSupport, java.io.Externalizable

COM Class 'NAServerServiceAreaParams'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description 'Deprecated as of 10.0. A container for the service area solver settings and return parameters used by NAServer.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverParams3
IID, IID1bb2d1b6_cabf_4eba_bbd1_d9ed4a92f414, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServerSolverParams2
IID1fb9dd3f_a315_4df0_a02a_3358a2bee920
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServerServiceAreaParams2
IID, IIDd25da004_afeb_44a7_88dd_56eda37e0bb7, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServerServiceAreaParams
IIDd4c6e2ff_d49a_419f_9a50_f3255391064d
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings2
IID, IIDd3696546_2831_4aa5_a879_acd66e50a938, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings
IID5a8dc105_0e57_45c8_a01d_0188ce7f7b52
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServiceAreaSolver2
IID, IID36655616_dc8b_41e5_9ab5_b5a5ac3c8635, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAServiceAreaSolver
IIDd1d76f73_4f59_472b_b72e_a92a90c621ea
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverOutputGeneralization
IID, IIDac7c7879_423e_4571_bc2f_bf5475e287b5, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATimeAwareSolverSettings2
IID, IID3d8bbac9_2ebd_4f2f_bafe_bf9da41beb80, xxDummy
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INATimeAwareSolverSettings
IIDe9cbb341_3c3c_41a1_a660_784708288434
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IXMLVersionSupport
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
 
Constructor Summary
NAServerServiceAreaParams()
          Constructs a NAServerServiceAreaParams using ArcGIS Engine.
NAServerServiceAreaParams(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerServiceAreaParams theNAServerServiceAreaParams = (NAServerServiceAreaParams) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IStringArray getAccumulateAttributeNames()
          The collection of network attribute names to be accumulated with the analysis.
 java.lang.Object getAttributeParameterValue(java.lang.String attributeName, java.lang.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 java.lang.String getClsid()
          getClsid.
 IDoubleArray getDefaultBreaks()
          The default break(s) of the traversal.
 IStringArray getExcludeSourcesFromPolygons()
          A collection of network source names to NOT use when generating polygons.
 INAServerLocations getFacilities()
          RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis.
 java.lang.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.
 java.lang.String getImpedanceAttributeName()
          The network attribute name to be used as the impedance attribute in analysis.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLayerToken()
          Token identifying the network analysis layer on the server to use.
 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.
 java.lang.String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps()
          Array of NAClassCandidateFieldMaps .
 java.lang.String getNALayerName()
          Network analysis layer name.
 int getNumTransitionToHierarchy(int toLevel)
          The number of lower level junctions to explore before searching the next hierarchy level.
 java.lang.Object getOutputGeometryPrecision()
          Specifies the precision of the output geometry after generalization.
 int getOutputGeometryPrecisionUnits()
          Specifies the units of the output geometry precision.
 int getOutputLines()
          The type of line(s) generated.
 int getOutputPolygons()
          The type of polygon(s) generated.
 ISpatialReference getOutputSpatialReference()
          Spatial reference of the geometries returned with the analysis results.
 INAServerLocations getPolygonBarriers()
          RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis.
 INAServerLocations getPolylineBarriers()
          RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis.
 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.
 java.util.Date getTimeOfDay()
          The date-time value used in time-aware solvers.
 int getTimeOfDayUsage()
          The usage type for the TimeOfDay property.
 int getTravelDirection()
          The direction of the traversal.
 java.lang.String getTravelMode()
          Specifies the travel mode.
 double getTrimPolygonDistance()
          If polygons are being trimmed, provides the distance to trim.
 int getTrimPolygonDistanceUnits()
          If polygons are being trimmed, provides the units of the distance to trim.
 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 isIncludeSourceInformationOnLines()
          Indicates if the lines will have SourceID, SourceOID, from and to position information added.
 boolean isMergeSimilarPolygonRanges()
          Indicates if similar ranges should be merged in the result polygons.
 boolean isOverlapLines()
          Indicates if lines should overlap from multiple facilities.
 boolean isOverlapPolygons()
          Indicates if the polygons for all facilities should not overlap.
 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 isReturnFacilities()
          Indicates if the output facilities recordset should be returned with the analysis results.
 boolean isReturnMap()
          Indicates if a MapImage should be generated and returned with the analysis results.
 boolean isReturnPartialResultsOnError()
          Indicates if the result object should be returned even if an error was generated during the solve operation.
 boolean isReturnPolygonBarriers()
          Indicates if the output polygon barriers recordset should be returned with the analysis results.
 boolean isReturnPolylineBarriers()
          Indicates if the output polyline barriers recordset should be returned with the analysis results.
 boolean isReturnSALineGeometries()
          Indicates if the SALine geometries should be generated and returned with the analysis results.
 boolean isReturnSALines()
          Indicates if the output SALines recordset should be returned with the analysis results.
 boolean isReturnSAPolygonGeometries()
          Indicates if the SAPolygon geometries should be generated and returned with the analysis results.
 boolean isReturnSAPolygons()
          Indicates if the output SAPolygons recordset should be returned with the analysis results.
 boolean isSaveLayerOnServer()
          Indicates if the resulting analysis layer should be saved on the server.
 boolean isSplitLinesAtBreaks()
          Indicates if lines should be split at breaks.
 boolean isSplitPolygonsAtBreaks()
          Indicates if polygons should be split at break values.
 boolean isTimeOfDayIsUTC()
          Indicates whether the date-time value used in time-aware solvers is UTC or local time.
 boolean isTrimOuterPolygon()
          Indicates if the outermost polygon (at the maximum break value) will be trimmed.
 boolean isUseHierarchy()
          Indicates if the hierarchy attribute for the network should be used in analysis.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a NAServerServiceAreaParams.
 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(java.lang.String attributeName, java.lang.String paramName, java.lang.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 setDefaultBreaks(IDoubleArray value)
          The default break(s) of the traversal.
 void setExcludeSourcesFromPolygons(IStringArray networkSourceNames)
          A collection of network source names to NOT use when generating polygons.
 void setFacilitiesByRef(INAServerLocations facilities)
          RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis.
 void setHierarchyAttributeName(java.lang.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(java.lang.String attributeName)
          The network attribute name to be used as the impedance attribute in analysis.
 void setIncludeSourceInformationOnLines(boolean value)
          Indicates if the lines will have SourceID, SourceOID, from and to position information added.
 void setLayerToken(java.lang.String layerToken)
          Token identifying the network analysis layer on the server to use.
 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 setMergeSimilarPolygonRanges(boolean value)
          Indicates if similar ranges should be merged in the result polygons.
 void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
          Array of NAClassCandidateFieldMaps .
 void setNALayerName(java.lang.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 setOutputGeometryPrecision(java.lang.Object pValue)
          Specifies the precision of the output geometry after generalization.
 void setOutputGeometryPrecisionUnits(int pValue)
          Specifies the units of the output geometry precision.
 void setOutputLines(int value)
          The type of line(s) generated.
 void setOutputPolygons(int value)
          The type of polygon(s) generated.
 void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
          Spatial reference of the geometries returned with the analysis results.
 void setOverlapLines(boolean value)
          Indicates if lines should overlap from multiple facilities.
 void setOverlapPolygons(boolean value)
          Indicates if the polygons for all facilities should not overlap.
 void setPolygonBarriersByRef(INAServerLocations barriers)
          RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis.
 void setPolylineBarriersByRef(INAServerLocations barriers)
          RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis.
 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 setReturnFacilities(boolean returnFacilities)
          Indicates if the output facilities 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 setReturnPartialResultsOnError(boolean returnPartialResultsOnError)
          Indicates if the result object should be returned even if an error was generated during the solve operation.
 void setReturnPolygonBarriers(boolean returnBarriers)
          Indicates if the output polygon barriers recordset should be returned with the analysis results.
 void setReturnPolylineBarriers(boolean returnBarriers)
          Indicates if the output polyline barriers recordset should be returned with the analysis results.
 void setReturnSALineGeometries(boolean returnSALineGeometries)
          Indicates if the SALine geometries should be generated and returned with the analysis results.
 void setReturnSALines(boolean returnSALines)
          Indicates if the output SALines recordset should be returned with the analysis results.
 void setReturnSAPolygonGeometries(boolean returnSAPolygonGeometries)
          Indicates if the SAPolygon geometries should be generated and returned with the analysis results.
 void setReturnSAPolygons(boolean returnSAPolygons)
          Indicates if the output SAPolygons recordset should be returned with the analysis results.
 void setSaveLayerOnServer(boolean saveLayerOnServer)
          Indicates if the resulting analysis layer should be saved on the server.
 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 setSplitLinesAtBreaks(boolean value)
          Indicates if lines should be split at breaks.
 void setSplitPolygonsAtBreaks(boolean value)
          Indicates if polygons should be split at break values.
 void setTimeOfDay(java.util.Date timeOfDay)
          The date-time value used in time-aware solvers.
 void setTimeOfDayIsUTC(boolean timeOfDayIsUTC)
          Indicates whether the date-time value used in time-aware solvers is UTC or local time.
 void setTimeOfDayUsage(int timeOfDayUsage)
          The usage type for the TimeOfDay property.
 void setTravelDirection(int value)
          The direction of the traversal.
 void setTravelMode(java.lang.String value)
          Specifies the travel mode.
 void setTrimOuterPolygon(boolean value)
          Indicates if the outermost polygon (at the maximum break value) will be trimmed.
 void setTrimPolygonDistance(double distance)
          If polygons are being trimmed, provides the distance to trim.
 void setTrimPolygonDistanceUnits(int units)
          If polygons are being trimmed, provides the units of the distance to trim.
 void setUseHierarchy(boolean useHierarchy)
          Indicates if the hierarchy attribute for the network should be used in analysis.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

NAServerServiceAreaParams

public NAServerServiceAreaParams()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a NAServerServiceAreaParams using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

NAServerServiceAreaParams

public NAServerServiceAreaParams(java.lang.Object obj)
                          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NAServerServiceAreaParams theNAServerServiceAreaParams = (NAServerServiceAreaParams) obj;

Construct a NAServerServiceAreaParams using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NAServerServiceAreaParams.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a NAServerServiceAreaParams.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setNALayerName

public void setNALayerName(java.lang.String nALayerName)
                    throws java.io.IOException,
                           AutomationException
Network analysis layer name.

Specified by:
setNALayerName in interface INAServerSolverParams
Parameters:
nALayerName - The nALayerName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNALayerName

public java.lang.String getNALayerName()
                                throws java.io.IOException,
                                       AutomationException
Network analysis layer name.

Specified by:
getNALayerName in interface INAServerSolverParams
Returns:
The nALayerName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapTolerance

public void setSnapTolerance(double snapTolerance)
                      throws java.io.IOException,
                             AutomationException
Minimum search tolerance used when attempting to load network locations.

Specified by:
setSnapTolerance in interface INAServerSolverParams
Parameters:
snapTolerance - The snapTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapTolerance

public double getSnapTolerance()
                        throws java.io.IOException,
                               AutomationException
Minimum search tolerance used when attempting to load network locations.

Specified by:
getSnapTolerance in interface INAServerSolverParams
Returns:
The snapTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxSnapTolerance

public void setMaxSnapTolerance(double maxSnapTolerance)
                         throws java.io.IOException,
                                AutomationException
Maximum search tolerance used when attempting to load network locations.

Specified by:
setMaxSnapTolerance in interface INAServerSolverParams
Parameters:
maxSnapTolerance - The maxSnapTolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxSnapTolerance

public double getMaxSnapTolerance()
                           throws java.io.IOException,
                                  AutomationException
Maximum search tolerance used when attempting to load network locations.

Specified by:
getMaxSnapTolerance in interface INAServerSolverParams
Returns:
The maxSnapTolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapToleranceUnits

public void setSnapToleranceUnits(int snapToleranceUnits)
                           throws java.io.IOException,
                                  AutomationException
Length units of the SnapTolerance and MaxSnapTolerance.

Specified by:
setSnapToleranceUnits in interface INAServerSolverParams
Parameters:
snapToleranceUnits - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapToleranceUnits

public int getSnapToleranceUnits()
                          throws java.io.IOException,
                                 AutomationException
Length units of the SnapTolerance and MaxSnapTolerance.

Specified by:
getSnapToleranceUnits in interface INAServerSolverParams
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNAClassCandidateFieldMaps

public void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
                                  throws java.io.IOException,
                                         AutomationException
Array of NAClassCandidateFieldMaps .

Specified by:
setNAClassCandidateFieldMaps in interface INAServerSolverParams
Parameters:
ppNAClassCandidateFieldMaps - A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNAClassCandidateFieldMaps

public INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps()
                                                         throws java.io.IOException,
                                                                AutomationException
Array of NAClassCandidateFieldMaps .

Specified by:
getNAClassCandidateFieldMaps in interface INAServerSolverParams
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnMap

public void setReturnMap(boolean returnMap)
                  throws java.io.IOException,
                         AutomationException
Indicates if a MapImage should be generated and returned with the analysis results.

Specified by:
setReturnMap in interface INAServerSolverParams
Parameters:
returnMap - The returnMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnMap

public boolean isReturnMap()
                    throws java.io.IOException,
                           AutomationException
Indicates if a MapImage should be generated and returned with the analysis results.

Specified by:
isReturnMap in interface INAServerSolverParams
Returns:
The returnMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapDescriptionByRef

public void setMapDescriptionByRef(IMapDescription mapDescription)
                            throws java.io.IOException,
                                   AutomationException
MapDescription used when generating the MapImage returned with the analysis results.

Specified by:
setMapDescriptionByRef in interface INAServerSolverParams
Parameters:
mapDescription - A reference to a com.esri.arcgis.carto.IMapDescription (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapDescription

public IMapDescription getMapDescription()
                                  throws java.io.IOException,
                                         AutomationException
MapDescription used when generating the MapImage returned with the analysis results.

Specified by:
getMapDescription in interface INAServerSolverParams
Returns:
A reference to a com.esri.arcgis.carto.IMapDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImageDescriptionByRef

public void setImageDescriptionByRef(IImageDescription imageDescription)
                              throws java.io.IOException,
                                     AutomationException
ImageDescription used when generating the MapImage returned with the analysis results.

Specified by:
setImageDescriptionByRef in interface INAServerSolverParams
Parameters:
imageDescription - A reference to a com.esri.arcgis.carto.IImageDescription (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImageDescription

public IImageDescription getImageDescription()
                                      throws java.io.IOException,
                                             AutomationException
ImageDescription used when generating the MapImage returned with the analysis results.

Specified by:
getImageDescription in interface INAServerSolverParams
Returns:
A reference to a com.esri.arcgis.carto.IImageDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputSpatialReferenceByRef

public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
                                    throws java.io.IOException,
                                           AutomationException
Spatial reference of the geometries returned with the analysis results.

Specified by:
setOutputSpatialReferenceByRef in interface INAServerSolverParams
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputSpatialReference

public ISpatialReference getOutputSpatialReference()
                                            throws java.io.IOException,
                                                   AutomationException
Spatial reference of the geometries returned with the analysis results.

Specified by:
getOutputSpatialReference in interface INAServerSolverParams
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnPartialResultsOnError

public void setReturnPartialResultsOnError(boolean returnPartialResultsOnError)
                                    throws java.io.IOException,
                                           AutomationException
Indicates if the result object should be returned even if an error was generated during the solve operation.

Specified by:
setReturnPartialResultsOnError in interface INAServerSolverParams2
Parameters:
returnPartialResultsOnError - The returnPartialResultsOnError (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnPartialResultsOnError

public boolean isReturnPartialResultsOnError()
                                      throws java.io.IOException,
                                             AutomationException
Indicates if the result object should be returned even if an error was generated during the solve operation.

Specified by:
isReturnPartialResultsOnError in interface INAServerSolverParams2
Returns:
The returnPartialResultsOnError
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSaveLayerOnServer

public void setSaveLayerOnServer(boolean saveLayerOnServer)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the resulting analysis layer should be saved on the server.

Specified by:
setSaveLayerOnServer in interface INAServerSolverParams2
Parameters:
saveLayerOnServer - The saveLayerOnServer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSaveLayerOnServer

public boolean isSaveLayerOnServer()
                            throws java.io.IOException,
                                   AutomationException
Indicates if the resulting analysis layer should be saved on the server.

Specified by:
isSaveLayerOnServer in interface INAServerSolverParams2
Returns:
The saveLayerOnServer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerToken

public void setLayerToken(java.lang.String layerToken)
                   throws java.io.IOException,
                          AutomationException
Token identifying the network analysis layer on the server to use.

Specified by:
setLayerToken in interface INAServerSolverParams2
Parameters:
layerToken - The layerToken (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerToken

public java.lang.String getLayerToken()
                               throws java.io.IOException,
                                      AutomationException
Token identifying the network analysis layer on the server to use.

Specified by:
getLayerToken in interface INAServerSolverParams2
Returns:
The layerToken
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTravelMode

public java.lang.String getTravelMode()
                               throws java.io.IOException,
                                      AutomationException
Specifies the travel mode.

Specified by:
getTravelMode in interface INAServerSolverParams3
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTravelMode

public void setTravelMode(java.lang.String value)
                   throws java.io.IOException,
                          AutomationException
Specifies the travel mode.

Specified by:
setTravelMode in interface INAServerSolverParams3
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFacilitiesByRef

public void setFacilitiesByRef(INAServerLocations facilities)
                        throws java.io.IOException,
                               AutomationException
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis.

Specified by:
setFacilitiesByRef in interface INAServerServiceAreaParams
Parameters:
facilities - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFacilities

public INAServerLocations getFacilities()
                                 throws java.io.IOException,
                                        AutomationException
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis.

Specified by:
getFacilities in interface INAServerServiceAreaParams
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerLocations
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBarriersByRef

public void setBarriersByRef(INAServerLocations barriers)
                      throws java.io.IOException,
                             AutomationException
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis.

Specified by:
setBarriersByRef in interface INAServerServiceAreaParams
Parameters:
barriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBarriers

public INAServerLocations getBarriers()
                               throws java.io.IOException,
                                      AutomationException
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis.

Specified by:
getBarriers in interface INAServerServiceAreaParams
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerLocations
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnSALineGeometries

public void setReturnSALineGeometries(boolean returnSALineGeometries)
                               throws java.io.IOException,
                                      AutomationException
Indicates if the SALine geometries should be generated and returned with the analysis results.

Specified by:
setReturnSALineGeometries in interface INAServerServiceAreaParams
Parameters:
returnSALineGeometries - The returnSALineGeometries (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnSALineGeometries

public boolean isReturnSALineGeometries()
                                 throws java.io.IOException,
                                        AutomationException
Indicates if the SALine geometries should be generated and returned with the analysis results.

Specified by:
isReturnSALineGeometries in interface INAServerServiceAreaParams
Returns:
The returnSALineGeometries
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnSALines

public void setReturnSALines(boolean returnSALines)
                      throws java.io.IOException,
                             AutomationException
Indicates if the output SALines recordset should be returned with the analysis results.

Specified by:
setReturnSALines in interface INAServerServiceAreaParams
Parameters:
returnSALines - The returnSALines (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnSALines

public boolean isReturnSALines()
                        throws java.io.IOException,
                               AutomationException
Indicates if the output SALines recordset should be returned with the analysis results.

Specified by:
isReturnSALines in interface INAServerServiceAreaParams
Returns:
The returnSALines
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnSAPolygonGeometries

public void setReturnSAPolygonGeometries(boolean returnSAPolygonGeometries)
                                  throws java.io.IOException,
                                         AutomationException
Indicates if the SAPolygon geometries should be generated and returned with the analysis results.

Specified by:
setReturnSAPolygonGeometries in interface INAServerServiceAreaParams
Parameters:
returnSAPolygonGeometries - The returnSAPolygonGeometries (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnSAPolygonGeometries

public boolean isReturnSAPolygonGeometries()
                                    throws java.io.IOException,
                                           AutomationException
Indicates if the SAPolygon geometries should be generated and returned with the analysis results.

Specified by:
isReturnSAPolygonGeometries in interface INAServerServiceAreaParams
Returns:
The returnSAPolygonGeometries
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnSAPolygons

public void setReturnSAPolygons(boolean returnSAPolygons)
                         throws java.io.IOException,
                                AutomationException
Indicates if the output SAPolygons recordset should be returned with the analysis results.

Specified by:
setReturnSAPolygons in interface INAServerServiceAreaParams
Parameters:
returnSAPolygons - The returnSAPolygons (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnSAPolygons

public boolean isReturnSAPolygons()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the output SAPolygons recordset should be returned with the analysis results.

Specified by:
isReturnSAPolygons in interface INAServerServiceAreaParams
Returns:
The returnSAPolygons
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnFacilities

public void setReturnFacilities(boolean returnFacilities)
                         throws java.io.IOException,
                                AutomationException
Indicates if the output facilities recordset should be returned with the analysis results.

Specified by:
setReturnFacilities in interface INAServerServiceAreaParams
Parameters:
returnFacilities - The returnFacilities (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnFacilities

public boolean isReturnFacilities()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the output facilities recordset should be returned with the analysis results.

Specified by:
isReturnFacilities in interface INAServerServiceAreaParams
Returns:
The returnFacilities
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnBarriers

public void setReturnBarriers(boolean returnBarriers)
                       throws java.io.IOException,
                              AutomationException
Indicates if the output barriers recordset should be returned with the analysis results.

Specified by:
setReturnBarriers in interface INAServerServiceAreaParams
Parameters:
returnBarriers - The returnBarriers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnBarriers

public boolean isReturnBarriers()
                         throws java.io.IOException,
                                AutomationException
Indicates if the output barriers recordset should be returned with the analysis results.

Specified by:
isReturnBarriers in interface INAServerServiceAreaParams
Returns:
The returnBarriers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPolylineBarriersByRef

public void setPolylineBarriersByRef(INAServerLocations barriers)
                              throws java.io.IOException,
                                     AutomationException
RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis.

Specified by:
setPolylineBarriersByRef in interface INAServerServiceAreaParams2
Parameters:
barriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPolylineBarriers

public INAServerLocations getPolylineBarriers()
                                       throws java.io.IOException,
                                              AutomationException
RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis.

Specified by:
getPolylineBarriers in interface INAServerServiceAreaParams2
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerLocations
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPolygonBarriersByRef

public void setPolygonBarriersByRef(INAServerLocations barriers)
                             throws java.io.IOException,
                                    AutomationException
RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis.

Specified by:
setPolygonBarriersByRef in interface INAServerServiceAreaParams2
Parameters:
barriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPolygonBarriers

public INAServerLocations getPolygonBarriers()
                                      throws java.io.IOException,
                                             AutomationException
RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis.

Specified by:
getPolygonBarriers in interface INAServerServiceAreaParams2
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAServerLocations
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnPolylineBarriers

public void setReturnPolylineBarriers(boolean returnBarriers)
                               throws java.io.IOException,
                                      AutomationException
Indicates if the output polyline barriers recordset should be returned with the analysis results.

Specified by:
setReturnPolylineBarriers in interface INAServerServiceAreaParams2
Parameters:
returnBarriers - The returnBarriers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnPolylineBarriers

public boolean isReturnPolylineBarriers()
                                 throws java.io.IOException,
                                        AutomationException
Indicates if the output polyline barriers recordset should be returned with the analysis results.

Specified by:
isReturnPolylineBarriers in interface INAServerServiceAreaParams2
Returns:
The returnBarriers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReturnPolygonBarriers

public void setReturnPolygonBarriers(boolean returnBarriers)
                              throws java.io.IOException,
                                     AutomationException
Indicates if the output polygon barriers recordset should be returned with the analysis results.

Specified by:
setReturnPolygonBarriers in interface INAServerServiceAreaParams2
Parameters:
returnBarriers - The returnBarriers (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isReturnPolygonBarriers

public boolean isReturnPolygonBarriers()
                                throws java.io.IOException,
                                       AutomationException
Indicates if the output polygon barriers recordset should be returned with the analysis results.

Specified by:
isReturnPolygonBarriers in interface INAServerServiceAreaParams2
Returns:
The returnBarriers
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccumulateAttributeNames

public IStringArray getAccumulateAttributeNames()
                                         throws java.io.IOException,
                                                AutomationException
The collection of network attribute names to be accumulated with the analysis.

Specified by:
getAccumulateAttributeNames in interface INASolverSettings
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccumulateAttributeNamesByRef

public void setAccumulateAttributeNamesByRef(IStringArray attributeNames)
                                      throws java.io.IOException,
                                             AutomationException
The collection of network attribute names to be accumulated with the analysis.

Specified by:
setAccumulateAttributeNamesByRef in interface INASolverSettings
Parameters:
attributeNames - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setImpedanceAttributeName

public void setImpedanceAttributeName(java.lang.String attributeName)
                               throws java.io.IOException,
                                      AutomationException
The network attribute name to be used as the impedance attribute in analysis.

Specified by:
setImpedanceAttributeName in interface INASolverSettings
Parameters:
attributeName - The attributeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImpedanceAttributeName

public java.lang.String getImpedanceAttributeName()
                                           throws java.io.IOException,
                                                  AutomationException
The network attribute name to be used as the impedance attribute in analysis.

Specified by:
getImpedanceAttributeName in interface INASolverSettings
Returns:
The attributeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIgnoreInvalidLocations

public void setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
                               throws java.io.IOException,
                                      AutomationException
Indicates if invalid locations should be ignored or raise an error.

Specified by:
setIgnoreInvalidLocations in interface INASolverSettings
Parameters:
ignoreInvalidLocations - The ignoreInvalidLocations (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIgnoreInvalidLocations

public boolean isIgnoreInvalidLocations()
                                 throws java.io.IOException,
                                        AutomationException
Indicates if invalid locations should be ignored or raise an error.

Specified by:
isIgnoreInvalidLocations in interface INASolverSettings
Returns:
The ignoreInvalidLocations
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRestrictionAttributeNames

public IStringArray getRestrictionAttributeNames()
                                          throws java.io.IOException,
                                                 AutomationException
The collection of network attribute names to be used as restrictions with the analysis.

Specified by:
getRestrictionAttributeNames in interface INASolverSettings
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRestrictionAttributeNamesByRef

public void setRestrictionAttributeNamesByRef(IStringArray attributeName)
                                       throws java.io.IOException,
                                              AutomationException
The collection of network attribute names to be used as restrictions with the analysis.

Specified by:
setRestrictionAttributeNamesByRef in interface INASolverSettings
Parameters:
attributeName - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRestrictUTurns

public void setRestrictUTurns(int backtrack)
                       throws java.io.IOException,
                              AutomationException
Indicates how U-Turns should be restricted in the analysis.

Specified by:
setRestrictUTurns in interface INASolverSettings
Parameters:
backtrack - A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRestrictUTurns

public int getRestrictUTurns()
                      throws java.io.IOException,
                             AutomationException
Indicates how U-Turns should be restricted in the analysis.

Specified by:
getRestrictUTurns in interface INASolverSettings
Returns:
A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseHierarchy

public void setUseHierarchy(boolean useHierarchy)
                     throws java.io.IOException,
                            AutomationException
Indicates if the hierarchy attribute for the network should be used in analysis.

Specified by:
setUseHierarchy in interface INASolverSettings
Parameters:
useHierarchy - The useHierarchy (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseHierarchy

public boolean isUseHierarchy()
                       throws java.io.IOException,
                              AutomationException
Indicates if the hierarchy attribute for the network should be used in analysis.

Specified by:
isUseHierarchy in interface INASolverSettings
Returns:
The useHierarchy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHierarchyAttributeName

public void setHierarchyAttributeName(java.lang.String attributeName)
                               throws java.io.IOException,
                                      AutomationException
The name of the hierarchy attribute to be used in analysis.

Specified by:
setHierarchyAttributeName in interface INASolverSettings
Parameters:
attributeName - The attributeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHierarchyAttributeName

public java.lang.String getHierarchyAttributeName()
                                           throws java.io.IOException,
                                                  AutomationException
The name of the hierarchy attribute to be used in analysis.

Specified by:
getHierarchyAttributeName in interface INASolverSettings
Returns:
The attributeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHierarchyLevelCount

public void setHierarchyLevelCount(int count)
                            throws java.io.IOException,
                                   AutomationException
The number of levels in the hierarchy attribute.

Specified by:
setHierarchyLevelCount in interface INASolverSettings
Parameters:
count - The count (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHierarchyLevelCount

public int getHierarchyLevelCount()
                           throws java.io.IOException,
                                  AutomationException
The number of levels in the hierarchy attribute.

Specified by:
getHierarchyLevelCount in interface INASolverSettings
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxValueForHierarchy

public void setMaxValueForHierarchy(int level,
                                    int value)
                             throws java.io.IOException,
                                    AutomationException
The maximum value of the hierarchy attribute.

Specified by:
setMaxValueForHierarchy in interface INASolverSettings
Parameters:
level - The level (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxValueForHierarchy

public int getMaxValueForHierarchy(int level)
                            throws java.io.IOException,
                                   AutomationException
The maximum value of the hierarchy attribute.

Specified by:
getMaxValueForHierarchy in interface INASolverSettings
Parameters:
level - The level (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumTransitionToHierarchy

public void setNumTransitionToHierarchy(int toLevel,
                                        int value)
                                 throws java.io.IOException,
                                        AutomationException
The number of lower level junctions to explore before searching the next hierarchy level.

Specified by:
setNumTransitionToHierarchy in interface INASolverSettings
Parameters:
toLevel - The toLevel (in)
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumTransitionToHierarchy

public int getNumTransitionToHierarchy(int toLevel)
                                throws java.io.IOException,
                                       AutomationException
The number of lower level junctions to explore before searching the next hierarchy level.

Specified by:
getNumTransitionToHierarchy in interface INASolverSettings
Parameters:
toLevel - The toLevel (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isResetHierarchyRangesOnBind

public boolean isResetHierarchyRangesOnBind()
                                     throws java.io.IOException,
                                            AutomationException
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound.

Specified by:
isResetHierarchyRangesOnBind in interface INASolverSettings2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResetHierarchyRangesOnBind

public void setResetHierarchyRangesOnBind(boolean value)
                                   throws java.io.IOException,
                                          AutomationException
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound.

Specified by:
setResetHierarchyRangesOnBind in interface INASolverSettings2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeParameterValue

public java.lang.Object getAttributeParameterValue(java.lang.String attributeName,
                                                   java.lang.String paramName)
                                            throws java.io.IOException,
                                                   AutomationException
The value to use for an attribute parameter within the network dataset.

Specified by:
getAttributeParameterValue in interface INASolverSettings2
Parameters:
attributeName - The attributeName (in)
paramName - The paramName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeParameterValue

public void setAttributeParameterValue(java.lang.String attributeName,
                                       java.lang.String paramName,
                                       java.lang.Object value)
                                throws java.io.IOException,
                                       AutomationException
The value to use for an attribute parameter within the network dataset.

Specified by:
setAttributeParameterValue in interface INASolverSettings2
Parameters:
attributeName - The attributeName (in)
paramName - The paramName (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTravelDirection

public int getTravelDirection()
                       throws java.io.IOException,
                              AutomationException
The direction of the traversal.

Specified by:
getTravelDirection in interface INAServiceAreaSolver
Returns:
A com.esri.arcgis.networkanalyst.esriNATravelDirection constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTravelDirection

public void setTravelDirection(int value)
                        throws java.io.IOException,
                               AutomationException
The direction of the traversal.

Specified by:
setTravelDirection in interface INAServiceAreaSolver
Parameters:
value - A com.esri.arcgis.networkanalyst.esriNATravelDirection constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultBreaks

public IDoubleArray getDefaultBreaks()
                              throws java.io.IOException,
                                     AutomationException
The default break(s) of the traversal.

Specified by:
getDefaultBreaks in interface INAServiceAreaSolver
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultBreaks

public void setDefaultBreaks(IDoubleArray value)
                      throws java.io.IOException,
                             AutomationException
The default break(s) of the traversal.

Specified by:
setDefaultBreaks in interface INAServiceAreaSolver
Parameters:
value - A reference to a com.esri.arcgis.system.IDoubleArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSplitPolygonsAtBreaks

public boolean isSplitPolygonsAtBreaks()
                                throws java.io.IOException,
                                       AutomationException
Indicates if polygons should be split at break values.

Specified by:
isSplitPolygonsAtBreaks in interface INAServiceAreaSolver
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSplitPolygonsAtBreaks

public void setSplitPolygonsAtBreaks(boolean value)
                              throws java.io.IOException,
                                     AutomationException
Indicates if polygons should be split at break values.

Specified by:
setSplitPolygonsAtBreaks in interface INAServiceAreaSolver
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOverlapLines

public boolean isOverlapLines()
                       throws java.io.IOException,
                              AutomationException
Indicates if lines should overlap from multiple facilities.

Specified by:
isOverlapLines in interface INAServiceAreaSolver
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverlapLines

public void setOverlapLines(boolean value)
                     throws java.io.IOException,
                            AutomationException
Indicates if lines should overlap from multiple facilities.

Specified by:
setOverlapLines in interface INAServiceAreaSolver
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExcludeSourcesFromPolygons

public IStringArray getExcludeSourcesFromPolygons()
                                           throws java.io.IOException,
                                                  AutomationException
A collection of network source names to NOT use when generating polygons.

Specified by:
getExcludeSourcesFromPolygons in interface INAServiceAreaSolver
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExcludeSourcesFromPolygons

public void setExcludeSourcesFromPolygons(IStringArray networkSourceNames)
                                   throws java.io.IOException,
                                          AutomationException
A collection of network source names to NOT use when generating polygons.

Specified by:
setExcludeSourcesFromPolygons in interface INAServiceAreaSolver
Parameters:
networkSourceNames - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMergeSimilarPolygonRanges

public boolean isMergeSimilarPolygonRanges()
                                    throws java.io.IOException,
                                           AutomationException
Indicates if similar ranges should be merged in the result polygons.

Specified by:
isMergeSimilarPolygonRanges in interface INAServiceAreaSolver
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMergeSimilarPolygonRanges

public void setMergeSimilarPolygonRanges(boolean value)
                                  throws java.io.IOException,
                                         AutomationException
Indicates if similar ranges should be merged in the result polygons.

Specified by:
setMergeSimilarPolygonRanges in interface INAServiceAreaSolver
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSplitLinesAtBreaks

public boolean isSplitLinesAtBreaks()
                             throws java.io.IOException,
                                    AutomationException
Indicates if lines should be split at breaks.

Specified by:
isSplitLinesAtBreaks in interface INAServiceAreaSolver
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSplitLinesAtBreaks

public void setSplitLinesAtBreaks(boolean value)
                           throws java.io.IOException,
                                  AutomationException
Indicates if lines should be split at breaks.

Specified by:
setSplitLinesAtBreaks in interface INAServiceAreaSolver
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputPolygons

public int getOutputPolygons()
                      throws java.io.IOException,
                             AutomationException
The type of polygon(s) generated.

Specified by:
getOutputPolygons in interface INAServiceAreaSolver
Returns:
A com.esri.arcgis.networkanalyst.esriNAOutputPolygonType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputPolygons

public void setOutputPolygons(int value)
                       throws java.io.IOException,
                              AutomationException
The type of polygon(s) generated.

Specified by:
setOutputPolygons in interface INAServiceAreaSolver
Parameters:
value - A com.esri.arcgis.networkanalyst.esriNAOutputPolygonType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputLines

public int getOutputLines()
                   throws java.io.IOException,
                          AutomationException
The type of line(s) generated.

Specified by:
getOutputLines in interface INAServiceAreaSolver
Returns:
A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputLines

public void setOutputLines(int value)
                    throws java.io.IOException,
                           AutomationException
The type of line(s) generated.

Specified by:
setOutputLines in interface INAServiceAreaSolver
Parameters:
value - A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverlapPolygons

public void setOverlapPolygons(boolean value)
                        throws java.io.IOException,
                               AutomationException
Indicates if the polygons for all facilities should not overlap.

Specified by:
setOverlapPolygons in interface INAServiceAreaSolver2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOverlapPolygons

public boolean isOverlapPolygons()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the polygons for all facilities should not overlap.

Specified by:
isOverlapPolygons in interface INAServiceAreaSolver2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIncludeSourceInformationOnLines

public void setIncludeSourceInformationOnLines(boolean value)
                                        throws java.io.IOException,
                                               AutomationException
Indicates if the lines will have SourceID, SourceOID, from and to position information added.

Specified by:
setIncludeSourceInformationOnLines in interface INAServiceAreaSolver2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIncludeSourceInformationOnLines

public boolean isIncludeSourceInformationOnLines()
                                          throws java.io.IOException,
                                                 AutomationException
Indicates if the lines will have SourceID, SourceOID, from and to position information added.

Specified by:
isIncludeSourceInformationOnLines in interface INAServiceAreaSolver2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrimOuterPolygon

public void setTrimOuterPolygon(boolean value)
                         throws java.io.IOException,
                                AutomationException
Indicates if the outermost polygon (at the maximum break value) will be trimmed.

Specified by:
setTrimOuterPolygon in interface INAServiceAreaSolver2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTrimOuterPolygon

public boolean isTrimOuterPolygon()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the outermost polygon (at the maximum break value) will be trimmed.

Specified by:
isTrimOuterPolygon in interface INAServiceAreaSolver2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrimPolygonDistance

public void setTrimPolygonDistance(double distance)
                            throws java.io.IOException,
                                   AutomationException
If polygons are being trimmed, provides the distance to trim.

Specified by:
setTrimPolygonDistance in interface INAServiceAreaSolver2
Parameters:
distance - The distance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrimPolygonDistance

public double getTrimPolygonDistance()
                              throws java.io.IOException,
                                     AutomationException
If polygons are being trimmed, provides the distance to trim.

Specified by:
getTrimPolygonDistance in interface INAServiceAreaSolver2
Returns:
The distance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrimPolygonDistanceUnits

public void setTrimPolygonDistanceUnits(int units)
                                 throws java.io.IOException,
                                        AutomationException
If polygons are being trimmed, provides the units of the distance to trim.

Specified by:
setTrimPolygonDistanceUnits in interface INAServiceAreaSolver2
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrimPolygonDistanceUnits

public int getTrimPolygonDistanceUnits()
                                throws java.io.IOException,
                                       AutomationException
If polygons are being trimmed, provides the units of the distance to trim.

Specified by:
getTrimPolygonDistanceUnits in interface INAServiceAreaSolver2
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCreateTraversalResult

public void setCreateTraversalResult(boolean value)
                              throws java.io.IOException,
                                     AutomationException
Indicates if a traversal result is created.

Specified by:
setCreateTraversalResult in interface INAServiceAreaSolver2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCreateTraversalResult

public boolean isCreateTraversalResult()
                                throws java.io.IOException,
                                       AutomationException
Indicates if a traversal result is created.

Specified by:
isCreateTraversalResult in interface INAServiceAreaSolver2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputGeometryPrecision

public void setOutputGeometryPrecision(java.lang.Object pValue)
                                throws java.io.IOException,
                                       AutomationException
Specifies the precision of the output geometry after generalization.

Specified by:
setOutputGeometryPrecision in interface INASolverOutputGeneralization
Parameters:
pValue - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputGeometryPrecision

public java.lang.Object getOutputGeometryPrecision()
                                            throws java.io.IOException,
                                                   AutomationException
Specifies the precision of the output geometry after generalization.

Specified by:
getOutputGeometryPrecision in interface INASolverOutputGeneralization
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputGeometryPrecisionUnits

public void setOutputGeometryPrecisionUnits(int pValue)
                                     throws java.io.IOException,
                                            AutomationException
Specifies the units of the output geometry precision.

Specified by:
setOutputGeometryPrecisionUnits in interface INASolverOutputGeneralization
Parameters:
pValue - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputGeometryPrecisionUnits

public int getOutputGeometryPrecisionUnits()
                                    throws java.io.IOException,
                                           AutomationException
Specifies the units of the output geometry precision.

Specified by:
getOutputGeometryPrecisionUnits in interface INASolverOutputGeneralization
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeOfDay

public java.util.Date getTimeOfDay()
                            throws java.io.IOException,
                                   AutomationException
The date-time value used in time-aware solvers.

Specified by:
getTimeOfDay in interface INATimeAwareSolverSettings
Returns:
The timeOfDay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeOfDay

public void setTimeOfDay(java.util.Date timeOfDay)
                  throws java.io.IOException,
                         AutomationException
The date-time value used in time-aware solvers.

Specified by:
setTimeOfDay in interface INATimeAwareSolverSettings
Parameters:
timeOfDay - The timeOfDay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeOfDayUsage

public int getTimeOfDayUsage()
                      throws java.io.IOException,
                             AutomationException
The usage type for the TimeOfDay property.

Specified by:
getTimeOfDayUsage in interface INATimeAwareSolverSettings
Returns:
A com.esri.arcgis.networkanalyst.esriNATimeOfDayUsage constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeOfDayUsage

public void setTimeOfDayUsage(int timeOfDayUsage)
                       throws java.io.IOException,
                              AutomationException
The usage type for the TimeOfDay property.

Specified by:
setTimeOfDayUsage in interface INATimeAwareSolverSettings
Parameters:
timeOfDayUsage - A com.esri.arcgis.networkanalyst.esriNATimeOfDayUsage constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTimeOfDayIsUTC

public boolean isTimeOfDayIsUTC()
                         throws java.io.IOException,
                                AutomationException
Indicates whether the date-time value used in time-aware solvers is UTC or local time.

Specified by:
isTimeOfDayIsUTC in interface INATimeAwareSolverSettings2
Returns:
The timeOfDayIsUTC
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeOfDayIsUTC

public void setTimeOfDayIsUTC(boolean timeOfDayIsUTC)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the date-time value used in time-aware solvers is UTC or local time.

Specified by:
setTimeOfDayIsUTC in interface INATimeAwareSolverSettings2
Parameters:
timeOfDayIsUTC - The timeOfDayIsUTC (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinNamespaceSupported

public java.lang.String getMinNamespaceSupported()
                                          throws java.io.IOException,
                                                 AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException