com.esri.arcgis.geoprocessing.tools.schematicstools
Class ConvertDiagram

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

public class ConvertDiagram
extends AbstractGPTool

This tool converts a schematic diagram to feature classes or shapefiles. The Convert Diagram To Features tool is contained in the Schematics Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
ConvertDiagram()
          Creates the Convert Diagram To Features tool with defaults.
ConvertDiagram(java.lang.Object inDiagram, java.lang.Object outLocation)
          Creates the Convert Diagram To Features tool with the required parameters.
 
Method Summary
 java.lang.String getConfigKeyword()
          Returns the Configuration Keyword parameter of this tool .
 java.lang.String getContainerGeometry()
          Returns the Container Geometry parameter of this tool .
 java.lang.String getExportRelatedAttributes()
          Returns the Export All related Features Attributes parameter of this tool .
 java.lang.Object getInDiagram()
          Returns the Input Schematic Diagram parameter of this tool .
 java.lang.Object getOutDataset()
          Returns the Input Schematic Diagram parameter of this tool (Read only).
 java.lang.Object getOutLocation()
          Returns the Output Location parameter of this tool .
 java.lang.String getReuseFc()
          Returns the Reuse Existing Structure parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setConfigKeyword(java.lang.String configKeyword)
          Sets the Configuration Keyword parameter of this tool .
 void setContainerGeometry(java.lang.String containerGeometry)
          Sets the Container Geometry parameter of this tool .
 void setExportRelatedAttributes(java.lang.String exportRelatedAttributes)
          Sets the Export All related Features Attributes parameter of this tool .
 void setInDiagram(java.lang.Object inDiagram)
          Sets the Input Schematic Diagram parameter of this tool .
 void setOutLocation(java.lang.Object outLocation)
          Sets the Output Location parameter of this tool .
 void setReuseFc(java.lang.String reuseFc)
          Sets the Reuse Existing Structure 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

ConvertDiagram

public ConvertDiagram()
Creates the Convert Diagram To Features tool with defaults.

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


ConvertDiagram

public ConvertDiagram(java.lang.Object inDiagram,
                      java.lang.Object outLocation)
Creates the Convert Diagram To Features 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:
inDiagram - the schematic diagram to be converted.
outLocation - workspace, feature dataset, or folder in which the schematic diagram will be converted. This container must already exist.
Method Detail

getInDiagram

public java.lang.Object getInDiagram()
Returns the Input Schematic Diagram parameter of this tool . This parameter is the schematic diagram to be converted. This is a required parameter.

Returns:
the Input Schematic Diagram

setInDiagram

public void setInDiagram(java.lang.Object inDiagram)
Sets the Input Schematic Diagram parameter of this tool . This parameter is the schematic diagram to be converted. This is a required parameter.

Parameters:
inDiagram - the schematic diagram to be converted.

getOutLocation

public java.lang.Object getOutLocation()
Returns the Output Location parameter of this tool . This parameter is workspace, feature dataset, or folder in which the schematic diagram will be converted. This container must already exist. This is a required parameter.

Returns:
the Output Location

setOutLocation

public void setOutLocation(java.lang.Object outLocation)
Sets the Output Location parameter of this tool . This parameter is workspace, feature dataset, or folder in which the schematic diagram will be converted. This container must already exist. This is a required parameter.

Parameters:
outLocation - workspace, feature dataset, or folder in which the schematic diagram will be converted. This container must already exist.

getReuseFc

public java.lang.String getReuseFc()
Returns the Reuse Existing Structure parameter of this tool . This parameter is indicates whether the input schematic diagram will be exported in the same feature classes/shapefiles as the other diagrams based on the same diagram template. This is an optional parameter.

Returns:
the Reuse Existing Structure

setReuseFc

public void setReuseFc(java.lang.String reuseFc)
Sets the Reuse Existing Structure parameter of this tool . This parameter is indicates whether the input schematic diagram will be exported in the same feature classes/shapefiles as the other diagrams based on the same diagram template. This is an optional parameter.

Parameters:
reuseFc - indicates whether the input schematic diagram will be exported in the same feature classes/shapefiles as the other diagrams based on the same diagram template.

getExportRelatedAttributes

public java.lang.String getExportRelatedAttributes()
Returns the Export All related Features Attributes parameter of this tool . This parameter is indicates whether all the attributes stored in the feature classes/object tables associated with the schematic feature classes contained in the export diagram will be also exported. if no associated feature class/table is specified for a schematic feature class, no feature attributes can be exported. when using the Reuse Existing Structure option and the structure already exists without the associated feature fields, enabling this option will have no effect. This is an optional parameter.

Returns:
the Export All related Features Attributes

setExportRelatedAttributes

public void setExportRelatedAttributes(java.lang.String exportRelatedAttributes)
Sets the Export All related Features Attributes parameter of this tool . This parameter is indicates whether all the attributes stored in the feature classes/object tables associated with the schematic feature classes contained in the export diagram will be also exported. if no associated feature class/table is specified for a schematic feature class, no feature attributes can be exported. when using the Reuse Existing Structure option and the structure already exists without the associated feature fields, enabling this option will have no effect. This is an optional parameter.

Parameters:
exportRelatedAttributes - indicates whether all the attributes stored in the feature classes/object tables associated with the schematic feature classes contained in the export diagram will be also exported. if no associated feature class/table is specified for a schematic feature class, no feature attributes can be exported. when using the Reuse Existing Structure option and the structure already exists without the associated feature fields, enabling this option will have no effect.

getContainerGeometry

public java.lang.String getContainerGeometry()
Returns the Container Geometry parameter of this tool . This parameter is indicates the geometry type of the features that will be created for the exported schematic containers contained in the input diagram. when using the Reuse Existing Structure option and the structure already exists with POLYGON (POLYLINE or POINT) feature classes created for container schematic features, there is no way to change the feature class type to POLYLINE or POINT (POLYGON) for the next conversions. This is an optional parameter.

Returns:
the Container Geometry

setContainerGeometry

public void setContainerGeometry(java.lang.String containerGeometry)
Sets the Container Geometry parameter of this tool . This parameter is indicates the geometry type of the features that will be created for the exported schematic containers contained in the input diagram. when using the Reuse Existing Structure option and the structure already exists with POLYGON (POLYLINE or POINT) feature classes created for container schematic features, there is no way to change the feature class type to POLYLINE or POINT (POLYGON) for the next conversions. This is an optional parameter.

Parameters:
containerGeometry - indicates the geometry type of the features that will be created for the exported schematic containers contained in the input diagram. when using the Reuse Existing Structure option and the structure already exists with POLYGON (POLYLINE or POINT) feature classes created for container schematic features, there is no way to change the feature class type to POLYLINE or POINT (POLYGON) for the next conversions.

getConfigKeyword

public java.lang.String getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . This parameter is the configuration keyword that determines the storage parameters of the table in a relational database management system (RDBMS)This is for ArcSDE only. This is an optional parameter.

Returns:
the Configuration Keyword

setConfigKeyword

public void setConfigKeyword(java.lang.String configKeyword)
Sets the Configuration Keyword parameter of this tool . This parameter is the configuration keyword that determines the storage parameters of the table in a relational database management system (RDBMS)This is for ArcSDE only. This is an optional parameter.

Parameters:
configKeyword - the configuration keyword that determines the storage parameters of the table in a relational database management system (RDBMS)This is for ArcSDE only.

getOutDataset

public java.lang.Object getOutDataset()
Returns the Input Schematic Diagram parameter of this tool (Read only). This is an derived parameter.

Returns:
the Input Schematic Diagram

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias