From fd75faf864e6584fbf56a8eca702b20a805abb62 Mon Sep 17 00:00:00 2001
From: Eike Stepper
Date: Tue, 22 Oct 2019 11:12:14 +0200
Subject: [552307] Move DB4O, Hibernate and Objectivity support to cdo.old
https://bugs.eclipse.org/bugs/show_bug.cgi?id=552307
---
.../org.eclipse.emf.cdo.tests.hibernate/.classpath | 7 -
.../org.eclipse.emf.cdo.tests.hibernate/.project | 52 -
.../.settings/org.eclipse.core.resources.prefs | 3 -
.../.settings/org.eclipse.jdt.core.prefs | 381 ------
.../.settings/org.eclipse.jdt.ui.prefs | 119 --
.../org.eclipse.ltk.core.refactoring.prefs | 3 -
.../.settings/org.eclipse.mylyn.tasks.ui.prefs | 4 -
.../.settings/org.eclipse.mylyn.team.ui.prefs | 3 -
.../.settings/org.eclipse.pde.core.prefs | 3 -
.../.settings/org.eclipse.pde.prefs | 31 -
.../HibernateServer.launch | 11 -
.../META-INF/MANIFEST.MF | 38 -
.../org.eclipse.emf.cdo.tests.hibernate/about.html | 28 -
.../org.eclipse.emf.cdo.tests.hibernate/about.ini | 15 -
.../about.mappings | 6 -
.../about.properties | 31 -
.../build.properties | 30 -
.../model/hibernate-test.ecore | 105 --
.../model/hibernate-test.genmodel | 64 -
.../modeling32.png | Bin 2414 -> 0 bytes
.../plugin.properties | 11 -
.../org.eclipse.emf.cdo.tests.hibernate/plugin.xml | 23 -
.../org.eclipse.emf.cdo.tests.hibernate/pom.xml | 31 -
.../src/app.properties | 35 -
.../src/log4j.properties | 44 -
.../eclipse/emf/cdo/tests/hibernate/Activator.java | 48 -
.../emf/cdo/tests/hibernate/AllTestsHibernate.java | 407 ------
.../cdo/tests/hibernate/AuditFeatureMapTest.java | 145 --
.../cdo/tests/hibernate/CDOObjectHistoryTest.java | 413 ------
.../tests/hibernate/HibernateAttributeTest.java | 33 -
.../hibernate/HibernateBugzilla_258933_Test.java | 43 -
.../hibernate/HibernateBugzilla_301104_Test.java | 64 -
.../hibernate/HibernateBugzilla_333473_Test.java | 80 --
.../hibernate/HibernateBugzilla_356181_Test.java | 81 --
.../hibernate/HibernateBugzilla_362270b_Test.java | 44 -
.../hibernate/HibernateBugzilla_362270c_Test.java | 44 -
.../hibernate/HibernateBugzilla_373545_Test.java | 59 -
.../hibernate/HibernateBugzilla_380987_Test.java | 222 ----
.../hibernate/HibernateBugzilla_381013_Test.java | 49 -
.../hibernate/HibernateBugzilla_387752_Test.java | 125 --
.../HibernateBugzilla_387752_True_Test.java | 125 --
.../hibernate/HibernateBugzilla_392653_Test.java | 75 --
.../hibernate/HibernateBugzilla_395684_Test.java | 145 --
.../hibernate/HibernateBugzilla_397682_Test.java | 61 -
.../hibernate/HibernateBugzilla_398057_Test.java | 56 -
.../hibernate/HibernateBugzilla_405191_Test.java | 42 -
.../hibernate/HibernateBugzilla_416530_Test.java | 86 --
.../hibernate/HibernateBugzilla_417797_Test.java | 86 --
.../cdo/tests/hibernate/HibernateChunkingTest.java | 118 --
.../emf/cdo/tests/hibernate/HibernateConfig.java | 86 --
.../hibernate/HibernateCrossReferenceTest.java | 44 -
.../hibernate/HibernateExternalAnnotationTest.java | 173 ---
.../hibernate/HibernateExternalReferenceTest.java | 79 --
.../cdo/tests/hibernate/HibernateLazyLoadTest.java | 212 ---
.../HibernateMultiValuedOfAttributeTest.java | 35 -
.../hibernate/HibernateQueryNoCachingTest.java | 28 -
.../cdo/tests/hibernate/HibernateQueryTest.java | 528 --------
.../tests/hibernate/HibernateTimeStampTest.java | 62 -
.../hibernate/HibernateXATransactionTest.java | 43 -
.../cdo/tests/hibernate/Hibernate_Export_Test.java | 64 -
.../tests/hibernate/Hibernate_Failure_Test.java | 97 --
.../hibernate/Hibernate_Missing_Version_Test.java | 147 --
.../tests/hibernate/cdo_hibernate.persistence.xml | 59 -
.../model/HibernateTest/Bz356181_Main.java | 140 --
.../model/HibernateTest/Bz356181_NonTransient.java | 59 -
.../model/HibernateTest/Bz356181_Transient.java | 28 -
.../model/HibernateTest/Bz380987_Group.java | 52 -
.../model/HibernateTest/Bz380987_Person.java | 98 --
.../model/HibernateTest/Bz380987_Place.java | 79 --
.../model/HibernateTest/Bz387752_Enum.java | 228 ----
.../model/HibernateTest/Bz387752_Main.java | 203 ---
.../hibernate/model/HibernateTest/Bz397682C.java | 116 --
.../hibernate/model/HibernateTest/Bz397682P.java | 80 --
.../hibernate/model/HibernateTest/Bz398057A.java | 80 --
.../hibernate/model/HibernateTest/Bz398057A1.java | 25 -
.../hibernate/model/HibernateTest/Bz398057B.java | 116 --
.../hibernate/model/HibernateTest/Bz398057B1.java | 57 -
.../model/HibernateTest/HibernateTestFactory.java | 159 ---
.../model/HibernateTest/HibernateTestPackage.java | 1403 --------------------
.../HibernateTest/impl/Bz356181_MainImpl.java | 394 ------
.../impl/Bz356181_NonTransientImpl.java | 186 ---
.../HibernateTest/impl/Bz356181_TransientImpl.java | 51 -
.../HibernateTest/impl/Bz380987_GroupImpl.java | 189 ---
.../HibernateTest/impl/Bz380987_PersonImpl.java | 309 -----
.../HibernateTest/impl/Bz380987_PlaceImpl.java | 267 ----
.../HibernateTest/impl/Bz387752_MainImpl.java | 458 -------
.../model/HibernateTest/impl/Bz397682CImpl.java | 386 ------
.../model/HibernateTest/impl/Bz397682PImpl.java | 267 ----
.../model/HibernateTest/impl/Bz398057A1Impl.java | 50 -
.../model/HibernateTest/impl/Bz398057AImpl.java | 267 ----
.../model/HibernateTest/impl/Bz398057B1Impl.java | 187 ---
.../model/HibernateTest/impl/Bz398057BImpl.java | 372 ------
.../impl/HibernateTestFactoryImpl.java | 344 -----
.../impl/HibernateTestPackageImpl.java | 845 ------------
.../util/HibernateTestAdapterFactory.java | 402 ------
.../HibernateTest/util/HibernateTestSwitch.java | 463 -------
96 files changed, 13746 deletions(-)
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.project
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.core.resources.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.core.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.ui.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.ltk.core.refactoring.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.tasks.ui.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.team.ui.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.core.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.prefs
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/HibernateServer.launch
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/about.html
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.genmodel
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/modeling32.png
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.properties
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.xml
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/pom.xml
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/log4j.properties
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Activator.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AuditFeatureMapTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/CDOObjectHistoryTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateAttributeTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_258933_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270b_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270c_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_373545_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_380987_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_381013_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_True_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_392653_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_395684_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_397682_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_398057_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_405191_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_416530_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_417797_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateChunkingTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateCrossReferenceTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalAnnotationTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalReferenceTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateLazyLoadTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateMultiValuedOfAttributeTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryNoCachingTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTimeStampTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateXATransactionTest.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Export_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Failure_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Missing_Version_Test.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Main.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Person.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Place.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Enum.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Main.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_MainImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_NonTransientImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_TransientImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PersonImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PlaceImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz387752_MainImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682CImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682PImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057A1Impl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057B1Impl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057BImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestFactoryImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestPackageImpl.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java
delete mode 100644 plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java
(limited to 'plugins/org.eclipse.emf.cdo.tests.hibernate')
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath b/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath
deleted file mode 100644
index 64c5e31b7a..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
June 5, 2007
-The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.
- -If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.
- - - diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini deleted file mode 100644 index b7e87ca285..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini +++ /dev/null @@ -1,15 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for "About" dialog (translated) -aboutText=%featureText - -# Property "featureImage" contains path to feature image (32x32) -featureImage=modeling32.png - -# Property "appName" contains name of the application (translated) -appName=%featureName - diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings deleted file mode 100644 index 28e3764743..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings +++ /dev/null @@ -1,6 +0,0 @@ -# about.mappings -# contains fill-ins for about.properties -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file does not need to be translated. - -0=${build.qualifier} \ No newline at end of file diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties deleted file mode 100644 index 71eb5d352b..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2008, 2009, 2011, 2012 Eike Stepper (Loehne, Germany) and others. -# 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: -# Eike Stepper - initial API and implementation - -# NLS_MESSAGEFORMAT_VAR - -# ============================================================================== -# Do not change the properties between this line and the last line containing: -# %%% END OF TRANSLATED PROPERTIES %%% -# Instead, either redefine an existing property, or create a new property, -# append it to the end of the file, and change the code to use the new name. -# ============================================================================== - -featureName = CDO Model Repository Tests Hibernate -featureText = CDO Model Repository Tests Hibernate\n\ -Version: {featureVersion}\n\ -Build id: {0}\n\ -\n\ -Copyright (c) 2004-2018 Eike Stepper (Loehne, Germany) and others. All rights reserved.\n\ -\n\ -Visit http://www.eclipse.org/cdo - -# ============================================================================== -# %%% END OF TRANSLATED PROPERTIES %%% -# The above properties have been shipped for translation. -# ============================================================================== diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties deleted file mode 100644 index e5496edf51..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2008-2010, 2012, 2013, 2017 Eike Stepper (Loehne, Germany) and others. -# 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: -# Eike Stepper - initial API and implementation - -# NLS_MESSAGEFORMAT_VAR - -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.xml,\ - about.html,\ - plugin.properties,\ - about.ini,\ - about.mappings,\ - about.properties,\ - modeling32.png,\ - src/log4j.properties,\ - src/app.properties,\ - src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml -src.includes = about.html,\ - HibernateServer.launch,\ - pom.xml - -generateSourceReferences = true diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore b/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore deleted file mode 100644 index 1fd8727cf0..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore +++ /dev/null @@ -1,105 +0,0 @@ - -- * See bug 258933 - * - * @author Martin Taal - */ -public class HibernateBugzilla_258933_Test extends Bugzilla_258933_Test -{ - @Override - public void testBugzilla_258933_String_SetToDefaultValue_unsettable() throws Exception - { - } - - @Override - public void testBugzilla_258933_String() throws Exception - { - } - - @Override - public void testBugzilla_258933_String_SetToNull() throws Exception - { - } - - @Override - public void testBugzilla_258933_String_SetToNull_unsettable() throws Exception - { - } -} diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java deleted file mode 100644 index e4de6c7514..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2010-2013, 2015 Eike Stepper (Loehne, Germany) and others. - * 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: - * Martin Taal - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate; - -import org.eclipse.emf.cdo.eresource.CDOResource; -import org.eclipse.emf.cdo.session.CDOSession; -import org.eclipse.emf.cdo.tests.AbstractCDOTest; -import org.eclipse.emf.cdo.tests.model1.Category; -import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package; -import org.eclipse.emf.cdo.transaction.CDOTransaction; - -import org.eclipse.emf.ecore.EAnnotation; -import org.eclipse.emf.ecore.EcoreFactory; - -/** - * Allow application to set generated id. - *
- * See bug 301104
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_301104_Test extends AbstractCDOTest
-{
- public void testSetId() throws Exception
- {
- final String uuid = "MyUUID";
-
- // add the id and generated value annotations
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource("teneo.jpa");
- eAnnotation.getDetails().put("value", "@Id @GeneratedValue(generator=\"system-uuid\")");
- Model1Package.eINSTANCE.getCategory_Name().getEAnnotations().add(eAnnotation);
-
- Category category1;
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
-
- final CDOResource resource = transaction.createResource(getResourcePath("/test1"));
- category1 = getModel1Factory().createCategory();
- category1.setName(uuid);
- resource.getContents().add(category1);
-
- transaction.commit();
- }
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
- final CDOResource resource = transaction.getResource(getResourcePath("/test1"));
- final Category category2 = (Category)resource.getContents().get(0);
- assertNotSame(category1, category2);
- assertEquals(uuid, category2.getName());
- transaction.commit();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java
deleted file mode 100644
index 361bb5a3af..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Martin Taal - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import java.util.Collections;
-
-/**
- * @author Michael Tkacz
- */
-public class HibernateBugzilla_333473_Test extends AbstractCDOTest
-{
- public void testRemovalFirstAttempt() throws Exception
- {
- testRemoval(false);
- }
-
- public void testRemovalSecondAttempt() throws Exception
- {
- testRemoval(true);
- }
-
- private void testRemoval(boolean removeOrderDetailFromResourceBeforeRemoval) throws Exception
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource orderDetailResource = transaction.getOrCreateResource(getResourcePath("/orderDetail")); //$NON-NLS-1$
- orderDetailResource.getContents().clear();
-
- final OrderDetail orderDetail = getModel1Factory().createOrderDetail();
- orderDetail.setPrice(1.0f);
- orderDetailResource.getContents().add(orderDetail);
-
- CDOResource orderResource = transaction.getOrCreateResource(getResourcePath("/order")); //$NON-NLS-1$
- orderResource.getContents().clear();
-
- SalesOrder order = getModel1Factory().createSalesOrder();
- order.getOrderDetails().add(orderDetail);
- orderResource.getContents().add(order);
-
- transaction.commit();
- transaction.close();
- session.close();
-
- // so far so good
-
- session = openSession();
- transaction = session.openTransaction();
- orderResource = transaction.getResource(getResourcePath("/order")); //$NON-NLS-1$
- orderDetailResource = transaction.getResource(getResourcePath("/orderDetail")); //$NON-NLS-1$
-
- order = (SalesOrder)orderResource.getContents().get(0);
- order.getOrderDetails().clear();
-
- if (removeOrderDetailFromResourceBeforeRemoval)
- {
- orderDetailResource.getContents().clear();
- }
-
- orderDetailResource.delete(Collections.EMPTY_MAP);
- transaction.commit();
- transaction.close();
- session.close();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java
deleted file mode 100644
index 6d8d2fe02a..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2012, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Martin Taal - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObjectReference;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import java.util.Collections;
-import java.util.List;
-
-/**
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_356181_Test extends AbstractCDOTest
-{
- public void testBugzilla() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Bz356181_Main main = HibernateTestFactory.eINSTANCE.createBz356181_Main();
- main.setNonTransient("non transient");
- main.setTransient("transient");
- resource.getContents().add(main);
-
- Bz356181_NonTransient nonTransient = HibernateTestFactory.eINSTANCE.createBz356181_NonTransient();
- nonTransient.setMain(main);
- resource.getContents().add(nonTransient);
-
- Bz356181_Transient trans = HibernateTestFactory.eINSTANCE.createBz356181_Transient();
- main.setTransientRef(trans);
-
- main.setTransientOtherRef(HibernateTestFactory.eINSTANCE.createBz356181_NonTransient());
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- CDOSession session = openSession();
- CDOView view = session.openView();
- CDOResource cdoResource = view.getResource(getResourcePath("/test1"));
- Bz356181_Main main = (Bz356181_Main)cdoResource.getContents().get(0);
- assertNull(main.getTransient());
- assertNull(main.getTransientRef());
- assertNull(main.getTransientOtherRef());
- assertEquals("non transient", main.getNonTransient());
- List
- * The following features are supported:
- *
- *
- *
- * If the meaning of the 'Transient' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Transient' attribute. - * @see #setTransient(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_Transient() - * @model annotation="teneo.jpa value='@Transient'" - * @generated - */ - String getTransient(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransient Transient}' attribute. - * - * - * @param value the new value of the 'Transient' attribute. - * @see #getTransient() - * @generated - */ - void setTransient(String value); - - /** - * Returns the value of the 'Non Transient' attribute. - * - *- * If the meaning of the 'Non Transient' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Non Transient' attribute. - * @see #setNonTransient(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_NonTransient() - * @model - * @generated - */ - String getNonTransient(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getNonTransient Non Transient}' attribute. - * - * - * @param value the new value of the 'Non Transient' attribute. - * @see #getNonTransient() - * @generated - */ - void setNonTransient(String value); - - /** - * Returns the value of the 'Transient Ref' reference. - * - *- * If the meaning of the 'Transient Ref' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Transient Ref' reference. - * @see #setTransientRef(Bz356181_Transient) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_TransientRef() - * @model transient="true" - * @generated - */ - Bz356181_Transient getTransientRef(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientRef Transient Ref}' reference. - * - * - * @param value the new value of the 'Transient Ref' reference. - * @see #getTransientRef() - * @generated - */ - void setTransientRef(Bz356181_Transient value); - - /** - * Returns the value of the 'Transient Other Ref' reference. - * - *- * If the meaning of the 'Transient Other Ref' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Transient Other Ref' reference. - * @see #setTransientOtherRef(Bz356181_NonTransient) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_TransientOtherRef() - * @model transient="true" - * @generated - */ - Bz356181_NonTransient getTransientOtherRef(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientOtherRef Transient Other Ref}' reference. - * - * - * @param value the new value of the 'Transient Other Ref' reference. - * @see #getTransientOtherRef() - * @generated - */ - void setTransientOtherRef(Bz356181_NonTransient value); - -} // Bz356181_Main diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java deleted file mode 100644 index 9f84bcfeb4..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz356181 Non Transient'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Main' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Main' reference. - * @see #setMain(Bz356181_Main) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_NonTransient_Main() - * @model - * @generated - */ - Bz356181_Main getMain(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient#getMain Main}' reference. - * - * - * @param value the new value of the 'Main' reference. - * @see #getMain() - * @generated - */ - void setMain(Bz356181_Main value); - -} // Bz356181_NonTransient diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java deleted file mode 100644 index 32a00d1f02..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz356181 Transient'. - * - * - * - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Transient() - * @model annotation="teneo.jpa value='@Transient'" - * @generated - */ -public interface Bz356181_Transient extends EObject -{ - -} // Bz356181_Transient diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java deleted file mode 100644 index 62a4bd7b55..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz380987 Group'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'People' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'People' reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Group_People() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup - * @model opposite="group" - * @generated - */ - EList- * The following features are supported: - *
- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'Group' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople People}'. - * - *- * If the meaning of the 'Group' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Group' reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Group() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople - * @model opposite="people" - * @generated - */ - EList- * If the meaning of the 'Places' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Places' reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Places() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople - * @model opposite="people" - * @generated - */ - EList- * The following features are supported: - *
- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Place_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the 'People' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces Places}'. - * - *- * If the meaning of the 'People' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'People' reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Place_People() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces - * @model opposite="places" - * @generated - */ - EList- * If the meaning of 'VAL0' literal object isn't clear, - * there really should be more of a description here... - *
- * - * @see #VAL0 - * @model - * @generated - * @ordered - */ - public static final int VAL0_VALUE = 0; - - /** - * The 'VAL1' literal value. - * - *- * If the meaning of 'VAL1' literal object isn't clear, - * there really should be more of a description here... - *
- * - * @see #VAL1 - * @model - * @generated - * @ordered - */ - public static final int VAL1_VALUE = 1; - - /** - * An array of all the 'Bz387752 Enum' enumerators. - * - * - * @generated - */ - private static final Bz387752_Enum[] VALUES_ARRAY = new Bz387752_Enum[] { VAL0, VAL1, }; - - /** - * A public read-only list of all the 'Bz387752 Enum' enumerators. - * - * - * @generated - */ - public static final List- * The following features are supported: - *
"def_value"
.
- *
- * - * If the meaning of the 'Str Unsettable' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Str Unsettable' attribute. - * @see #isSetStrUnsettable() - * @see #unsetStrUnsettable() - * @see #setStrUnsettable(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_StrUnsettable() - * @model default="def_value" unsettable="true" - * @generated - */ - String getStrUnsettable(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable Str Unsettable}' attribute. - * - * - * @param value the new value of the 'Str Unsettable' attribute. - * @see #isSetStrUnsettable() - * @see #unsetStrUnsettable() - * @see #getStrUnsettable() - * @generated - */ - void setStrUnsettable(String value); - - /** - * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable Str Unsettable}' attribute. - * - * - * @see #isSetStrUnsettable() - * @see #getStrUnsettable() - * @see #setStrUnsettable(String) - * @generated - */ - void unsetStrUnsettable(); - - /** - * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable Str Unsettable}' attribute is set. - * - * - * @return whether the value of the 'Str Unsettable' attribute is set. - * @see #unsetStrUnsettable() - * @see #getStrUnsettable() - * @see #setStrUnsettable(String) - * @generated - */ - boolean isSetStrUnsettable(); - - /** - * Returns the value of the 'Str Settable' attribute. - * The default value is"value"
.
- *
- * - * If the meaning of the 'Str Settable' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Str Settable' attribute. - * @see #setStrSettable(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_StrSettable() - * @model default="value" - * @generated - */ - String getStrSettable(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrSettable Str Settable}' attribute. - * - * - * @param value the new value of the 'Str Settable' attribute. - * @see #getStrSettable() - * @generated - */ - void setStrSettable(String value); - - /** - * Returns the value of the 'Enum Settable' attribute. - * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum}. - * - *- * If the meaning of the 'Enum Settable' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Enum Settable' attribute. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum - * @see #setEnumSettable(Bz387752_Enum) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_EnumSettable() - * @model - * @generated - */ - Bz387752_Enum getEnumSettable(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumSettable Enum Settable}' attribute. - * - * - * @param value the new value of the 'Enum Settable' attribute. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum - * @see #getEnumSettable() - * @generated - */ - void setEnumSettable(Bz387752_Enum value); - - /** - * Returns the value of the 'Enum Unsettable' attribute. - * The default value is"VAL1"
.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum}.
- *
- * - * If the meaning of the 'Enum Unsettable' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Enum Unsettable' attribute. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum - * @see #isSetEnumUnsettable() - * @see #unsetEnumUnsettable() - * @see #setEnumUnsettable(Bz387752_Enum) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_EnumUnsettable() - * @model default="VAL1" unsettable="true" - * @generated - */ - Bz387752_Enum getEnumUnsettable(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable Enum Unsettable}' attribute. - * - * - * @param value the new value of the 'Enum Unsettable' attribute. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum - * @see #isSetEnumUnsettable() - * @see #unsetEnumUnsettable() - * @see #getEnumUnsettable() - * @generated - */ - void setEnumUnsettable(Bz387752_Enum value); - - /** - * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable Enum Unsettable}' attribute. - * - * - * @see #isSetEnumUnsettable() - * @see #getEnumUnsettable() - * @see #setEnumUnsettable(Bz387752_Enum) - * @generated - */ - void unsetEnumUnsettable(); - - /** - * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable Enum Unsettable}' attribute is set. - * - * - * @return whether the value of the 'Enum Unsettable' attribute is set. - * @see #unsetEnumUnsettable() - * @see #getEnumUnsettable() - * @see #setEnumUnsettable(Bz387752_Enum) - * @generated - */ - boolean isSetEnumUnsettable(); - -} // Bz387752_Main diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java deleted file mode 100644 index 359cbf8fc4..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz397682 C'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Ref To P' container reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Ref To P' container reference. - * @see #setRefToP(Bz397682P) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_RefToP() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC - * @model opposite="listOfC" transient="false" - * @generated - */ - Bz397682P getRefToP(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP Ref To P}' container reference. - * - * - * @param value the new value of the 'Ref To P' container reference. - * @see #getRefToP() - * @generated - */ - void setRefToP(Bz397682P value); - - /** - * Returns the value of the 'Ref To C' reference. - * - *- * If the meaning of the 'Ref To C' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Ref To C' reference. - * @see #setRefToC(Bz397682C) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_RefToC() - * @model - * @generated - */ - Bz397682C getRefToC(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToC Ref To C}' reference. - * - * - * @param value the new value of the 'Ref To C' reference. - * @see #getRefToC() - * @generated - */ - void setRefToC(Bz397682C value); - - /** - * Returns the value of the 'Db Id' attribute. - * - *- * If the meaning of the 'Db Id' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Db Id' attribute. - * @see #setDbId(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_DbId() - * @model required="true" - * annotation="teneo.jpa value='@Id'" - * @generated - */ - String getDbId(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getDbId Db Id}' attribute. - * - * - * @param value the new value of the 'Db Id' attribute. - * @see #getDbId() - * @generated - */ - void setDbId(String value); - -} // Bz397682C diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java deleted file mode 100644 index 626ab1cc79..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz397682 P'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Db Id' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Db Id' attribute. - * @see #setDbId(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682P_DbId() - * @model required="true" - * annotation="teneo.jpa value='@Id'" - * @generated - */ - String getDbId(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getDbId Db Id}' attribute. - * - * - * @param value the new value of the 'Db Id' attribute. - * @see #getDbId() - * @generated - */ - void setDbId(String value); - - /** - * Returns the value of the 'List Of C' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP Ref To P}'. - * - *- * If the meaning of the 'List Of C' containment reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'List Of C' containment reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682P_ListOfC() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP - * @model opposite="refToP" containment="true" - * @generated - */ - EList- * The following features are supported: - *
- * If the meaning of the 'List Of B' reference list isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'List Of B' containment reference list. - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A_ListOfB() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA - * @model opposite="refToClassA" containment="true" - * @generated - */ - EList- * If the meaning of the 'Db Id' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Db Id' attribute. - * @see #setDbId(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A_DbId() - * @model required="true" - * annotation="teneo.jpa value='@Id'" - * @generated - */ - String getDbId(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getDbId Db Id}' attribute. - * - * - * @param value the new value of the 'Db Id' attribute. - * @see #getDbId() - * @generated - */ - void setDbId(String value); - -} // Bz398057A diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java deleted file mode 100644 index c9ec9eaca5..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -/** - * - * A representation of the model object 'Bz398057 A1'. - * - * - * - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A1() - * @model - * @generated - */ -public interface Bz398057A1 extends Bz398057A -{ -} // Bz398057A1 diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java deleted file mode 100644 index 15ce285103..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EObject; - -/** - * - * A representation of the model object 'Bz398057 B'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Ref To Class A' reference isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Ref To Class A' container reference. - * @see #setRefToClassA(Bz398057A) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_RefToClassA() - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB - * @model opposite="listOfB" transient="false" - * @generated - */ - Bz398057A getRefToClassA(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA Ref To Class A}' container reference. - * - * - * @param value the new value of the 'Ref To Class A' container reference. - * @see #getRefToClassA() - * @generated - */ - void setRefToClassA(Bz398057A value); - - /** - * Returns the value of the 'Value' attribute. - * - *- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Value' attribute. - * @see #setValue(double) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_Value() - * @model - * @generated - */ - double getValue(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(double value); - - /** - * Returns the value of the 'Db Id' attribute. - * - *- * If the meaning of the 'Db Id' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Db Id' attribute. - * @see #setDbId(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_DbId() - * @model required="true" - * annotation="teneo.jpa value='@Id'" - * @generated - */ - String getDbId(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getDbId Db Id}' attribute. - * - * - * @param value the new value of the 'Db Id' attribute. - * @see #getDbId() - * @generated - */ - void setDbId(String value); - -} // Bz398057B diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java deleted file mode 100644 index 79e210b5b1..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -/** - * - * A representation of the model object 'Bz398057 B1'. - * - * - *- * The following features are supported: - *
- * If the meaning of the 'Value Str' attribute isn't clear, - * there really should be more of a description here... - *
- * - * @return the value of the 'Value Str' attribute. - * @see #setValueStr(String) - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B1_ValueStr() - * @model - * @generated - */ - String getValueStr(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1#getValueStr Value Str}' attribute. - * - * - * @param value the new value of the 'Value Str' attribute. - * @see #getValueStr() - * @generated - */ - void setValueStr(String value); -} // Bz398057B1 diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java deleted file mode 100644 index 222eeb7990..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage - * @generated - */ -public interface HibernateTestFactory extends EFactory -{ - /** - * The singleton instance of the factory. - * - * - * @generated - */ - HibernateTestFactory eINSTANCE = org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestFactoryImpl.init(); - - /** - * Returns a new object of class 'Bz356181 Main'. - * - * - * @return a new object of class 'Bz356181 Main'. - * @generated - */ - Bz356181_Main createBz356181_Main(); - - /** - * Returns a new object of class 'Bz356181 Transient'. - * - * - * @return a new object of class 'Bz356181 Transient'. - * @generated - */ - Bz356181_Transient createBz356181_Transient(); - - /** - * Returns a new object of class 'Bz356181 Non Transient'. - * - * - * @return a new object of class 'Bz356181 Non Transient'. - * @generated - */ - Bz356181_NonTransient createBz356181_NonTransient(); - - /** - * Returns a new object of class 'Bz387752 Main'. - * - * - * @return a new object of class 'Bz387752 Main'. - * @generated - */ - Bz387752_Main createBz387752_Main(); - - /** - * Returns a new object of class 'Bz380987 Group'. - * - * - * @return a new object of class 'Bz380987 Group'. - * @generated - */ - Bz380987_Group createBz380987_Group(); - - /** - * Returns a new object of class 'Bz380987 Place'. - * - * - * @return a new object of class 'Bz380987 Place'. - * @generated - */ - Bz380987_Place createBz380987_Place(); - - /** - * Returns a new object of class 'Bz380987 Person'. - * - * - * @return a new object of class 'Bz380987 Person'. - * @generated - */ - Bz380987_Person createBz380987_Person(); - - /** - * Returns a new object of class 'Bz398057 A'. - * - * - * @return a new object of class 'Bz398057 A'. - * @generated - */ - Bz398057A createBz398057A(); - - /** - * Returns a new object of class 'Bz398057 A1'. - * - * - * @return a new object of class 'Bz398057 A1'. - * @generated - */ - Bz398057A1 createBz398057A1(); - - /** - * Returns a new object of class 'Bz398057 B'. - * - * - * @return a new object of class 'Bz398057 B'. - * @generated - */ - Bz398057B createBz398057B(); - - /** - * Returns a new object of class 'Bz398057 B1'. - * - * - * @return a new object of class 'Bz398057 B1'. - * @generated - */ - Bz398057B1 createBz398057B1(); - - /** - * Returns a new object of class 'Bz397682 P'. - * - * - * @return a new object of class 'Bz397682 P'. - * @generated - */ - Bz397682P createBz397682P(); - - /** - * Returns a new object of class 'Bz397682 C'. - * - * - * @return a new object of class 'Bz397682 C'. - * @generated - */ - Bz397682C createBz397682C(); - - /** - * Returns the package supported by this factory. - * - * - * @return the package supported by this factory. - * @generated - */ - HibernateTestPackage getHibernateTestPackage(); - -} // HibernateTestFactory diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java deleted file mode 100644 index 21461a9598..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java +++ /dev/null @@ -1,1403 +0,0 @@ -/* - * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *- * The following features are implemented: - *
- * The following features are implemented: - *
- *
- * - * @generated - */ -public class Bz356181_TransientImpl extends EObjectImpl implements Bz356181_Transient -{ - /** - * - * - * @generated - */ - protected Bz356181_TransientImpl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return HibernateTestPackage.Literals.BZ356181_TRANSIENT; - } - -} // Bz356181_TransientImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java deleted file mode 100644 index faaf3eb8bc..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl; - -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group; -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person; -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage; - -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import java.util.Collection; - -/** - * - * An implementation of the model object 'Bz380987 Group'. - * - *- * The following features are implemented: - *
- * The following features are implemented: - *
- * The following features are implemented: - *
- * The following features are implemented: - *
- * The following features are implemented: - *
- * The following features are implemented: - *
- *
- * - * @generated - */ -public class Bz398057A1Impl extends Bz398057AImpl implements Bz398057A1 -{ - /** - * - * - * @generated - */ - protected Bz398057A1Impl() - { - super(); - } - - /** - * - * - * @generated - */ - @Override - protected EClass eStaticClass() - { - return HibernateTestPackage.Literals.BZ398057_A1; - } - -} // Bz398057A1Impl diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java deleted file mode 100644 index 2a269e8c5d..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java +++ /dev/null @@ -1,267 +0,0 @@ -/* - * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others. - * 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl; - -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A; -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B; -import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import java.util.Collection; - -/** - * - * An implementation of the model object 'Bz398057 A'. - * - *- * The following features are implemented: - *
- * The following features are implemented: - *
- * The following features are implemented: - *
Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#eNS_URI - * @see #init() - * @generated - */ - private HibernateTestPackageImpl() - { - super(eNS_URI, HibernateTestFactory.eINSTANCE); - } - - /** - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *
This method is used to initialize {@link HibernateTestPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- *
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static HibernateTestPackage init()
- {
- if (isInited)
- {
- return (HibernateTestPackage)EPackage.Registry.INSTANCE.getEPackage(HibernateTestPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- HibernateTestPackageImpl theHibernateTestPackage = (HibernateTestPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HibernateTestPackageImpl
- ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HibernateTestPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theHibernateTestPackage.createPackageContents();
-
- // Initialize created meta-data
- theHibernateTestPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theHibernateTestPackage.freeze();
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(HibernateTestPackage.eNS_URI, theHibernateTestPackage);
- return theHibernateTestPackage;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz356181_Main()
- {
- return bz356181_MainEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz356181_Main_Transient()
- {
- return (EAttribute)bz356181_MainEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz356181_Main_NonTransient()
- {
- return (EAttribute)bz356181_MainEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz356181_Main_TransientRef()
- {
- return (EReference)bz356181_MainEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz356181_Main_TransientOtherRef()
- {
- return (EReference)bz356181_MainEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz356181_Transient()
- {
- return bz356181_TransientEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz356181_NonTransient()
- {
- return bz356181_NonTransientEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz356181_NonTransient_Main()
- {
- return (EReference)bz356181_NonTransientEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz387752_Main()
- {
- return bz387752_MainEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz387752_Main_StrUnsettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz387752_Main_StrSettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz387752_Main_EnumSettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz387752_Main_EnumUnsettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz380987_Group()
- {
- return bz380987_GroupEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz380987_Group_People()
- {
- return (EReference)bz380987_GroupEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz380987_Place()
- {
- return bz380987_PlaceEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz380987_Place_Name()
- {
- return (EAttribute)bz380987_PlaceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz380987_Place_People()
- {
- return (EReference)bz380987_PlaceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz380987_Person()
- {
- return bz380987_PersonEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz380987_Person_Name()
- {
- return (EAttribute)bz380987_PersonEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz380987_Person_Group()
- {
- return (EReference)bz380987_PersonEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz380987_Person_Places()
- {
- return (EReference)bz380987_PersonEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz398057A()
- {
- return bz398057AEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz398057A_ListOfB()
- {
- return (EReference)bz398057AEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz398057A_DbId()
- {
- return (EAttribute)bz398057AEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz398057A1()
- {
- return bz398057A1EClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz398057B()
- {
- return bz398057BEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz398057B_RefToClassA()
- {
- return (EReference)bz398057BEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz398057B_Value()
- {
- return (EAttribute)bz398057BEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz398057B_DbId()
- {
- return (EAttribute)bz398057BEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz398057B1()
- {
- return bz398057B1EClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz398057B1_ValueStr()
- {
- return (EAttribute)bz398057B1EClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz397682P()
- {
- return bz397682PEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz397682P_DbId()
- {
- return (EAttribute)bz397682PEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz397682P_ListOfC()
- {
- return (EReference)bz397682PEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EClass getBz397682C()
- {
- return bz397682CEClass;
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz397682C_RefToP()
- {
- return (EReference)bz397682CEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- *
- *
- * @generated
- */
- public EReference getBz397682C_RefToC()
- {
- return (EReference)bz397682CEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- *
- *
- * @generated
- */
- public EAttribute getBz397682C_DbId()
- {
- return (EAttribute)bz397682CEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- *
- *
- * @generated
- */
- public EEnum getBz387752_Enum()
- {
- return bz387752_EnumEEnum;
- }
-
- /**
- *
- *
- * @generated
- */
- public HibernateTestFactory getHibernateTestFactory()
- {
- return (HibernateTestFactory)getEFactoryInstance();
- }
-
- /**
- *
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- *
- *
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated)
- {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- bz356181_MainEClass = createEClass(BZ356181_MAIN);
- createEAttribute(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT);
- createEAttribute(bz356181_MainEClass, BZ356181_MAIN__NON_TRANSIENT);
- createEReference(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT_REF);
- createEReference(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT_OTHER_REF);
-
- bz356181_TransientEClass = createEClass(BZ356181_TRANSIENT);
-
- bz356181_NonTransientEClass = createEClass(BZ356181_NON_TRANSIENT);
- createEReference(bz356181_NonTransientEClass, BZ356181_NON_TRANSIENT__MAIN);
-
- bz387752_MainEClass = createEClass(BZ387752_MAIN);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__STR_UNSETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__STR_SETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__ENUM_SETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__ENUM_UNSETTABLE);
-
- bz380987_GroupEClass = createEClass(BZ380987_GROUP);
- createEReference(bz380987_GroupEClass, BZ380987_GROUP__PEOPLE);
-
- bz380987_PlaceEClass = createEClass(BZ380987_PLACE);
- createEAttribute(bz380987_PlaceEClass, BZ380987_PLACE__NAME);
- createEReference(bz380987_PlaceEClass, BZ380987_PLACE__PEOPLE);
-
- bz380987_PersonEClass = createEClass(BZ380987_PERSON);
- createEAttribute(bz380987_PersonEClass, BZ380987_PERSON__NAME);
- createEReference(bz380987_PersonEClass, BZ380987_PERSON__GROUP);
- createEReference(bz380987_PersonEClass, BZ380987_PERSON__PLACES);
-
- bz398057AEClass = createEClass(BZ398057_A);
- createEReference(bz398057AEClass, BZ398057_A__LIST_OF_B);
- createEAttribute(bz398057AEClass, BZ398057_A__DB_ID);
-
- bz398057A1EClass = createEClass(BZ398057_A1);
-
- bz398057BEClass = createEClass(BZ398057_B);
- createEReference(bz398057BEClass, BZ398057_B__REF_TO_CLASS_A);
- createEAttribute(bz398057BEClass, BZ398057_B__VALUE);
- createEAttribute(bz398057BEClass, BZ398057_B__DB_ID);
-
- bz398057B1EClass = createEClass(BZ398057_B1);
- createEAttribute(bz398057B1EClass, BZ398057_B1__VALUE_STR);
-
- bz397682PEClass = createEClass(BZ397682_P);
- createEAttribute(bz397682PEClass, BZ397682_P__DB_ID);
- createEReference(bz397682PEClass, BZ397682_P__LIST_OF_C);
-
- bz397682CEClass = createEClass(BZ397682_C);
- createEReference(bz397682CEClass, BZ397682_C__REF_TO_P);
- createEReference(bz397682CEClass, BZ397682_C__REF_TO_C);
- createEAttribute(bz397682CEClass, BZ397682_C__DB_ID);
-
- // Create enums
- bz387752_EnumEEnum = createEEnum(BZ387752_ENUM);
- }
-
- /**
- *
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- *
- *
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized)
- {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- bz398057A1EClass.getESuperTypes().add(getBz398057A());
- bz398057B1EClass.getESuperTypes().add(getBz398057B());
-
- // Initialize classes and features; add operations and parameters
- initEClass(bz356181_MainEClass, Bz356181_Main.class, "Bz356181_Main", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz356181_Main_Transient(), ecorePackage.getEString(), "transient", null, 0, 1, Bz356181_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz356181_Main_NonTransient(), ecorePackage.getEString(), "nonTransient", null, 0, 1, Bz356181_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz356181_Main_TransientRef(), getBz356181_Transient(), null, "transientRef", null, 0, 1, Bz356181_Main.class, IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz356181_Main_TransientOtherRef(), getBz356181_NonTransient(), null, "transientOtherRef", null, 0, 1, Bz356181_Main.class, IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz356181_TransientEClass, Bz356181_Transient.class, "Bz356181_Transient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(bz356181_NonTransientEClass, Bz356181_NonTransient.class, "Bz356181_NonTransient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz356181_NonTransient_Main(), getBz356181_Main(), null, "main", null, 0, 1, Bz356181_NonTransient.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz387752_MainEClass, Bz387752_Main.class, "Bz387752_Main", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz387752_Main_StrUnsettable(), ecorePackage.getEString(), "strUnsettable", "def_value", 0, 1, Bz387752_Main.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_StrSettable(), ecorePackage.getEString(), "strSettable", "value", 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_EnumSettable(), getBz387752_Enum(), "enumSettable", null, 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_EnumUnsettable(), getBz387752_Enum(), "enumUnsettable", "VAL1", 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_GroupEClass, Bz380987_Group.class, "Bz380987_Group", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz380987_Group_People(), getBz380987_Person(), getBz380987_Person_Group(), "people", null, 0, -1, Bz380987_Group.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_PlaceEClass, Bz380987_Place.class, "Bz380987_Place", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz380987_Place_Name(), ecorePackage.getEString(), "name", null, 0, 1, Bz380987_Place.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Place_People(), getBz380987_Person(), getBz380987_Person_Places(), "people", null, 0, -1, Bz380987_Place.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_PersonEClass, Bz380987_Person.class, "Bz380987_Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz380987_Person_Name(), ecorePackage.getEString(), "name", null, 0, 1, Bz380987_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Person_Group(), getBz380987_Group(), getBz380987_Group_People(), "group", null, 0, -1, Bz380987_Person.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Person_Places(), getBz380987_Place(), getBz380987_Place_People(), "places", null, 0, -1, Bz380987_Person.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057AEClass, Bz398057A.class, "Bz398057A", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz398057A_ListOfB(), getBz398057B(), getBz398057B_RefToClassA(), "listOfB", null, 0, -1, Bz398057A.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057A_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz398057A.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057A1EClass, Bz398057A1.class, "Bz398057A1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(bz398057BEClass, Bz398057B.class, "Bz398057B", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz398057B_RefToClassA(), getBz398057A(), getBz398057A_ListOfB(), "refToClassA", null, 0, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057B_Value(), ecorePackage.getEDouble(), "value", null, 0, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057B_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057B1EClass, Bz398057B1.class, "Bz398057B1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz398057B1_ValueStr(), ecorePackage.getEString(), "valueStr", null, 0, 1, Bz398057B1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz397682PEClass, Bz397682P.class, "Bz397682P", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz397682P_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz397682P.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz397682P_ListOfC(), getBz397682C(), getBz397682C_RefToP(), "listOfC", null, 0, -1, Bz397682P.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz397682CEClass, Bz397682C.class, "Bz397682C", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz397682C_RefToP(), getBz397682P(), getBz397682P_ListOfC(), "refToP", null, 0, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz397682C_RefToC(), getBz397682C(), null, "refToC", null, 0, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz397682C_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(bz387752_EnumEEnum, Bz387752_Enum.class, "Bz387752_Enum");
- addEEnumLiteral(bz387752_EnumEEnum, Bz387752_Enum.VAL0);
- addEEnumLiteral(bz387752_EnumEEnum, Bz387752_Enum.VAL1);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * Initializes the annotations for teneo.jpa.
- *
- *
- * @generated
- */
- protected void createTeneoAnnotations()
- {
- String source = "teneo.jpa";
- addAnnotation(getBz356181_Main_Transient(), source, new String[] { "value", "@Transient" });
- addAnnotation(bz356181_TransientEClass, source, new String[] { "value", "@Transient" });
- addAnnotation(bz398057AEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz398057A_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(bz398057BEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz398057B_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(bz397682PEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz397682P_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(getBz397682C_DbId(), source, new String[] { "value", "@Id" });
- }
-
-} // HibernateTestPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java
deleted file mode 100644
index 2ec105e1ee..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java
+++ /dev/null
@@ -1,402 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.util;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * The Adapter Factory for the model.
- * It provides an adapter createXXX
method for each class of the model.
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage
- * @generated
- */
-public class HibernateTestAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- *
- *
- * @generated
- */
- protected static HibernateTestPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- *
- *
- * @generated
- */
- public HibernateTestAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = HibernateTestPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- *
- * This implementation returns true
if the object is either the model's package or is an instance object of the model.
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the createXXX
methods.
- *
- *
- * @generated
- */
- protected HibernateTestSwitchtarget
.
- *
- *
- * @param target the object to adapt.
- * @return the adapter for the target
.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main Bz356181 Main}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main
- * @generated
- */
- public Adapter createBz356181_MainAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient Bz356181 Transient}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient
- * @generated
- */
- public Adapter createBz356181_TransientAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient Bz356181 Non Transient}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient
- * @generated
- */
- public Adapter createBz356181_NonTransientAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main Bz387752 Main}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main
- * @generated
- */
- public Adapter createBz387752_MainAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group Bz380987 Group}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group
- * @generated
- */
- public Adapter createBz380987_GroupAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place Bz380987 Place}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place
- * @generated
- */
- public Adapter createBz380987_PlaceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person Bz380987 Person}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person
- * @generated
- */
- public Adapter createBz380987_PersonAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A Bz398057 A}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A
- * @generated
- */
- public Adapter createBz398057AAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1 Bz398057 A1}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1
- * @generated
- */
- public Adapter createBz398057A1Adapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B Bz398057 B}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B
- * @generated
- */
- public Adapter createBz398057BAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1 Bz398057 B1}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1
- * @generated
- */
- public Adapter createBz398057B1Adapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P Bz397682 P}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P
- * @generated
- */
- public Adapter createBz397682PAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C Bz397682 C}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C
- * @generated
- */
- public Adapter createBz397682CAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- *
- * This default implementation returns null.
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} // HibernateTestAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java
deleted file mode 100644
index e9308089ea..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java
+++ /dev/null
@@ -1,463 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.util;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-
-/**
- *
- * The Switch for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the caseXXX
method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage
- * @generated
- */
-public class HibernateTestSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
- *
- *
- * @return the first non-null result returned by a caseXXX
call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case HibernateTestPackage.BZ356181_MAIN:
- {
- Bz356181_Main bz356181_Main = (Bz356181_Main)theEObject;
- T result = caseBz356181_Main(bz356181_Main);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ356181_TRANSIENT:
- {
- Bz356181_Transient bz356181_Transient = (Bz356181_Transient)theEObject;
- T result = caseBz356181_Transient(bz356181_Transient);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ356181_NON_TRANSIENT:
- {
- Bz356181_NonTransient bz356181_NonTransient = (Bz356181_NonTransient)theEObject;
- T result = caseBz356181_NonTransient(bz356181_NonTransient);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ387752_MAIN:
- {
- Bz387752_Main bz387752_Main = (Bz387752_Main)theEObject;
- T result = caseBz387752_Main(bz387752_Main);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_GROUP:
- {
- Bz380987_Group bz380987_Group = (Bz380987_Group)theEObject;
- T result = caseBz380987_Group(bz380987_Group);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_PLACE:
- {
- Bz380987_Place bz380987_Place = (Bz380987_Place)theEObject;
- T result = caseBz380987_Place(bz380987_Place);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_PERSON:
- {
- Bz380987_Person bz380987_Person = (Bz380987_Person)theEObject;
- T result = caseBz380987_Person(bz380987_Person);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_A:
- {
- Bz398057A bz398057A = (Bz398057A)theEObject;
- T result = caseBz398057A(bz398057A);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_A1:
- {
- Bz398057A1 bz398057A1 = (Bz398057A1)theEObject;
- T result = caseBz398057A1(bz398057A1);
- if (result == null)
- {
- result = caseBz398057A(bz398057A1);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_B:
- {
- Bz398057B bz398057B = (Bz398057B)theEObject;
- T result = caseBz398057B(bz398057B);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_B1:
- {
- Bz398057B1 bz398057B1 = (Bz398057B1)theEObject;
- T result = caseBz398057B1(bz398057B1);
- if (result == null)
- {
- result = caseBz398057B(bz398057B1);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ397682_P:
- {
- Bz397682P bz397682P = (Bz397682P)theEObject;
- T result = caseBz397682P(bz397682P);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ397682_C:
- {
- Bz397682C bz397682C = (Bz397682C)theEObject;
- T result = caseBz397682C(bz397682C);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz356181 Main'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz356181 Main'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_Main(Bz356181_Main object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz356181 Transient'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz356181 Transient'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_Transient(Bz356181_Transient object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz356181 Non Transient'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz356181 Non Transient'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_NonTransient(Bz356181_NonTransient object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz387752 Main'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz387752 Main'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz387752_Main(Bz387752_Main object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz380987 Group'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz380987 Group'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Group(Bz380987_Group object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz380987 Place'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz380987 Place'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Place(Bz380987_Place object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz380987 Person'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz380987 Person'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Person(Bz380987_Person object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz398057 A'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz398057 A'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057A(Bz398057A object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz398057 A1'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz398057 A1'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057A1(Bz398057A1 object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz398057 B'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz398057 B'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057B(Bz398057B object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz398057 B1'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz398057 B1'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057B1(Bz398057B1 object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz397682 P'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz397682 P'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz397682P(Bz397682P object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Bz397682 C'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Bz397682 C'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz397682C(Bz397682C object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'EObject'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'EObject'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // HibernateTestSwitch
--
cgit v1.2.3