Package org.jpox.store.rdbms.scostore

Examples of org.jpox.store.rdbms.scostore.FKListStore


            if (datastoreTable == null)
            {
                // We need an "Inverse". Where the owner column resides in the element table
                if (getOMFContext().getTypeManager().isSCOList(fmd.getType()))
                {
                    store = new FKListStore(fmd, this, clr);
                }
                else
                {
                    store = new FKSetStore(fmd, this, clr);
                }
            }
            else
            {
                // If a join table is present we need a "Normal"
                if (getOMFContext().getTypeManager().isSCOList(fmd.getType()))
                {
                    store = new JoinListStore(fmd, (CollectionTable)datastoreTable, clr);
                }
                else
                {
                    store = new JoinSetStore(fmd, (CollectionTable)datastoreTable, clr);
                }
            }
        }
        else
        {
            // Instantiated type specified so use it to pick the associated backing store
            if (datastoreTable == null)
            {
                if (SCOUtils.isListBased(type))
                {
                    // List required
                    store = new FKListStore(fmd, this, clr);
                }
                else
                {
                    // Set required
                    store = new FKSetStore(fmd, this, clr);
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.scostore.FKListStore

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.