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

XMLSecondaryTable

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

Fields Summary
private Node
m_node
private XMLHelper
m_helper
Constructors Summary
public XMLSecondaryTable(Node node, XMLHelper helper, MetadataLogger logger)
INTERNAL:

        super(logger);
        
        m_node = node;
        m_helper = helper;
        m_name = m_helper.getNodeValue(node, XMLConstants.ATT_NAME);  
        m_schema = m_helper.getNodeValue(node, XMLConstants.ATT_SCHEMA);
        m_catalog = m_helper.getNodeValue(node, XMLConstants.ATT_CATALOG);
        
        processName();
        XMLTableHelper.processUniqueConstraints(node, helper, m_databaseTable);
    
Methods Summary
protected voidprocessPrimaryKeyJoinColumns(java.lang.String sourceTableName)
INTERNAL: (OVERRIDE)

        m_primaryKeyJoinColumns = new XMLPrimaryKeyJoinColumns(m_node, m_helper, sourceTableName, m_databaseTable.getQualifiedName());