diff options
author | kmoore | 2011-08-25 20:29:29 +0000 |
---|---|---|
committer | kmoore | 2011-08-25 20:29:29 +0000 |
commit | bcfb8e678efc6ae9004a0feb73b0843114c002c2 (patch) | |
tree | 22ae1c59b74536a6d746349f513ad0c77e0b595d /jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context | |
parent | fb5b6fb42d48464f74691828c0ad32825e428ff9 (diff) | |
download | webtools.dali-bcfb8e678efc6ae9004a0feb73b0843114c002c2.tar.gz webtools.dali-bcfb8e678efc6ae9004a0feb73b0843114c002c2.tar.xz webtools.dali-bcfb8e678efc6ae9004a0feb73b0843114c002c2.zip |
bug 354444 - Invalid ORM ElementCollection target-class validation with package element
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/EntityMappings.java | 9 |
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 ********** |