All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----de.tudarmstadt.ito.xmldbms.LinkInfo
LinkInfo contains contains the information needed to link two tables: the columns in each key, whether to generate the key, and which key appears in which table. LinkInfo structures occur in RelatedClassMaps and PropertyMaps to link the class table to the related class table or property table. They also occur in RootClassMaps, where only the child key information is used.
"Parent" and "child" refer to the relationship between the structures in the XML document, not the relationship between two tables in the database. In a class / property relationship, such as between an element type-as-class and an element type-as-property, PCDATA, or attribute, the class is always the parent. In a class / class relationship, such as that between two element types-as-classes and mapped by a ClassMap and its subordinate RelatedClassMaps, the class referred to in the ClassMap is always the parent and the class referred to in the RelatedClassMap is always the child.
Note that the parent / child relationship is independent of where the candidate key is located. That is, it could be in the table of the parent or the child. Which table it is in is stated by the parentKeyIsCandidate member variable.
public Column parentKey[]
public Column childKey[]
public boolean generateKey
public boolean parentKeyIsCandidate
public LinkInfo()
All Packages Class Hierarchy This Package Previous Next Index