FileDocCategorySizeDatePackage
XMLJoinTable.javaAPI DocGlassfish v2 API4011Tue May 22 16:54:32 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.xml.tables

XMLJoinTable

public class XMLJoinTable extends MetadataJoinTable
Object to hold onto an XML join table metadata in a TopLink database table.
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
protected XMLHelper
m_helper
protected NodeList
m_joinColumns
protected NodeList
m_inverseJoinColumns
Constructors Summary
public XMLJoinTable(Node node, XMLHelper helper, MetadataLogger logger)
INTERNAL:

        super(logger);
        
        m_helper = helper;
        
        m_name = helper.getNodeValue(node, XMLConstants.ATT_NAME);
        m_schema = helper.getNodeValue(node, XMLConstants.ATT_SCHEMA);
        m_catalog = helper.getNodeValue(node, XMLConstants.ATT_CATALOG);
        
        m_joinColumns = helper.getNodes(node, XMLConstants.JOIN_COLUMN);
        m_inverseJoinColumns =  helper.getNodes(node, XMLConstants.INVERSE_JOIN_COLUMN);
            
        processName();
        XMLTableHelper.processUniqueConstraints(node, helper, m_databaseTable);
    
Methods Summary
public booleanloadedFromXML()
INTERNAL:

        return true;
    
protected oracle.toplink.essentials.internal.ejb.cmp3.metadata.columns.MetadataJoinColumnsprocessInverseJoinColumns()
INTERNAL: (OVERRIDE)

        return new XMLJoinColumns(m_inverseJoinColumns, m_helper);
    
protected oracle.toplink.essentials.internal.ejb.cmp3.metadata.columns.MetadataJoinColumnsprocessJoinColumns()
INTERNAL: (OVERRIDE)

        return new XMLJoinColumns(m_joinColumns, m_helper);