|
|||||||||
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.datamanagementtools.CalculateField
public class CalculateField
Calculates the values of a field for a feature class, feature layer, or raster catalog. The Calculate Field tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CalculateField()
Creates the Calculate Field tool with defaults. |
|
CalculateField(Object inTable,
Object field,
Object expression)
Creates the Calculate Field tool with the required parameters. |
Method Summary | |
---|---|
String |
getCodeBlock()
Returns the Code Block parameter of this tool . |
Object |
getExpression()
Returns the Expression parameter of this tool . |
String |
getExpressionType()
Returns the Expression Type parameter of this tool . |
Object |
getField()
Returns the Field Name parameter of this tool . |
Object |
getInTable()
Returns the Input Table parameter of this tool . |
Object |
getOutTable()
Returns the Output 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 |
setCodeBlock(String codeBlock)
Sets the Code Block parameter of this tool . |
void |
setExpression(Object expression)
Sets the Expression parameter of this tool . |
void |
setExpressionType(String expressionType)
Sets the Expression Type parameter of this tool . |
void |
setField(Object field)
Sets the Field Name parameter of this tool . |
void |
setInTable(Object inTable)
Sets the Input Table 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 CalculateField()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CalculateField(Object inTable, Object field, Object expression)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inTable
- the table containing the field that will be updated with the new calculation.field
- the field that will be updated with the new calculation.expression
- the simple calculation expression used to create a value that will populate the selected rows.Method Detail |
---|
public Object getInTable()
public void setInTable(Object inTable)
inTable
- the table containing the field that will be updated with the new calculation.public Object getField()
public void setField(Object field)
field
- the field that will be updated with the new calculation.public Object getExpression()
public void setExpression(Object expression)
expression
- the simple calculation expression used to create a value that will populate the selected rows.public String getExpressionType()
public void setExpressionType(String expressionType)
expressionType
- specify the type of expression that will be used.public String getCodeBlock()
public void setCodeBlock(String codeBlock)
codeBlock
- allows for a block of code to be entered for complex expressions.public Object getOutTable()
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 |