Package org.jpox.store.scostore

Examples of org.jpox.store.scostore.MapStore


            JPOXLogger.REACHABILITY.debug(LOCALISER.msg("007009", fmd.getFullFieldName()));
        }

        // Update the datastore with this value of map (clear old entries and add new ones)
        // TODO Consider making this more efficient picking the ones to remove/add
        MapStore store = ((MapStore) storeMgr.getBackingStoreForField(sm.getObjectManager().getClassLoaderResolver(), fmd, value.getClass()));
        store.clear(sm);
        store.putAll(sm, value);

        // Replace the field with a wrapper containing these entries
        replaceFieldWithWrapper(sm, value, false, false);
    }
View Full Code Here


     * @param clr ClassLoader resolver
     * @return The backing store of this map in this store
     */
    private MapStore getBackingStoreForMap(AbstractMemberMetaData fmd, ClassLoaderResolver clr, Class type)
    {
        MapStore store = null;
        DatastoreContainerObject datastoreTable = getDatastoreContainerObject(fmd);
        if (datastoreTable == null)
        {
            store = new FKMapStore(fmd, this, clr);
        }
View Full Code Here

TOP

Related Classes of org.jpox.store.scostore.MapStore

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.