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

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


    /**
     * INTERNAL: (Override from RelationshipAccessor)
     */   
    protected MetadataJoinColumns getJoinColumns() {
        if (m_helper.nodeHasJoinColumns(m_node)) {
            return new XMLJoinColumns(m_node, m_helper);
        } else {
            return super.getJoinColumns();
        }
    }
View Full Code Here


    /**
     * INTERNAL: (Override from RelationshipAccessor)
     */   
    protected MetadataJoinColumns getJoinColumns() {
        if (m_helper.nodeHasJoinColumns(m_node)) {
            return new XMLJoinColumns(m_node, m_helper);
        } else {
            return super.getJoinColumns();
        }
    }
View Full Code Here

        NodeList nodes = m_helper.getNodes(m_node, XMLConstants.ASSOCIATION_OVERRIDE);
       
        if (nodes != null) {
            for (int i = 0; i < nodes.getLength(); i++) {
                Node node = nodes.item(i);
                processAssociationOverride(m_helper.getNodeValue(node, XMLConstants.ATT_NAME), new XMLJoinColumns(node, m_helper));
            }
        }
       
        // Process the association override annotations second.
        super.processAssociationOverrides();
View Full Code Here

    /**
     * INTERNAL: (Override from MetadataAccessor)
     */   
    protected MetadataPrimaryKeyJoinColumns getPrimaryKeyJoinColumns(String sourceTableName, String targetTableName) {
        if (m_helper.nodeHasPrimaryKeyJoinColumns(m_node)) {
            return new XMLPrimaryKeyJoinColumns(m_node, m_helper, sourceTableName, targetTableName);
        } else {
            return super.getPrimaryKeyJoinColumns(sourceTableName, targetTableName);
        }
    }
View Full Code Here

     * INTERNAL: (OVERRIDE)
     * Process the primary-key-join-column(s) elements.
     */   
    protected MetadataPrimaryKeyJoinColumns getPrimaryKeyJoinColumns(String sourceTableName, String targetTableName) {
        if (m_helper.nodeHasPrimaryKeyJoinColumns(m_node)) {
            return new XMLPrimaryKeyJoinColumns(m_node, m_helper, sourceTableName, targetTableName);
        } else {
            return super.getPrimaryKeyJoinColumns(sourceTableName, targetTableName);
        }
    }
View Full Code Here

    public MetadataEntityListener processEntityEventListener(ClassLoader loader) {
        // Update the class loader.
        m_helper.setLoader(loader);
       
        // Create the listener.
        XMLEntityClassListener listener = new XMLEntityClassListener(getJavaClass());
           
        // Process the lifecycle callback events from XML.
        Method[] candidateMethods = MetadataHelper.getCandidateCallbackMethodsForEntityClass(getJavaClass());
        processLifecycleEvents(listener, m_node, m_helper, candidateMethods);
           
View Full Code Here

           
            for (int i = 0; i < nodes.getLength(); i++) {
                Node node = nodes.item(i);
               
                // Build an xml entity listener.
                XMLEntityListener listener = new XMLEntityListener(helper.getClassForNode(node), getJavaClass());
               
                // Process the lifecycle callback events from XML.
                Method[] candidateMethods = MetadataHelper.getCandidateCallbackMethodsForDefaultListener(listener);
                processLifecycleEvents(listener, node, helper, candidateMethods);
               
View Full Code Here

        if (nodes.getLength() > 0) {
            for (int i = 0; i < nodes.getLength(); i++) {
                Node node = nodes.item(i);
               
                // Build an xml entity listener.
                XMLEntityListener listener = new XMLEntityListener(m_helper.getClassForNode(node), entityClass);
               
                // Process the lifecycle callback events from XML.
                Method[] candidateMethods = MetadataHelper.getCandidateCallbackMethodsForEntityListener(listener);
                processLifecycleEvents(listener, node, m_helper, candidateMethods);
               
View Full Code Here

     */
    protected void processNamedNativeQueries(NodeList queryNodes) {
        if (queryNodes != null) {
            for (int i = 0; i < queryNodes.getLength(); i++) {
                // Ask the common processor to process what we found.
                processNamedNativeQuery(new XMLNamedNativeQuery(queryNodes.item(i), m_helper));
            }
        }
    }
View Full Code Here

     */
    protected void processNamedQueries(NodeList queryNodes) {
        if (queryNodes != null) {
            for (int i = 0; i < queryNodes.getLength(); i++) {
                // Ask the common processor to process what we found.
                processNamedQuery(new XMLNamedQuery(queryNodes.item(i), m_helper));
            }
        }
    }
View Full Code Here

TOP

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

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.