All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.xmldbms.maps.MapBase | +----org.xmlmiddleware.xmldbms.maps.RelatedMapBase | +----org.xmlmiddleware.xmldbms.maps.RelatedClassTableMap
A RelatedClassTableMap contains a pointer to the ClassTableMap of the child table, as well as the information needed to join the tables and order the child table in the parent.
RelatedClassMap inherits from RelatedMapBase. See RelatedMapBase for methods to get and set the element type, link, and order information.
A RelatedClassTableMap can contain an element type name different from the element type name in the ClassTableMap it points to. This allows the same class table to be mapped to different element types depending on the parent table. This is the inverse of the mapping created when a <UseClassMap> element in the XML-DBMS mapping language is used inside a <RelatedClass> element.
RelatedClassTableMaps are stored in ClassTableMaps.
public static RelatedClassTableMap create(ClassTableMap classTableMap)
public final ClassTableMap getClassTableMap()
public void setElementTypeName(String uri, String localName)
This can be different from the element type name in the ClassTableMap to which the RelatedClassTableMap points. This allows the same class table to be mapped to different element types depending on the parent table. This is the inverse of the mapping created when a <UseClassMap> element in the XML-DBMS mapping language is used inside a <RelatedClass> element.
public void setElementTypeName(XMLName elementTypeName)
This can be different from the element type name in the ClassTableMap to which the RelatedClassTableMap points. This allows the same class table to be mapped to different element types depending on the parent table. This is the inverse of the mapping created when a <UseClassMap> element in the XML-DBMS mapping language is used inside a <RelatedClass> element.
public ElementInsertionList getElementInsertionList()
The element to which this table is mapped is constructed as a child of the last element in the list.
public void setElementInsertionList(ElementInsertionList elementInsertionList)
All Packages Class Hierarchy This Package Previous Next Index