|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.networkanalysttools.AddFieldToAnalysisLayer
public class AddFieldToAnalysisLayer
Adds a field to a sublayer of a network analysis layer. The Add Field to Analysis Layer tool is contained in the Network Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
AddFieldToAnalysisLayer()
Creates the Add Field to Analysis Layer tool with defaults. |
|
AddFieldToAnalysisLayer(Object inNetworkAnalysisLayer,
String subLayer,
String fieldName,
String fieldType)
Creates the Add Field to Analysis Layer tool with the required parameters. |
Method Summary | |
---|---|
String |
getFieldAlias()
Returns the Field alias parameter of this tool . |
String |
getFieldIsNullable()
Returns the Field IsNullable parameter of this tool . |
int |
getFieldLength()
Returns the Field length parameter of this tool . |
String |
getFieldName()
Returns the Field name parameter of this tool . |
int |
getFieldPrecision()
Returns the Field precision parameter of this tool . |
int |
getFieldScale()
Returns the Field scale parameter of this tool . |
String |
getFieldType()
Returns the Field type 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 |
getSubLayer()
Returns the Sub layer 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 |
setFieldAlias(String fieldAlias)
Sets the Field alias parameter of this tool . |
void |
setFieldIsNullable(String fieldIsNullable)
Sets the Field IsNullable parameter of this tool . |
void |
setFieldLength(int fieldLength)
Sets the Field length parameter of this tool . |
void |
setFieldName(String fieldName)
Sets the Field name parameter of this tool . |
void |
setFieldPrecision(int fieldPrecision)
Sets the Field precision parameter of this tool . |
void |
setFieldScale(int fieldScale)
Sets the Field scale parameter of this tool . |
void |
setFieldType(String fieldType)
Sets the Field type parameter of this tool . |
void |
setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . |
void |
setSubLayer(String subLayer)
Sets the Sub layer 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 AddFieldToAnalysisLayer()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AddFieldToAnalysisLayer(Object inNetworkAnalysisLayer, String subLayer, String fieldName, String fieldType)
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 analysis layer to which the new field will be added.subLayer
- the sublayer of the network analysis layer to which the new field will be added.fieldName
- the name of the field that will be added to the specified sublayer of the network analysis layer.fieldType
- the field type used in the creation of the new field.Method Detail |
---|
public Object getInNetworkAnalysisLayer()
public void setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
inNetworkAnalysisLayer
- network analysis layer to which the new field will be added.public String getSubLayer()
public void setSubLayer(String subLayer)
subLayer
- the sublayer of the network analysis layer to which the new field will be added.public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the name of the field that will be added to the specified sublayer of the network analysis layer.public String getFieldType()
public void setFieldType(String fieldType)
fieldType
- the field type used in the creation of the new field.public int getFieldPrecision()
public void setFieldPrecision(int fieldPrecision)
fieldPrecision
- describes the number of digits that can be stored in the field. All digits are counted no matter what side of the decimal they are on. the parameter value is valid only for numeric field types.public int getFieldScale()
public void setFieldScale(int fieldScale)
fieldScale
- sets the number of decimal places stored in a field. This parameter is only used in Float and Double data field types.public int getFieldLength()
public void setFieldLength(int fieldLength)
fieldLength
- the length of the field being added. This sets the maximum number of allowable characters for each record of the field. This option is only applicable on fields of type text or blob.public String getFieldAlias()
public void setFieldAlias(String fieldAlias)
fieldAlias
- the alternate name given to the field name. This name is used to give more descriptive names to cryptic field names. The field alias parameter only applies to geodatabases and coverages.public String getFieldIsNullable()
public void setFieldIsNullable(String fieldIsNullable)
fieldIsNullable
- a geographic feature where there is no associated attribute information. These are different from zero or empty fields and are only supported for fields in a geodatabase.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 |