|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.CreateRelationshipClass
public class CreateRelationshipClass
This tool creates a relationship class to store an association between fields or features in the origin table and the destination table. The Create Relationship Class tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateRelationshipClass()
Creates the Create Relationship Class tool with defaults. |
|
CreateRelationshipClass(Object originTable,
Object destinationTable,
Object outRelationshipClass,
String relationshipType,
String forwardLabel,
String backwardLabel,
String messageDirection,
String cardinality,
String attributed,
String originPrimaryKey,
String originForeignKey)
Creates the Create Relationship Class tool with the required parameters. |
Method Summary | |
---|---|
String |
getAttributed()
Returns the Relationship class is attributed parameter of this tool . |
String |
getBackwardLabel()
Returns the Backward Path label parameter of this tool . |
String |
getCardinality()
Returns the Cardinality parameter of this tool . |
String |
getDestinationForeignKey()
Returns the Destination Foreign Key parameter of this tool . |
String |
getDestinationPrimaryKey()
Returns the Destination Primary Key parameter of this tool . |
Object |
getDestinationTable()
Returns the Destination Table parameter of this tool . |
String |
getForwardLabel()
Returns the Forward Path Label parameter of this tool . |
String |
getMessageDirection()
Returns the Message Direction parameter of this tool . |
String |
getOriginForeignKey()
Returns the Origin Foreign Key parameter of this tool . |
String |
getOriginPrimaryKey()
Returns the Origin Primary Key parameter of this tool . |
Object |
getOriginTable()
Returns the Origin Table parameter of this tool . |
Object |
getOutRelationshipClass()
Returns the Output Relationship Class parameter of this tool . |
String |
getRelationshipType()
Returns the Relationship Type 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 |
setAttributed(String attributed)
Sets the Relationship class is attributed parameter of this tool . |
void |
setBackwardLabel(String backwardLabel)
Sets the Backward Path label parameter of this tool . |
void |
setCardinality(String cardinality)
Sets the Cardinality parameter of this tool . |
void |
setDestinationForeignKey(String destinationForeignKey)
Sets the Destination Foreign Key parameter of this tool . |
void |
setDestinationPrimaryKey(String destinationPrimaryKey)
Sets the Destination Primary Key parameter of this tool . |
void |
setDestinationTable(Object destinationTable)
Sets the Destination Table parameter of this tool . |
void |
setForwardLabel(String forwardLabel)
Sets the Forward Path Label parameter of this tool . |
void |
setMessageDirection(String messageDirection)
Sets the Message Direction parameter of this tool . |
void |
setOriginForeignKey(String originForeignKey)
Sets the Origin Foreign Key parameter of this tool . |
void |
setOriginPrimaryKey(String originPrimaryKey)
Sets the Origin Primary Key parameter of this tool . |
void |
setOriginTable(Object originTable)
Sets the Origin Table parameter of this tool . |
void |
setOutRelationshipClass(Object outRelationshipClass)
Sets the Output Relationship Class parameter of this tool . |
void |
setRelationshipType(String relationshipType)
Sets the Relationship Type 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 CreateRelationshipClass()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateRelationshipClass(Object originTable, Object destinationTable, Object outRelationshipClass, String relationshipType, String forwardLabel, String backwardLabel, String messageDirection, String cardinality, String attributed, String originPrimaryKey, String originForeignKey)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
originTable
- the table or feature class that is associated to the destination table.destinationTable
- the table that is associated to the origin table.outRelationshipClass
- the relationship class that is created.relationshipType
- the type of relationship to create between the origin and destination tables.forwardLabel
- a name to uniquely identify the relationship when navigating from the origin table to the destination table.backwardLabel
- a name to uniquely identify the relationship when navigating from the destination table to the origin table.messageDirection
- the direction in which messages are passed between the origin and destination tables. For example, in a relationship between poles and transformers, when the pole is deleted, it sends a message to its related transformer objects informing them it was deleted.cardinality
- determines how many relationships exist between rows or features in the origin and rows or features in the destination table.attributed
- specifies if the relationship will have attributes.originPrimaryKey
- the field in the origin table, typically the OID field, that links it to the Origin Foreign Key field in the relationship class table.originForeignKey
- the field in the relationship class table that links it to the Origin Primary Key field in the origin table.Method Detail |
---|
public Object getOriginTable()
public void setOriginTable(Object originTable)
originTable
- the table or feature class that is associated to the destination table.public Object getDestinationTable()
public void setDestinationTable(Object destinationTable)
destinationTable
- the table that is associated to the origin table.public Object getOutRelationshipClass()
public void setOutRelationshipClass(Object outRelationshipClass)
outRelationshipClass
- the relationship class that is created.public String getRelationshipType()
public void setRelationshipType(String relationshipType)
relationshipType
- the type of relationship to create between the origin and destination tables.public String getForwardLabel()
public void setForwardLabel(String forwardLabel)
forwardLabel
- a name to uniquely identify the relationship when navigating from the origin table to the destination table.public String getBackwardLabel()
public void setBackwardLabel(String backwardLabel)
backwardLabel
- a name to uniquely identify the relationship when navigating from the destination table to the origin table.public String getMessageDirection()
public void setMessageDirection(String messageDirection)
messageDirection
- the direction in which messages are passed between the origin and destination tables. For example, in a relationship between poles and transformers, when the pole is deleted, it sends a message to its related transformer objects informing them it was deleted.public String getCardinality()
public void setCardinality(String cardinality)
cardinality
- determines how many relationships exist between rows or features in the origin and rows or features in the destination table.public String getAttributed()
public void setAttributed(String attributed)
attributed
- specifies if the relationship will have attributes.public String getOriginPrimaryKey()
public void setOriginPrimaryKey(String originPrimaryKey)
originPrimaryKey
- the field in the origin table, typically the OID field, that links it to the Origin Foreign Key field in the relationship class table.public String getOriginForeignKey()
public void setOriginForeignKey(String originForeignKey)
originForeignKey
- the field in the relationship class table that links it to the Origin Primary Key field in the origin table.public String getDestinationPrimaryKey()
public void setDestinationPrimaryKey(String destinationPrimaryKey)
destinationPrimaryKey
- the field in the destination table, typically the OID field, that links it to the Destination Foreign Key field in the relationship class table.public String getDestinationForeignKey()
public void setDestinationForeignKey(String destinationForeignKey)
destinationForeignKey
- the field in the relationship class table that links it to the Destination Primary Key field in the destination table.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |