Package org.openbel.framework.common.model

Examples of org.openbel.framework.common.model.EquivalenceDataIndex


            final DataFileIndex equivalenceIndex =
                    eqIndexer.indexEquivalence(
                            equivalence.getResourceLocation(),
                            resolved.getCacheResourceCopy());

            final EquivalenceDataIndex dataIndex = new EquivalenceDataIndex(
                    equivalence.getNamespaceResourceLocation()
                            .getResourceLocation(), equivalenceIndex);

            JDBMEquivalenceLookup jdbmLookup =
                    new JDBMEquivalenceLookup(dataIndex.getEquivalenceIndex()
                            .getIndexPath());
            jdbmLookup.open();

            openEquivalences.put(equivalence.getNamespaceResourceLocation()
                    .getResourceLocation(),
View Full Code Here


                    DataFileIndex equivalenceIndex = equivalenceIndexerService
                            .indexEquivalence(eqLocation,
                                    resolved.getCacheResourceCopy());

                    equivalenceDataIndexSet.add(new EquivalenceDataIndex(
                            eqResource.getNamespaceResourceLocation()
                                    .getResourceLocation(), equivalenceIndex));
                } catch (ResourceDownloadError e) {
                    error("Unable to load equivalence resource for location: "
                            + eqLocation);
View Full Code Here

            pnNsLocations.add(tn.getResourceLocation());
        }

        Iterator<EquivalenceDataIndex> indexIt = indexes.iterator();
        while (indexIt.hasNext()) {
            EquivalenceDataIndex index = indexIt.next();

            // if proto network does not contain this index, throw it away
            if (!pnNsLocations.contains(index.getNamespaceResourceLocation())) {
                indexIt.remove();
            }
        }

        if (!indexes.isEmpty()) {
View Full Code Here

TOP

Related Classes of org.openbel.framework.common.model.EquivalenceDataIndex

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.