com.esri.arcgis.datasourcesfile
Interface ISMRouterSetup

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ISMRouterSetup2
All Known Implementing Classes:
ISMRouterSetup2Proxy, ISMRouterSetupProxy, SMRouter

public interface ISMRouterSetup
extends java.io.Serializable

COM Interface 'ISMRouterSetup'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description: 'Deprecated as of 10.1. Provides access to router settings, such as restrictions, backtrack policy, length units.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa386707f_fb42_4d0e_af12_3c1feb26f771
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void clearAllRestrictions()
          Removes all restrictions set on the route solver.
 int getBacktrackPolicy()
          Controls the backtrack policy of the route solver.
 int getDirectionsLengthUnits()
          The output length units used in driving directions.
 void setBacktrackPolicy(int pVal)
          Controls the backtrack policy of the route solver.
 void setDirectionsLengthUnits(int pVal)
          The output length units used in driving directions.
 void setRestriction(ISMRestriction pRestriction)
          Sets a restriction to be used by the route solver.
 

Field Detail

IIDa386707f_fb42_4d0e_af12_3c1feb26f771

static final int IIDa386707f_fb42_4d0e_af12_3c1feb26f771
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setRestriction

void setRestriction(ISMRestriction pRestriction)
                    throws java.io.IOException,
                           AutomationException
Sets a restriction to be used by the route solver.

Parameters:
pRestriction - A reference to a com.esri.arcgis.datasourcesfile.ISMRestriction (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearAllRestrictions

void clearAllRestrictions()
                          throws java.io.IOException,
                                 AutomationException
Removes all restrictions set on the route solver.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBacktrackPolicy

int getBacktrackPolicy()
                       throws java.io.IOException,
                              AutomationException
Controls the backtrack policy of the route solver.

Returns:
A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBacktrackPolicy

void setBacktrackPolicy(int pVal)
                        throws java.io.IOException,
                               AutomationException
Controls the backtrack policy of the route solver.

Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionsLengthUnits

int getDirectionsLengthUnits()
                             throws java.io.IOException,
                                    AutomationException
The output length units used in driving directions.

Returns:
A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDirectionsLengthUnits

void setDirectionsLengthUnits(int pVal)
                              throws java.io.IOException,
                                     AutomationException
The output length units used in driving directions.

Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.