Package oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors

Examples of oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.MetadataAccessor


        if (sqlResultSetNodes != null) {
          int nodeCount = sqlResultSetNodes.getLength();
       
            for (int i = 0; i < nodeCount; i++) {
                // Ask the common processor to process what we found.
                processSqlResultSetMapping(new XMLSQLResultSetMapping(sqlResultSetNodes.item(i), m_helper));
            }
        }
    }
View Full Code Here


        if (node == null) {
            super.processGeneratedValue(field);
        } else {
            // Ask the common processor to process what we found.
            processGeneratedValue(new XMLGeneratedValue(node, m_helper), field);
        }
    }
View Full Code Here

    protected void processSequenceGenerator() {
        Node node = m_helper.getNode(m_node, XMLConstants.SEQUENCE_GENERATOR);
       
        if (node != null) {
            // Process the xml defined sequence generators first.
            processSequenceGenerator(new XMLSequenceGenerator(node, m_helper));
        }
       
        // Process the annotation defined sequence generators second.
        super.processSequenceGenerator();
    }
View Full Code Here

     * generator.
     */
    protected void processSequenceGenerator(Node node) {
        if (node != null) {
            // Ask the common processor to process what we found.
            processSequenceGenerator(new XMLSequenceGenerator(node, m_helper));
        }
    }
View Full Code Here

    protected void processTableGenerator() {
        Node node = m_helper.getNode(m_node, XMLConstants.TABLE_GENERATOR);
       
        if (node != null) {
            // Process the xml defined table generators first.
            processTableGenerator(new XMLTableGenerator(node, this));
        }
       
        // Process the annotation defined sequence generators second.
        super.processTableGenerator();
    }
View Full Code Here

     * Process a table-generator node into a common metadata table generator.
     */
    protected void processTableGenerator(Node node) {
        if (node != null) {
            // Ask the common processor to process what we found.
            processTableGenerator(new XMLTableGenerator(node, this));
        }
    }
View Full Code Here

        Node node = m_helper.getNode(m_node, XMLConstants.JOIN_TABLE);
       
        if (node == null) {
            return super.getJoinTable();
        } else {
            return new XMLJoinTable(node, m_helper, m_logger);
        }
    }
View Full Code Here

        Node node = m_helper.getNode(m_node, XMLConstants.JOIN_TABLE);
       
        if (node == null) {
            return super.getJoinTable();
        } else {
            return new XMLJoinTable(node, m_helper, m_logger);
        }
    }
View Full Code Here

        } else {
            if (m_descriptor.ignoreTables()) {
                m_logger.logWarningMessage(m_logger.IGNORE_SECONDARY_TABLE_ELEMENT, getJavaClass());
            } else {
                for (int i = 0; i < secondaryTables.getLength(); i++) {
                    processSecondaryTable(new XMLSecondaryTable(secondaryTables.item(i), m_helper, m_logger));
                }
            }
        }
    }
View Full Code Here

           
      if (tableNode != null) {
            if (m_descriptor.ignoreTables()) {
                m_logger.logWarningMessage(m_logger.IGNORE_TABLE_ELEMENT, getJavaClass());
            } else {
                processTable(new XMLTable(tableNode, m_helper, m_logger));
            }
      } else {
            // Check for a table annotation. If no annotation is defined, the
            // table will default.
            super.processTable();
View Full Code Here

TOP

Related Classes of oracle.toplink.essentials.internal.ejb.cmp3.metadata.accessors.MetadataAccessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.