com.esri.arcgis.geoprocessing.tools.networkanalysttools
Class UpdateByGeometry

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.networkanalysttools.UpdateByGeometry
All Implemented Interfaces:
GPTool

public class UpdateByGeometry
extends AbstractGPTool

Updates all the edge references in the turn feature class using the geometry of the turn features. This tool is useful when the IDs listed for the turn can no longer find the edges participating in the turn due to edits to the underlying edges. The Update by Geometry tool is contained in the Network Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
UpdateByGeometry()
          Creates the Update by Geometry tool with defaults.
UpdateByGeometry(Object inTurnFeatures)
          Creates the Update by Geometry tool with the required parameters.
 
Method Summary
 Object getInTurnFeatures()
          Returns the Input Turn Feature Class parameter of this tool .
 Object getOutTurnFeatures()
          Returns the Output Turn Feature Class parameter of this tool (Read only).
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 void setInTurnFeatures(Object inTurnFeatures)
          Sets the Input Turn Feature Class parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateByGeometry

public UpdateByGeometry()
Creates the Update by Geometry tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


UpdateByGeometry

public UpdateByGeometry(Object inTurnFeatures)
Creates the Update by Geometry tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inTurnFeatures - the turn feature class to be updated.
Method Detail

getInTurnFeatures

public Object getInTurnFeatures()
Returns the Input Turn Feature Class parameter of this tool . This parameter is the turn feature class to be updated. This is a required parameter.

Returns:
the Input Turn Feature Class

setInTurnFeatures

public void setInTurnFeatures(Object inTurnFeatures)
Sets the Input Turn Feature Class parameter of this tool . This parameter is the turn feature class to be updated. This is a required parameter.

Parameters:
inTurnFeatures - the turn feature class to be updated.

getOutTurnFeatures

public Object getOutTurnFeatures()
Returns the Output Turn Feature Class parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Turn Feature Class

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias