diff options
author | kmoore | 2012-02-02 16:35:08 +0000 |
---|---|---|
committer | kmoore | 2012-02-02 16:35:08 +0000 |
commit | 830e68343f2a983859f376cbcac8bab17f8aa764 (patch) | |
tree | 54953a67a60f656b2bcfe4a5bbba2752ec2b9781 /jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java | |
parent | 3df915a8b6354262d293bb78e6f095d170f52a2a (diff) | |
download | webtools.dali-830e68343f2a983859f376cbcac8bab17f8aa764.tar.gz webtools.dali-830e68343f2a983859f376cbcac8bab17f8aa764.tar.xz webtools.dali-830e68343f2a983859f376cbcac8bab17f8aa764.zip |
Bug 277017 - class chooser widgets don't work if package is set in orm.xml
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java index 16cf97465b..0fc8782e84 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/RelationshipMapping.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2011 Oracle. All rights reserved. + * Copyright (c) 2006, 2012 Oracle. 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. @@ -9,6 +9,8 @@ ******************************************************************************/ package org.eclipse.jpt.jpa.core.context; +import org.eclipse.jdt.core.IType; + /** * JPA relationship (1:1, 1:m, m:1, m:m) mapping. * <p> @@ -18,7 +20,7 @@ package org.eclipse.jpt.jpa.core.context; * pioneering adopters on the understanding that any code that uses this API * will almost certainly be broken (repeatedly) as the API evolves. * - * @version 2.3 + * @version 3.2 * @since 2.0 */ public interface RelationshipMapping @@ -61,7 +63,14 @@ public interface RelationshipMapping * @see org.eclipse.jdt.core.IType#getFullyQualifiedName(char) */ char getTargetEntityEnclosingTypeSeparator(); - + + /** + * Return the {@link IType} that is resolved from the target entity name + * or null if none exists. + */ + IType getTargetEntityJdtType(); + + // **************** cascade ************************************** Cascade getCascade(); |