Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java
index 0e77913758..5d7e79ee68 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java
@@ -165,6 +165,15 @@ public interface EntityMappings
*/
PersistentType resolvePersistentType(String className);
+ /**
+ * Return the JDT IType resource type for the specified class name
+ * found in the Java project. First look for one with the specified
+ * name (since it might be fully qualified). If not found, prepend the
+ * default package name and try again.
+ *
+ * @see #getPackage()
+ */
+ IType resolveJdtType(String className);
// ********** refactoring **********

Back to the top