|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.networkanalysttools.UpdateAnalysisLayerAttributeParameter
public class UpdateAnalysisLayerAttributeParameter
Network attributes can have parameters that can be used by its evaluators. Parameters can be used to model some dynamic aspect of an attribute's value. For example, a tunnel with a height restriction of 12 feet can be modeled using a parameter. This restriction will then evaluate to true or restricted if the vehicle is higher than 12 feet. Similarly, a bridge could have a parameter to specify a weight restriction. This tool sets or updates the network attribute parameter value for a network analysis layer. It can be used to update the value of an attribute parameter for a network analysis layer before solving it such 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.
Software restrictions: none
| 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(Object inNetworkAnalysisLayer,
String parameterizedAttribute,
String attributeParameterName)
Creates the Update Analysis Layer Attribute Parameter tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getAttributeParameterName()
Returns the Parameter parameter of this tool . |
String |
getAttributeParameterValue()
Returns the Value parameter of this tool . |
Object |
getInNetworkAnalysisLayer()
Returns the Input network analysis layer parameter of this tool . |
Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
String |
getParameterizedAttribute()
Returns the Attribute parameter of this tool . |
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 |
setAttributeParameterName(String attributeParameterName)
Sets the Parameter parameter of this tool . |
void |
setAttributeParameterValue(String attributeParameterValue)
Sets the Value parameter of this tool . |
void |
setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . |
void |
setParameterizedAttribute(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 |
|---|
public UpdateAnalysisLayerAttributeParameter()
Initializes the array of tool parameters with the default values specified when the tool was created.
public UpdateAnalysisLayerAttributeParameter(Object inNetworkAnalysisLayer,
String parameterizedAttribute,
String attributeParameterName)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer for which the parameter value will be updated.parameterizedAttribute - String, the network attribute whose attribute parameter will be updated.attributeParameterName - String, the parameter of the attribute that will be updated. Using the attribute parameter allows to model some dynamic aspect of an attribute's value.| Method Detail |
|---|
public Object getInNetworkAnalysisLayer()
public void setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer for which the parameter value will be updated.public String getParameterizedAttribute()
public void setParameterizedAttribute(String parameterizedAttribute)
parameterizedAttribute - String, the network attribute whose attribute parameter will be updated.public String getAttributeParameterName()
public void setAttributeParameterName(String attributeParameterName)
attributeParameterName - String, the parameter of the attribute that will be updated. Using the attribute parameter allows to model some dynamic aspect of an attribute's value.public String getAttributeParameterValue()
public void setAttributeParameterValue(String attributeParameterValue)
attributeParameterValue - Short, Integer, Float, Double, Date, Boolean, String, the value that will be set for the parameter of the attribute.public Object getOutputLayer()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||