|
|||||||||
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.AssignDefaultToField
public class AssignDefaultToField
This tool will create a default value for a specified field. Whenever a new row is added to the table or feature class, the specified field will be set to this default value. The Assign Default To 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 | |
---|---|
AssignDefaultToField()
Creates the Assign Default To Field tool with defaults. |
|
AssignDefaultToField(Object inTable,
Object fieldName,
String defaultValue)
Creates the Assign Default To Field tool with the required parameters. |
Method Summary | |
---|---|
String |
getDefaultValue()
Returns the Default Value parameter of this tool . |
Object |
getFieldName()
Returns the Field Name parameter of this tool . |
Object |
getInTable()
Returns the Input Table parameter of this tool . |
Object |
getOutTable()
Returns the Output Table parameter of this tool (Read only). |
Object |
getSubtypeCode()
Returns the Subtype 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 |
setDefaultValue(String defaultValue)
Sets the Default Value parameter of this tool . |
void |
setFieldName(Object fieldName)
Sets the Field Name parameter of this tool . |
void |
setInTable(Object inTable)
Sets the Input Table parameter of this tool . |
void |
setSubtypeCode(Object subtypeCode)
Sets the Subtype 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 AssignDefaultToField()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AssignDefaultToField(Object inTable, Object fieldName, String defaultValue)
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
- input table or feature class that will have a default value added to one of its fields.fieldName
- field that will have the default value added to it each time a new row is added to the table or feature class.defaultValue
- the string for the default value to be added to each new table or feature class. The field type controls what kind of string can be added.Method Detail |
---|
public Object getInTable()
public void setInTable(Object inTable)
inTable
- input table or feature class that will have a default value added to one of its fields.public Object getFieldName()
public void setFieldName(Object fieldName)
fieldName
- field that will have the default value added to it each time a new row is added to the table or feature class.public String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue
- the string for the default value to be added to each new table or feature class. The field type controls what kind of string can be added.public Object getSubtypeCode()
public void setSubtypeCode(Object subtypeCode)
subtypeCode
- the subtypes that can participate in the default value. You specify the subtypes to be used.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 |