com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class SaveToLayerFile

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

public class SaveToLayerFile
extends AbstractGPTool

The Save To Layer File tool creates an output The Save To Layer File tool is contained in the Data Management Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
SaveToLayerFile()
          Creates the Save To Layer File tool with defaults.
SaveToLayerFile(Object inLayer, Object outLayer)
          Creates the Save To Layer File tool with the required parameters.
 
Method Summary
 Object getInLayer()
          Returns the Input Layer parameter of this tool .
 Object getOutLayer()
          Returns the Output 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 setInLayer(Object inLayer)
          Sets the Input Layer parameter of this tool .
 void setOutLayer(Object outLayer)
          Sets the Output 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

SaveToLayerFile

public SaveToLayerFile()
Creates the Save To Layer File tool with defaults.

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


SaveToLayerFile

public SaveToLayerFile(Object inLayer,
                       Object outLayer)
Creates the Save To Layer File 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:
inLayer - Layer, the in-memory layer created by the Make Feature Layer tool or a layer file stored on disk.
outLayer - Layer File, the output layer file to be created.
Method Detail

getInLayer

public Object getInLayer()
Returns the Input Layer parameter of this tool . This parameter is Layer, the in-memory layer created by the Make Feature Layer tool or a layer file stored on disk. This is a required parameter.

Returns:
the Input Layer

setInLayer

public void setInLayer(Object inLayer)
Sets the Input Layer parameter of this tool . This parameter is Layer, the in-memory layer created by the Make Feature Layer tool or a layer file stored on disk. This is a required parameter.

Parameters:
inLayer - Layer, the in-memory layer created by the Make Feature Layer tool or a layer file stored on disk.

getOutLayer

public Object getOutLayer()
Returns the Output Layer parameter of this tool . This parameter is Layer File, the output layer file to be created. This is a required parameter.

Returns:
the Output Layer

setOutLayer

public void setOutLayer(Object outLayer)
Sets the Output Layer parameter of this tool . This parameter is Layer File, the output layer file to be created. This is a required parameter.

Parameters:
outLayer - Layer File, the output layer file to be created.

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