|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesfile.SMRouter
public class SMRouter
COM Class 'SMRouter'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'
Description 'Deprecated as of 10.1. The object for calculating routes and defining route 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 |
|---|
| Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRouter |
|---|
DISPID_1_GET_NAME, DISPID_12_GET_NAME, DISPID_13_GET_NAME, DISPID_14_GET_NAME, DISPID_2_GET_NAME, DISPID_3_GET_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_6_GET_NAME, DISPID_6_PUT_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IIDf8b66020_5850_11d7_b321_008048db11de, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRoutingMetaData |
|---|
IID, IIDc8128b1a_23c3_4e21_93eb_50739b68f17a, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRouterSetup2 |
|---|
IID, IID06efa9d2_490c_4325_bf15_3f73f4492f34, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRouterSetup |
|---|
IIDa386707f_fb42_4d0e_af12_3c1feb26f771 |
| Constructor Summary | |
|---|---|
SMRouter(java.lang.Object obj)
Construct a SMRouter using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
clearAllRestrictions()
Removes all restrictions set on the route solver. |
void |
clearRestriction(int index)
The method removes restriction at specified position from the list. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
getBacktrackPolicy()
Controls the backtrack policy of the route solver. |
ISMNetBarriersCollection |
getBarriers()
The network barriers collection of the router object. |
java.lang.String |
getDescription()
Descriptive text of the data product used in the routing service. |
int |
getDirectionsLengthUnits()
The output length units used in driving directions. |
ISMFlagCreator |
getFlagCreator()
The flag creator used by the router object. |
java.lang.String |
getGeography()
The name of the geographic region covered by the routing service. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getNetAttributeName()
The network attribute that the router object currently uses. |
ISMNetAttributesCollection |
getNetAttributes()
The network attributes collection of the router object. |
ISMNetAttributesAccess |
getNetAttributesAccess()
The network attributes access of the router object. |
ISMRoadPreferences |
getPreferences()
The road preferences used by the router object. |
java.lang.String |
getProductName()
Name of data product. |
java.lang.String |
getProductVersion()
Version of data product. |
java.lang.String |
getProjectionString()
The spatial reference of the source data used by the router object. |
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. |
ISMSpeedGroups |
getSpeedGroups()
The speed groups used by the router object. |
java.lang.String |
getTime()
Date and time of data creation in ISO 8601 format. |
ISMTripPlanSettings |
getTripPlanSettings()
The trip planning settings used by the router object. |
java.lang.String |
getVendor()
Name of data vendor. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a SMRouter. |
ISMStopsCollection |
reorderStops(ISMStopsCollection pISrcStops)
Reorders the stops collection to minimize total driving time or distance. |
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 |
setNetAttributeName(java.lang.String pVal)
The network attribute that the router object currently uses. |
void |
setRestriction(ISMRestriction pRestriction)
Sets a restriction to be used by the route solver. |
ISMDirections |
solve(ISMStopsCollection pIStops,
ISMBreakTracker pITracker)
Calculates the route using the current settings of the router object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMRouter(java.lang.Object obj)
throws java.io.IOException
obj to SMRouter. *
SMRouter o = (SMRouter)obj; // will not work
SMRouter o = new SMRouter(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
SMRouter theSMRouter = (SMRouter) obj;| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public ISMNetBarriersCollection getBarriers()
throws java.io.IOException,
AutomationException
getBarriers in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMNetAttributesCollection getNetAttributes()
throws java.io.IOException,
AutomationException
getNetAttributes in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMRoadPreferences getPreferences()
throws java.io.IOException,
AutomationException
getPreferences in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMSpeedGroups getSpeedGroups()
throws java.io.IOException,
AutomationException
getSpeedGroups in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMTripPlanSettings getTripPlanSettings()
throws java.io.IOException,
AutomationException
getTripPlanSettings in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getNetAttributeName()
throws java.io.IOException,
AutomationException
getNetAttributeName in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNetAttributeName(java.lang.String pVal)
throws java.io.IOException,
AutomationException
setNetAttributeName in interface ISMRouterpVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMStopsCollection reorderStops(ISMStopsCollection pISrcStops)
throws java.io.IOException,
AutomationException
reorderStops in interface ISMRouterpISrcStops - A reference to a com.esri.arcgis.datasourcesfile.ISMStopsCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMDirections solve(ISMStopsCollection pIStops,
ISMBreakTracker pITracker)
throws java.io.IOException,
AutomationException
solve in interface ISMRouterpIStops - A reference to a com.esri.arcgis.datasourcesfile.ISMStopsCollection (in)pITracker - A reference to a com.esri.arcgis.datasourcesfile.ISMBreakTracker (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMNetAttributesAccess getNetAttributesAccess()
throws java.io.IOException,
AutomationException
getNetAttributesAccess in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getProjectionString()
throws java.io.IOException,
AutomationException
getProjectionString in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMFlagCreator getFlagCreator()
throws java.io.IOException,
AutomationException
getFlagCreator in interface ISMRouterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getVendor()
throws java.io.IOException,
AutomationException
getVendor in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getProductName()
throws java.io.IOException,
AutomationException
getProductName in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getProductVersion()
throws java.io.IOException,
AutomationException
getProductVersion in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getGeography()
throws java.io.IOException,
AutomationException
getGeography in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDescription()
throws java.io.IOException,
AutomationException
getDescription in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTime()
throws java.io.IOException,
AutomationException
getTime in interface ISMRoutingMetaDatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRestriction(ISMRestriction pRestriction)
throws java.io.IOException,
AutomationException
setRestriction in interface ISMRouterSetuppRestriction - A reference to a com.esri.arcgis.datasourcesfile.ISMRestriction (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearAllRestrictions()
throws java.io.IOException,
AutomationException
clearAllRestrictions in interface ISMRouterSetupjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBacktrackPolicy()
throws java.io.IOException,
AutomationException
getBacktrackPolicy in interface ISMRouterSetupjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBacktrackPolicy(int pVal)
throws java.io.IOException,
AutomationException
setBacktrackPolicy in interface ISMRouterSetuppVal - A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirectionsLengthUnits()
throws java.io.IOException,
AutomationException
getDirectionsLengthUnits in interface ISMRouterSetupjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsLengthUnits(int pVal)
throws java.io.IOException,
AutomationException
setDirectionsLengthUnits in interface ISMRouterSetuppVal - A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRestrictionCount()
throws java.io.IOException,
AutomationException
getRestrictionCount in interface ISMRouterSetup2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMRestriction getRestriction(int index)
throws java.io.IOException,
AutomationException
getRestriction in interface ISMRouterSetup2index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearRestriction(int index)
throws java.io.IOException,
AutomationException
clearRestriction in interface ISMRouterSetup2index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||