Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src/org')
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/DatastoreInitRequest.java37
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/DataTranslationServiceFactory.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java41
3 files changed, 0 insertions, 81 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/DatastoreInitRequest.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/DatastoreInitRequest.java
deleted file mode 100644
index 1b2bfc7599..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/DatastoreInitRequest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-public class DatastoreInitRequest {
-
- private final String tableDataSpace;
- private final String indexDataSpace;
- private final boolean useFileSpecifiedSchemas;
-
- public DatastoreInitRequest(String tableDataSpace, String indexDataSpace, boolean useFileSpecifiedSchemas) {
- super();
- this.tableDataSpace = tableDataSpace;
- this.indexDataSpace = indexDataSpace;
- this.useFileSpecifiedSchemas = useFileSpecifiedSchemas;
- }
-
- public String getTableDataSpace() {
- return tableDataSpace;
- }
-
- public String getIndexDataSpace() {
- return indexDataSpace;
- }
-
- public boolean isUseFileSpecifiedSchemas() {
- return useFileSpecifiedSchemas;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/DataTranslationServiceFactory.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/DataTranslationServiceFactory.java
index 5f993c46f2..133c06f166 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/DataTranslationServiceFactory.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/DataTranslationServiceFactory.java
@@ -11,7 +11,6 @@
package org.eclipse.osee.framework.core.message.internal;
import org.eclipse.osee.framework.core.enums.CoreTranslatorId;
-import org.eclipse.osee.framework.core.message.internal.translation.DatastoreInitRequestTranslator;
import org.eclipse.osee.framework.core.message.internal.translation.TableDataTranslator;
import org.eclipse.osee.framework.core.translation.IDataTranslationService;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
@@ -28,7 +27,5 @@ public class DataTranslationServiceFactory {
public void configureService(IDataTranslationService service) throws OseeCoreException {
service.addTranslator(new TableDataTranslator(), CoreTranslatorId.TABLE_DATA);
-
- service.addTranslator(new DatastoreInitRequestTranslator(), CoreTranslatorId.OSEE_DATASTORE_INIT_REQUEST);
}
}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java
deleted file mode 100644
index 4c7ee761ed..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message.internal.translation;
-
-import org.eclipse.osee.framework.core.message.DatastoreInitRequest;
-import org.eclipse.osee.framework.core.translation.ITranslator;
-import org.eclipse.osee.framework.jdk.core.type.PropertyStore;
-
-public class DatastoreInitRequestTranslator implements ITranslator<DatastoreInitRequest> {
-
- private static enum Entry {
- INDEX_DATA_SPACE,
- TABLE_DATA_SPACE,
- USE_FILE_SPECIFIED_SCHEMAS;
- }
-
- @Override
- public DatastoreInitRequest convert(PropertyStore store) {
- String tableDataSpace = store.get(Entry.TABLE_DATA_SPACE.name());
- String indexDataSpace = store.get(Entry.INDEX_DATA_SPACE.name());
- boolean useSchemasSpecified = store.getBoolean(Entry.USE_FILE_SPECIFIED_SCHEMAS.name());
- return new DatastoreInitRequest(tableDataSpace, indexDataSpace, useSchemasSpecified);
- }
-
- @Override
- public PropertyStore convert(DatastoreInitRequest object) {
- PropertyStore store = new PropertyStore();
- store.put(Entry.INDEX_DATA_SPACE.name(), object.getIndexDataSpace());
- store.put(Entry.TABLE_DATA_SPACE.name(), object.getTableDataSpace());
- store.put(Entry.USE_FILE_SPECIFIED_SCHEMAS.name(), object.isUseFileSpecifiedSchemas());
- return store;
- }
-}

Back to the top