Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMartin Taal2012-05-05 05:56:15 +0000
committerMartin Taal2012-05-05 05:56:15 +0000
commitefaa9c5d4ec2d3a86626cc8d8906a6b1eed83ddf (patch)
treed58889973021df5bba22f37b7bd54ac6cabf0b1e /core
parent7a76f0b4a2789eee5e4fdeab04fc207e2332422b (diff)
downloadorg.eclipse.emf.teneo-efaa9c5d4ec2d3a86626cc8d8906a6b1eed83ddf.tar.gz
org.eclipse.emf.teneo-efaa9c5d4ec2d3a86626cc8d8906a6b1eed83ddf.tar.xz
org.eclipse.emf.teneo-efaa9c5d4ec2d3a86626cc8d8906a6b1eed83ddf.zip
Prevent compile errors on helios
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt8
-rwxr-xr-xcore/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java2
-rw-r--r--[-rwxr-xr-x]core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java10
-rwxr-xr-xcore/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java2
-rwxr-xr-xcore/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java19
5 files changed, 19 insertions, 22 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt b/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt
index 346495254..100c64e33 100644
--- a/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt
+++ b/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt
@@ -63,10 +63,12 @@ Added AssociationOverride.joinTable
- MapKeyJoinColumn --> New
- MapKeyTemporal --> New
- MapsId --> New
+- OrderColumn --> New
+- SequenceGenerator:
+Added catalog and schema
+
+== Done ==
- OneToMany:
Added OneToMany.orphanRemoval
- OneToOne:
Added OneToOne.orphanRemoval
-- OrderColumn --> New
-- SequenceGenerator:
-Added catalog and schema
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java
index 264e5d9e9..388403c44 100755
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java
@@ -130,7 +130,7 @@ public class PamodelAdapterFactory extends AdapterFactoryImpl {
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch(0, (EObject)target);
}
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java
index b277de700..226073008 100755..100644
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java
@@ -6,13 +6,8 @@
*/
package org.eclipse.emf.teneo.annotations.pamodel.util;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.emf.teneo.annotations.pamodel.*;
import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEAttribute;
import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEClass;
import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEDataType;
@@ -33,7 +28,7 @@ import org.eclipse.emf.teneo.annotations.pamodel.PamodelPackage;
* @see org.eclipse.emf.teneo.annotations.pamodel.PamodelPackage
* @generated
*/
-public class PamodelSwitch<T> extends Switch<T> {
+public class PamodelSwitch<T> {
/**
* The cached model package
* <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -60,7 +55,6 @@ public class PamodelSwitch<T> extends Switch<T> {
* @return whether this is a switch for the given package.
* @generated
*/
- @Override
protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
@@ -71,7 +65,6 @@ public class PamodelSwitch<T> extends Switch<T> {
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
- @Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case PamodelPackage.PANNOTATED_EMODEL_ELEMENT: {
@@ -272,7 +265,6 @@ public class PamodelSwitch<T> extends Switch<T> {
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
- @Override
public T defaultCase(EObject object) {
return null;
}
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java
index fda9d7cd4..1f353d628 100755
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java
@@ -330,7 +330,7 @@ public class PannotationAdapterFactory extends AdapterFactoryImpl {
*/
@Override
public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
+ return modelSwitch.doSwitch(0, (EObject)target);
}
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java
index df0699478..99f41cd7d 100755
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java
@@ -6,20 +6,18 @@
*/
package org.eclipse.emf.teneo.annotations.pannotation.util;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.emf.teneo.annotations.pannotation.*;
import org.eclipse.emf.teneo.annotations.pannotation.AssociationOverride;
import org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride;
import org.eclipse.emf.teneo.annotations.pannotation.Basic;
+import org.eclipse.emf.teneo.annotations.pannotation.Cacheable;
+import org.eclipse.emf.teneo.annotations.pannotation.CollectionTable;
import org.eclipse.emf.teneo.annotations.pannotation.Column;
import org.eclipse.emf.teneo.annotations.pannotation.DiscriminatorColumn;
import org.eclipse.emf.teneo.annotations.pannotation.DiscriminatorValue;
import org.eclipse.emf.teneo.annotations.pannotation.EAVMapping;
+import org.eclipse.emf.teneo.annotations.pannotation.ElementCollection;
import org.eclipse.emf.teneo.annotations.pannotation.Embeddable;
import org.eclipse.emf.teneo.annotations.pannotation.Embedded;
import org.eclipse.emf.teneo.annotations.pannotation.EmbeddedId;
@@ -38,11 +36,18 @@ import org.eclipse.emf.teneo.annotations.pannotation.Lob;
import org.eclipse.emf.teneo.annotations.pannotation.ManyToMany;
import org.eclipse.emf.teneo.annotations.pannotation.ManyToOne;
import org.eclipse.emf.teneo.annotations.pannotation.MapKey;
+import org.eclipse.emf.teneo.annotations.pannotation.MapKeyClass;
+import org.eclipse.emf.teneo.annotations.pannotation.MapKeyColumn;
+import org.eclipse.emf.teneo.annotations.pannotation.MapKeyEnumerated;
+import org.eclipse.emf.teneo.annotations.pannotation.MapKeyJoinColumn;
+import org.eclipse.emf.teneo.annotations.pannotation.MapKeyTemporal;
import org.eclipse.emf.teneo.annotations.pannotation.MappedSuperclass;
+import org.eclipse.emf.teneo.annotations.pannotation.MapsId;
import org.eclipse.emf.teneo.annotations.pannotation.NoEAVMapping;
import org.eclipse.emf.teneo.annotations.pannotation.OneToMany;
import org.eclipse.emf.teneo.annotations.pannotation.OneToOne;
import org.eclipse.emf.teneo.annotations.pannotation.OrderBy;
+import org.eclipse.emf.teneo.annotations.pannotation.OrderColumn;
import org.eclipse.emf.teneo.annotations.pannotation.PAnnotation;
import org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage;
import org.eclipse.emf.teneo.annotations.pannotation.PrimaryKeyJoinColumn;
@@ -69,7 +74,7 @@ import org.eclipse.emf.teneo.annotations.pannotation.Version;
* @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage
* @generated
*/
-public class PannotationSwitch<T> extends Switch<T> {
+public class PannotationSwitch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
@@ -110,7 +115,6 @@ public class PannotationSwitch<T> extends Switch<T> {
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
- @Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case PannotationPackage.PANNOTATION: {
@@ -1249,7 +1253,6 @@ public class PannotationSwitch<T> extends Switch<T> {
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
- @Override
public T defaultCase(EObject object) {
return null;
}

Back to the top