|
|||||||||
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.TableToRelationshipClass
public class TableToRelationshipClass
Creates an attributed relationship class from the origin, destination, and relationship tables. The Table To 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 | |
---|---|
TableToRelationshipClass()
Creates the Table To Relationship Class tool with defaults. |
|
TableToRelationshipClass(Object originTable,
Object destinationTable,
Object outRelationshipClass,
String relationshipType,
String forwardLabel,
String backwardLabel,
String messageDirection,
String cardinality,
Object relationshipTable,
Object attributeFields,
String originPrimaryKey,
String originForeignKey,
String destinationPrimaryKey,
String destinationForeignKey)
Creates the Table To Relationship Class tool with the required parameters. |
Method Summary | |
---|---|
Object |
getAttributeFields()
Returns the Attribute Fields 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 . |
Object |
getRelationshipTable()
Returns the Relationship Table 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 |
setAttributeFields(Object attributeFields)
Sets the Attribute Fields 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 |
setRelationshipTable(Object relationshipTable)
Sets the Relationship Table 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 TableToRelationshipClass()
Initializes the array of tool parameters with the default values specified when the tool was created.
public TableToRelationshipClass(Object originTable, Object destinationTable, Object outRelationshipClass, String relationshipType, String forwardLabel, String backwardLabel, String messageDirection, String cardinality, Object relationshipTable, Object attributeFields, String originPrimaryKey, String originForeignKey, String destinationPrimaryKey, String destinationForeignKey)
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 will be associated to the destination table.destinationTable
- the table or feature class that will be associated to the origin table.outRelationshipClass
- the relationship class that will be created.relationshipType
- the type of association to create between the origin and destination tables.forwardLabel
- a label describing the relationship as it is traversed from the origin table/feature class to the destination table/feature class.backwardLabel
- a label describing the relationship as it is traversed from the destination table/feature class to the origin table/feature class.messageDirection
- the direction messages will be propagated between the objects in the relationship. 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
- the cardinality of the relationship between the origin and destination.relationshipTable
- the table containing attributes that will be added to the relationship class.attributeFields
- the fields containing attribute values that will be added to the relationship class.originPrimaryKey
- the field in the origin table that will be used to create the relationship. Generally, this is the object identifier field.originForeignKey
- the name of the Foreign Key field in the relationship table that refers to the Primary Key field in the origin table/feature class.destinationPrimaryKey
- the field in the destination table that will be used to create the relationship. Generally, this is the object identifier field.destinationForeignKey
- the field in the relationship table that refers to the Primary Key field in the destination table.Method Detail |
---|
public Object getOriginTable()
public void setOriginTable(Object originTable)
originTable
- the table or feature class that will be associated to the destination table.public Object getDestinationTable()
public void setDestinationTable(Object destinationTable)
destinationTable
- the table or feature class that will be associated to the origin table.public Object getOutRelationshipClass()
public void setOutRelationshipClass(Object outRelationshipClass)
outRelationshipClass
- the relationship class that will be created.public String getRelationshipType()
public void setRelationshipType(String relationshipType)
relationshipType
- the type of association to create between the origin and destination tables.public String getForwardLabel()
public void setForwardLabel(String forwardLabel)
forwardLabel
- a label describing the relationship as it is traversed from the origin table/feature class to the destination table/feature class.public String getBackwardLabel()
public void setBackwardLabel(String backwardLabel)
backwardLabel
- a label describing the relationship as it is traversed from the destination table/feature class to the origin table/feature class.public String getMessageDirection()
public void setMessageDirection(String messageDirection)
messageDirection
- the direction messages will be propagated between the objects in the relationship. 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
- the cardinality of the relationship between the origin and destination.public Object getRelationshipTable()
public void setRelationshipTable(Object relationshipTable)
relationshipTable
- the table containing attributes that will be added to the relationship class.public Object getAttributeFields()
public void setAttributeFields(Object attributeFields)
attributeFields
- the fields containing attribute values that will be added to the relationship class.public String getOriginPrimaryKey()
public void setOriginPrimaryKey(String originPrimaryKey)
originPrimaryKey
- the field in the origin table that will be used to create the relationship. Generally, this is the object identifier field.public String getOriginForeignKey()
public void setOriginForeignKey(String originForeignKey)
originForeignKey
- the name of the Foreign Key field in the relationship table that refers to the Primary Key field in the origin table/feature class.public String getDestinationPrimaryKey()
public void setDestinationPrimaryKey(String destinationPrimaryKey)
destinationPrimaryKey
- the field in the destination table that will be used to create the relationship. Generally, this is the object identifier field.public String getDestinationForeignKey()
public void setDestinationForeignKey(String destinationForeignKey)
destinationForeignKey
- the field in the relationship table that refers to the 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 |