java.lang.Object
com.aspose.words.DataRelation
public class DataRelation
- extends java.lang.Object
Represents a parent-child relationship between two data tables in a data set.
Constructor Summary |
DataRelation(java.lang.String relationName, java.lang.String parentTableName, java.lang.String childTableName, java.lang.String[] parentColumnNames, java.lang.String[] childColumnNames)
Initializes a new instance of this class.
|
Method Summary |
java.lang.String[] | getChildColumnNames() | |
Gets the names of columns in the child table that participate in the parent-child relationship.
|
java.lang.String | getChildTableName() | |
Gets the name of the child table specified by this relationship.
|
java.lang.String[] | getParentColumnNames() | |
Gets the names of columns in the parent table that participate in the parent-child relationship.
|
java.lang.String | getParentTableName() | |
Gets the name of the parent table specified by this relationship.
|
java.lang.String | getRelationName() | |
Gets the informational name of this data relationship.
|
DataRelation
public DataRelation(java.lang.String relationName, java.lang.String parentTableName, java.lang.String childTableName, java.lang.String[] parentColumnNames, java.lang.String[] childColumnNames)
-
Initializes a new instance of this class.
Creates a relationship object between the specified tables. After creation, you normally need to add the relationship object to a data set object.
getChildColumnNames | |
public java.lang.String[] getChildColumnNames() |
-
Gets the names of columns in the child table that participate in the parent-child relationship.
getChildTableName | |
public java.lang.String getChildTableName() |
-
Gets the name of the child table specified by this relationship.
getParentColumnNames | |
public java.lang.String[] getParentColumnNames() |
-
Gets the names of columns in the parent table that participate in the parent-child relationship.
getParentTableName | |
public java.lang.String getParentTableName() |
-
Gets the name of the parent table specified by this relationship.
getRelationName | |
public java.lang.String getRelationName() |
-
Gets the informational name of this data relationship.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.