com.esri.arcgis.datasourcesfile
Interface ISMRouterSetup2

All Superinterfaces:
ISMRouterSetup, java.io.Serializable
All Known Implementing Classes:
ISMRouterSetup2Proxy, SMRouter

public interface ISMRouterSetup2
extends ISMRouterSetup, java.io.Serializable

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

Description: 'Deprecated as of 10.1. Provides access to router restrictions settings.' 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 IID06efa9d2_490c_4325_bf15_3f73f4492f34
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRouterSetup
IIDa386707f_fb42_4d0e_af12_3c1feb26f771
 
Method Summary
 void clearRestriction(int index)
          The method removes restriction at specified position from the list.
 ISMRestriction getRestriction(int index)
          Restriction at the position, specified by index.
 int getRestrictionCount()
          Number of restrictions in the list, which will be applied when finding route.
 
Methods inherited from interface com.esri.arcgis.datasourcesfile.ISMRouterSetup
clearAllRestrictions, getBacktrackPolicy, getDirectionsLengthUnits, setBacktrackPolicy, setDirectionsLengthUnits, setRestriction
 

Field Detail

IID06efa9d2_490c_4325_bf15_3f73f4492f34

static final int IID06efa9d2_490c_4325_bf15_3f73f4492f34
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

getRestrictionCount

int getRestrictionCount()
                        throws java.io.IOException,
                               AutomationException
Number of restrictions in the list, which will be applied when finding route.

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

getRestriction

ISMRestriction getRestriction(int index)
                              throws java.io.IOException,
                                     AutomationException
Restriction at the position, specified by index.

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

clearRestriction

void clearRestriction(int index)
                      throws java.io.IOException,
                             AutomationException
The method removes restriction at specified position from the list.

Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.