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

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

public class UpdateAnalysisLayerAttributeParameter
extends AbstractGPTool

Updates the network attribute parameter value for a network analysis layer. The tool should be used to update the value of an attribute parameter for a network analysis layer prior to solving with the Solve tool. This ensures that the solve operation uses the specified value of the attribute parameter to produce appropriate results. The Update Analysis Layer Attribute Parameter 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
UpdateAnalysisLayerAttributeParameter()
          Creates the Update Analysis Layer Attribute Parameter tool with defaults.
UpdateAnalysisLayerAttributeParameter(java.lang.Object inNetworkAnalysisLayer, java.lang.String parameterizedAttribute, java.lang.String attributeParameterName)
          Creates the Update Analysis Layer Attribute Parameter tool with the required parameters.
 
Method Summary
 java.lang.String getAttributeParameterName()
          Returns the Parameter parameter of this tool .
 java.lang.String getAttributeParameterValue()
          Returns the Value parameter of this tool .
 java.lang.Object getInNetworkAnalysisLayer()
          Returns the Input network analysis layer parameter of this tool .
 java.lang.Object getOutputLayer()
          Returns the Network Analyst Layer parameter of this tool (Read only).
 java.lang.String getParameterizedAttribute()
          Returns the Attribute parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setAttributeParameterName(java.lang.String attributeParameterName)
          Sets the Parameter parameter of this tool .
 void setAttributeParameterValue(java.lang.String attributeParameterValue)
          Sets the Value parameter of this tool .
 void setInNetworkAnalysisLayer(java.lang.Object inNetworkAnalysisLayer)
          Sets the Input network analysis layer parameter of this tool .
 void setParameterizedAttribute(java.lang.String parameterizedAttribute)
          Sets the Attribute 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

UpdateAnalysisLayerAttributeParameter

public UpdateAnalysisLayerAttributeParameter()
Creates the Update Analysis Layer Attribute Parameter tool with defaults.

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


UpdateAnalysisLayerAttributeParameter

public UpdateAnalysisLayerAttributeParameter(java.lang.Object inNetworkAnalysisLayer,
                                             java.lang.String parameterizedAttribute,
                                             java.lang.String attributeParameterName)
Creates the Update Analysis Layer Attribute Parameter 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:
inNetworkAnalysisLayer - network analysis layer for which the attribute parameter value will be updated.
parameterizedAttribute - the network attribute whose attribute parameter will be updated.
attributeParameterName - the parameter of the network attribute that will be updated. The parameters of type Object cannot be updated using the tool.
Method Detail

getInNetworkAnalysisLayer

public java.lang.Object getInNetworkAnalysisLayer()
Returns the Input network analysis layer parameter of this tool . This parameter is network analysis layer for which the attribute parameter value will be updated. This is a required parameter.

Returns:
the Input network analysis layer

setInNetworkAnalysisLayer

public void setInNetworkAnalysisLayer(java.lang.Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . This parameter is network analysis layer for which the attribute parameter value will be updated. This is a required parameter.

Parameters:
inNetworkAnalysisLayer - network analysis layer for which the attribute parameter value will be updated.

getParameterizedAttribute

public java.lang.String getParameterizedAttribute()
Returns the Attribute parameter of this tool . This parameter is the network attribute whose attribute parameter will be updated. This is a required parameter.

Returns:
the Attribute

setParameterizedAttribute

public void setParameterizedAttribute(java.lang.String parameterizedAttribute)
Sets the Attribute parameter of this tool . This parameter is the network attribute whose attribute parameter will be updated. This is a required parameter.

Parameters:
parameterizedAttribute - the network attribute whose attribute parameter will be updated.

getAttributeParameterName

public java.lang.String getAttributeParameterName()
Returns the Parameter parameter of this tool . This parameter is the parameter of the network attribute that will be updated. The parameters of type Object cannot be updated using the tool. This is a required parameter.

Returns:
the Parameter

setAttributeParameterName

public void setAttributeParameterName(java.lang.String attributeParameterName)
Sets the Parameter parameter of this tool . This parameter is the parameter of the network attribute that will be updated. The parameters of type Object cannot be updated using the tool. This is a required parameter.

Parameters:
attributeParameterName - the parameter of the network attribute that will be updated. The parameters of type Object cannot be updated using the tool.

getAttributeParameterValue

public java.lang.String getAttributeParameterValue()
Returns the Value parameter of this tool . This parameter is the value that will be set for the attribute parameter. It can be a string, number, date, or Boolean (True, False). If the value is not specified, then the attribute parameter value is set to Null. if the parameter value holds an array, separate the items in the array with whatever the localized separator character is currently set to. For example, in the U.S., you would most likely use the comma character to separate the items. So representing an array of three numbers might look like "5,10,15". This is an optional parameter.

Returns:
the Value

setAttributeParameterValue

public void setAttributeParameterValue(java.lang.String attributeParameterValue)
Sets the Value parameter of this tool . This parameter is the value that will be set for the attribute parameter. It can be a string, number, date, or Boolean (True, False). If the value is not specified, then the attribute parameter value is set to Null. if the parameter value holds an array, separate the items in the array with whatever the localized separator character is currently set to. For example, in the U.S., you would most likely use the comma character to separate the items. So representing an array of three numbers might look like "5,10,15". This is an optional parameter.

Parameters:
attributeParameterValue - the value that will be set for the attribute parameter. It can be a string, number, date, or Boolean (True, False). If the value is not specified, then the attribute parameter value is set to Null. if the parameter value holds an array, separate the items in the array with whatever the localized separator character is currently set to. For example, in the U.S., you would most likely use the comma character to separate the items. So representing an array of three numbers might look like "5,10,15".

getOutputLayer

public java.lang.Object getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). This is an derived parameter.

Returns:
the Network Analyst Layer

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias