|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.datamanagementtools.AddRuleToTopology
Adds a new rule to a topology.
There are many topology rules that you can add to your topology. The rules you choose depend on the spatial relationships that are most important to maintain for the feature classes that participate in the topology.
Some topology rules govern the relationships of features within a given feature class, while others govern the relationships between features in two different feature classes. Topology rules can also be defined between subtypes of features in one or another feature class.
Topology rules are organized based on the geometry type of the origin feature class (polygon, line, or point). The origin feature class is the first feature class specified when adding the rule.
The Add Rule To Topology tool is contained in the Data Management Tools tool box.
Learn more about Topology Rules by Origin Feature Class
Software restrictions: ArcInfo and ArcEditor only
| Field Summary |
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
vals |
| Constructor Summary | |
AddRuleToTopology()
Creates the Add Rule To Topology tool with defaults. |
|
AddRuleToTopology(java.lang.Object inTopology,
java.lang.String ruleType,
java.lang.Object inFeatureclass)
Creates the Add Rule To Topology tool with the required parameters. |
|
| Method Summary | |
java.lang.Object |
getInFeatureclass()
Returns the Input Feature class parameter of this tool . |
java.lang.Object |
getInFeatureclass2()
Returns the Input Feature class parameter of this tool . |
java.lang.Object |
getInTopology()
Returns the Input Topology parameter of this tool . |
java.lang.Object |
getOutTopology()
Returns the Output Topology parameter of this tool (Read only). |
java.lang.String |
getRuleType()
Returns the Rule Type parameter of this tool . |
java.lang.String |
getSubtype()
Returns the Input Subtype parameter of this tool . |
java.lang.String |
getSubtype2()
Returns the Input Subtype 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 |
setInFeatureclass(java.lang.Object inFeatureclass)
Sets the Input Feature class parameter of this tool . |
void |
setInFeatureclass2(java.lang.Object inFeatureclass2)
Sets the Input Feature class parameter of this tool . |
void |
setInTopology(java.lang.Object inTopology)
Sets the Input Topology parameter of this tool . |
void |
setRuleType(java.lang.String ruleType)
Sets the Rule Type parameter of this tool . |
void |
setSubtype(java.lang.String subtype)
Sets the Input Subtype parameter of this tool . |
void |
setSubtype2(java.lang.String subtype2)
Sets the Input 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 AddRuleToTopology()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AddRuleToTopology(java.lang.Object inTopology,
java.lang.String ruleType,
java.lang.Object inFeatureclass)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inTopology - Topology, the topology to which the new rule will be added.ruleType - String, the topology rule that will be applied to the input feature class(es).inFeatureclass - Feature Class, the input or origin feature class for the topology rule.| Method Detail |
public java.lang.Object getInTopology()
public void setInTopology(java.lang.Object inTopology)
inTopology - Topology, the topology to which the new rule will be added.public java.lang.String getRuleType()
public void setRuleType(java.lang.String ruleType)
ruleType - String, the topology rule that will be applied to the input feature class(es).public java.lang.Object getInFeatureclass()
public void setInFeatureclass(java.lang.Object inFeatureclass)
inFeatureclass - Feature Class, the input or origin feature class for the topology rule.public java.lang.String getSubtype()
public void setSubtype(java.lang.String subtype)
subtype - String, the subtype value for the input feature class. If subtypes do not exist on the origin feature class, or you want the rule to be applied to all subtypes, either do not set this parameter, or use a value of -1.public java.lang.Object getInFeatureclass2()
public void setInFeatureclass2(java.lang.Object inFeatureclass2)
inFeatureclass2 - Feature Class, the second input or destination feature class for the topology rule.public java.lang.String getSubtype2()
public void setSubtype2(java.lang.String subtype2)
subtype2 - String, the subtype value for the second input or destination feature class. If subtypes do not exist on the origin feature class, or you want the rule to be applied to all subtypes, either do not set this parameter, or use a value of -1.public java.lang.Object getOutTopology()
public java.lang.String getToolName()
public java.lang.String getToolboxName()
public java.lang.String getToolboxAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||