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 2 separate date and time fields into a new field which is added to the same feature dataset. Tracking Analyst requires that the Date and Time values be in one field. The Concatenate Date And Time Fields tool is contained in the Tracking Analyst Tools tool box.

Software restrictions: none

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 Select Date Field parameter of this tool .
 Object getFeatureClass()
          Returns the Input Feature Class parameter of this tool .
 Object getOutputFeatureClass()
          Returns the Output Feature Class parameter of this tool (Read only).
 String getOutputField()
          Returns the Output Date/Time Field parameter of this tool .
 Object getTimeField()
          Returns the Select 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 Select Date Field parameter of this tool .
 void setFeatureClass(Object featureClass)
          Sets the Input Feature Class parameter of this tool .
 void setOutputField(String outputField)
          Sets the Output Date/Time Field parameter of this tool .
 void setTimeField(Object timeField)
          Sets the Select 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 - null
dateField - String, select the text field that contains date values.
timeField - String, select the text field that contains time values.
outputField - String, enter the name of the new date and time field.
Method Detail

getFeatureClass

public Object getFeatureClass()
Returns the Input Feature Class parameter of this tool . This is a required parameter.

Returns:
the Input Feature Class

setFeatureClass

public void setFeatureClass(Object featureClass)
Sets the Input Feature Class parameter of this tool . This is a required parameter.

Parameters:
featureClass - null

getDateField

public Object getDateField()
Returns the Select Date Field parameter of this tool . This parameter is String, select the text field that contains date values. This is a required parameter.

Returns:
the Select Date Field

setDateField

public void setDateField(Object dateField)
Sets the Select Date Field parameter of this tool . This parameter is String, select the text field that contains date values. This is a required parameter.

Parameters:
dateField - String, select the text field that contains date values.

getTimeField

public Object getTimeField()
Returns the Select Time Field parameter of this tool . This parameter is String, select the text field that contains time values. This is a required parameter.

Returns:
the Select Time Field

setTimeField

public void setTimeField(Object timeField)
Sets the Select Time Field parameter of this tool . This parameter is String, select the text field that contains time values. This is a required parameter.

Parameters:
timeField - String, select the text field that contains time values.

getOutputField

public String getOutputField()
Returns the Output Date/Time Field parameter of this tool . This parameter is String, enter the name of the new date and time field. This is a required parameter.

Returns:
the Output Date/Time Field

setOutputField

public void setOutputField(String outputField)
Sets the Output Date/Time Field parameter of this tool . This parameter is String, enter the name of the new date and time field. This is a required parameter.

Parameters:
outputField - String, enter the name of the new date and time field.

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