com.esri.arcgis.geoprocessing.tools.trackinganalysttools
Class ConcatenateDateAndTimeFields

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

public class ConcatenateDateAndTimeFields
extends AbstractGPTool

Concatenates two separate date and time fields in a feature class or layer into a single field containing both the date and time. The Concatenate Date And Time Fields tool is contained in the Tracking Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ConcatenateDateAndTimeFields()
          Creates the Concatenate Date And Time Fields tool with defaults.
ConcatenateDateAndTimeFields(Object featureClass, Object dateField, Object timeField, String outputField)
          Creates the Concatenate Date And Time Fields tool with the required parameters.
 
Method Summary
 Object getDateField()
          Returns the Date Field parameter of this tool .
 Object getFeatureClass()
          Returns the Input Features parameter of this tool .
 Object getOutputFeatureClass()
          Returns the Output Feature Class parameter of this tool (Read only).
 String getOutputField()
          Returns the parameter of this tool .
 Object getTimeField()
          Returns the Time Field 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 setDateField(Object dateField)
          Sets the Date Field parameter of this tool .
 void setFeatureClass(Object featureClass)
          Sets the Input Features parameter of this tool .
 void setOutputField(String outputField)
          Sets the parameter of this tool .
 void setTimeField(Object timeField)
          Sets the Time Field 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

ConcatenateDateAndTimeFields

public ConcatenateDateAndTimeFields()
Creates the Concatenate Date And Time Fields tool with defaults.

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


ConcatenateDateAndTimeFields

public ConcatenateDateAndTimeFields(Object featureClass,
                                    Object dateField,
                                    Object timeField,
                                    String outputField)
Creates the Concatenate Date And Time Fields 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:
featureClass - the input feature class or layer.
dateField - the text field in the input feature layer that contains date values.
timeField - the text field in the input feature layer that contains time values.
outputField - the name of the new concatenated date/time field to be created and added to the input feature layer.
Method Detail

getFeatureClass

public Object getFeatureClass()
Returns the Input Features parameter of this tool . This parameter is the input feature class or layer. This is a required parameter.

Returns:
the Input Features

setFeatureClass

public void setFeatureClass(Object featureClass)
Sets the Input Features parameter of this tool . This parameter is the input feature class or layer. This is a required parameter.

Parameters:
featureClass - the input feature class or layer.

getDateField

public Object getDateField()
Returns the Date Field parameter of this tool . This parameter is the text field in the input feature layer that contains date values. This is a required parameter.

Returns:
the Date Field

setDateField

public void setDateField(Object dateField)
Sets the Date Field parameter of this tool . This parameter is the text field in the input feature layer that contains date values. This is a required parameter.

Parameters:
dateField - the text field in the input feature layer that contains date values.

getTimeField

public Object getTimeField()
Returns the Time Field parameter of this tool . This parameter is the text field in the input feature layer that contains time values. This is a required parameter.

Returns:
the Time Field

setTimeField

public void setTimeField(Object timeField)
Sets the Time Field parameter of this tool . This parameter is the text field in the input feature layer that contains time values. This is a required parameter.

Parameters:
timeField - the text field in the input feature layer that contains time values.

getOutputField

public String getOutputField()
Returns the parameter of this tool . This parameter is the name of the new concatenated date/time field to be created and added to the input feature layer. This is a required parameter.

Returns:
the

setOutputField

public void setOutputField(String outputField)
Sets the parameter of this tool . This parameter is the name of the new concatenated date/time field to be created and added to the input feature layer. This is a required parameter.

Parameters:
outputField - the name of the new concatenated date/time field to be created and added to the input feature layer.

getOutputFeatureClass

public Object getOutputFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Feature Class

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias