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

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

public class BuildNetwork
extends AbstractGPTool

Reconstructs the network connectivity and attribute information of a network dataset. The network dataset needs to be rebuilt after making edits to the attributes or the features of a participating source feature class. After the source features are edited, the tool establishes the network connectivity only in the areas that have been edited to speed up the build process; however, when the network attributes are edited, the entire extent of the network dataset is rebuilt. This may be a slow operation on a large network dataset. The Build Network 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
BuildNetwork()
          Creates the Build Network tool with defaults.
BuildNetwork(Object inNetworkDataset)
          Creates the Build Network tool with the required parameters.
 
Method Summary
 Object getInNetworkDataset()
          Returns the Input Network Dataset parameter of this tool .
 Object getOutNetworkDataset()
          Returns the Output Network Dataset 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 setInNetworkDataset(Object inNetworkDataset)
          Sets the Input Network Dataset 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

BuildNetwork

public BuildNetwork()
Creates the Build Network tool with defaults.

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


BuildNetwork

public BuildNetwork(Object inNetworkDataset)
Creates the Build Network 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:
inNetworkDataset - the network dataset to be built.
Method Detail

getInNetworkDataset

public Object getInNetworkDataset()
Returns the Input Network Dataset parameter of this tool . This parameter is the network dataset to be built. This is a required parameter.

Returns:
the Input Network Dataset

setInNetworkDataset

public void setInNetworkDataset(Object inNetworkDataset)
Sets the Input Network Dataset parameter of this tool . This parameter is the network dataset to be built. This is a required parameter.

Parameters:
inNetworkDataset - the network dataset to be built.

getOutNetworkDataset

public Object getOutNetworkDataset()
Returns the Output Network Dataset parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Network Dataset

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