Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java')
-rwxr-xr-xhibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java
index 0574d4343..93b7295cb 100755
--- a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java
+++ b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/annotations/HbEAnnotationParserImporter.java
@@ -15,6 +15,8 @@
*/
package org.eclipse.emf.teneo.hibernate.annotations;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.teneo.annotations.parser.EAnnotationParserImporter;
@@ -30,11 +32,11 @@ public class HbEAnnotationParserImporter extends EAnnotationParserImporter {
/** Returns true if the source is a hibernate source or a generic source */
@Override
- protected boolean isValidSource(String source) {
+ protected boolean isValidSource(String source, EList<EAnnotation> eAnnotations) {
if (source == null) {
return false;
}
- return source.startsWith("teneo.hibernate") || super.isValidSource(source);
+ return source.startsWith("teneo.hibernate") || super.isValidSource(source, eAnnotations);
}
/*

Back to the top