]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/TableFactory.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / TableFactory.java
diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/TableFactory.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/TableFactory.java
new file mode 100644 (file)
index 0000000..f7c161a
--- /dev/null
@@ -0,0 +1,16 @@
+package org.simantics.db.impl;\r
+\r
+public class TableFactory  {\r
+    private static TableFactoryI<byte[]> sByteFactory = new ByteFactory();\r
+    public static TableFactoryI<byte[]> getByteFactory() {\r
+        return sByteFactory;\r
+    }\r
+    private static TableFactoryI<int[]> sIntFactory = new IntFactory();\r
+    public static TableFactoryI<int[]> getIntFactory() {\r
+        return sIntFactory;\r
+    }\r
+    private static TableFactoryI<long[]> sLongFactory = new LongFactory();\r
+    public static TableFactoryI<long[]> getLongFactory() {\r
+        return sLongFactory;\r
+    }\r
+}\r