Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-10-18 03:37:03 -0400
committerEike Stepper2008-10-18 03:37:03 -0400
commit7a414508c8619cf60781cd5a2cf302f3f73b2244 (patch)
tree97f5e643e27c2f7e2f39cae560515b2f8f2efaa0
parentf1dfe6cccab8ddb7631cb67b783670a9dea7d3a8 (diff)
downloadcdo-7a414508c8619cf60781cd5a2cf302f3f73b2244.tar.gz
cdo-7a414508c8619cf60781cd5a2cf302f3f73b2244.tar.xz
cdo-7a414508c8619cf60781cd5a2cf302f3f73b2244.zip
[249847] Store resources in a hierarchical structure
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249847
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IMappingStrategy.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/ResourceTest.java1
2 files changed, 21 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IMappingStrategy.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IMappingStrategy.java
index 2a5419c51c..967db24936 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IMappingStrategy.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/db/IMappingStrategy.java
@@ -55,6 +55,26 @@ public interface IMappingStrategy
/**
* @since 2.0
*/
+ public IClassMapping getResourceNodeClassMapping();
+
+ /**
+ * @since 2.0
+ */
+ public IClassMapping getResourceFolderClassMapping();
+
+ /**
+ * @since 2.0
+ */
+ public IClassMapping getResourceClassMapping();
+
+ /**
+ * @since 2.0
+ */
+ public CDOClassRef getClassRef(IDBStoreReader storeReader, int classID);
+
+ /**
+ * @since 2.0
+ */
public CloseableIterator<CDOID> readObjectIDs(IDBStoreReader storeReader);
public CDOClassRef readObjectType(IDBStoreReader storeReader, CDOID id);
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/ResourceTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/ResourceTest.java
index 15403ff49f..dfbe08b745 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/ResourceTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/ResourceTest.java
@@ -419,6 +419,7 @@ public class ResourceTest extends AbstractCDOTest
String localName = namePrefix + String.valueOf(i + 1);
path += "/" + localName;
}
+
path += "/" + name;
return path;
}

Back to the top