|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.enablement.oda.xml.util.RelationInformation
public class RelationInformation
This class is used to dealing with the strings which are parsed as arguments to create an XML data source connection.The structure of string must follow the given rule: TableName1#:#[TableRootPath]#:#{columnName1;Type;RelativeXPath},{columnName2;Type;RelativeXPath}... #-#TableName2#:#[TableRootPath]#:#{columnName1;Type;RelativeXpath}.....
| Constructor Summary | |
|---|---|
RelationInformation(MappedTables mt,
boolean useNamespace)
|
|
RelationInformation(java.lang.String relationString)
|
|
| Method Summary | |
|---|---|
boolean |
containsNamespace()
|
java.util.HashMap |
getTableColumnFilter(java.lang.String tableName,
java.lang.String columnName)
|
java.lang.String[] |
getTableColumnNames(java.lang.String tableName)
Return the array of column names of certain table. |
java.lang.String |
getTableColumnType(java.lang.String tableName,
java.lang.String columnName)
Return the type of a column in certain table. |
java.util.HashMap |
getTableFilter(java.lang.String tableName)
Return the table filter. |
MappingPathElementTree |
getTableMappingPathElementTree(java.lang.String tableName)
Return the mapping path element tree of certain table. |
java.util.Iterator |
getTableNames()
|
java.lang.String[] |
getTableNestedXMLColumnNames(java.lang.String tableName)
Return the array of nested column names of certain table. |
java.lang.String |
getTableOriginalColumnPath(java.lang.String tableName,
java.lang.String columnName)
Return the path of a column in certain table. |
java.lang.String |
getTableOriginalRootPath(java.lang.String tableName)
Return the table original root path. |
java.lang.String |
getTableRootPath(java.lang.String tableName)
Return the table root path. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationInformation(java.lang.String relationString)
throws OdaException
relationString -
OdaException
public RelationInformation(MappedTables mt,
boolean useNamespace)
throws OdaException
OdaException| Method Detail |
|---|
public boolean containsNamespace()
public java.lang.String getTableOriginalColumnPath(java.lang.String tableName,
java.lang.String columnName)
tableName - columnName -
public java.lang.String getTableColumnType(java.lang.String tableName,
java.lang.String columnName)
tableName - columnName -
public java.lang.String[] getTableColumnNames(java.lang.String tableName)
tableName -
public java.lang.String[] getTableNestedXMLColumnNames(java.lang.String tableName)
tableName -
public MappingPathElementTree getTableMappingPathElementTree(java.lang.String tableName)
tableName -
public java.lang.String getTableRootPath(java.lang.String tableName)
tableName -
public java.lang.String getTableOriginalRootPath(java.lang.String tableName)
tableName -
public java.util.HashMap getTableFilter(java.lang.String tableName)
tableName -
public java.util.Iterator getTableNames()
public java.util.HashMap getTableColumnFilter(java.lang.String tableName,
java.lang.String columnName)
tableName - columnName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||