protected static class TableSetParser.ForeignKey
extends java.lang.Object
Intermediary representation of a Foreign Key.
An instance of this class lets save all information provided in the XML document and needed to create the corresponding TAP metadata (TAPForeignKey
)
at the end of XML document parsing, once all available tables are listed.
TableSetParser.parseFKey(XMLStreamReader)
,
TableSetParser.parse(InputStream)
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description
Foreign key description
|
TAPTable |
fromTable
Source table of the foreign key.
|
java.util.Map<java.lang.String,java.lang.String> |
keyColumns
Columns associations.
|
java.lang.String |
targetTable
Target table of the foreign key.
|
java.lang.String |
targetTablePosition
Position of the "targetTable" node inside the XML document.
|
java.lang.String |
utype
UType associated with this foreign key.
|
Modifier | Constructor and Description |
---|---|
protected |
ForeignKey() |
public java.lang.String description
public java.lang.String utype
public TAPTable fromTable
public java.lang.String targetTable
public java.lang.String targetTablePosition
public java.util.Map<java.lang.String,java.lang.String> keyColumns