diff options
author | mtaal | 2006-11-18 14:16:57 +0000 |
---|---|---|
committer | mtaal | 2006-11-18 14:16:57 +0000 |
commit | 70c80eb817bfd831986e035b3e7093328c3511f4 (patch) | |
tree | 1b8050c2bc4c30b4f8aef8756a6ea79dc0288a2b /plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo | |
parent | 7fd6faef1311224d878b764eb8f44971a9bcc69c (diff) | |
download | org.eclipse.emf.teneo-70c80eb817bfd831986e035b3e7093328c3511f4.tar.gz org.eclipse.emf.teneo-70c80eb817bfd831986e035b3e7093328c3511f4.tar.xz org.eclipse.emf.teneo-70c80eb817bfd831986e035b3e7093328c3511f4.zip |
[165070]
Diffstat (limited to 'plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo')
-rw-r--r-- | plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/mapper/DefaultAnnotator.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/mapper/DefaultAnnotator.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/mapper/DefaultAnnotator.java index 50f0babaa..cc6e48779 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/mapper/DefaultAnnotator.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/mapper/DefaultAnnotator.java @@ -11,7 +11,7 @@ * Martin Taal * </copyright> * - * $Id: DefaultAnnotator.java,v 1.16 2006/11/16 13:36:00 mtaal Exp $ + * $Id: DefaultAnnotator.java,v 1.17 2006/11/18 14:16:57 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.mapper; @@ -80,7 +80,7 @@ import org.eclipse.emf.teneo.util.StoreUtil; * information. It sets the default annotations according to the ejb3 spec. * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.16 $ + * @version $Revision: 1.17 $ */ public class DefaultAnnotator { @@ -420,8 +420,9 @@ public class DefaultAnnotator { // - transietn is true and it's opposite is not a containment relation final boolean isTransient = eStructuralFeature.isTransient() && (eStructuralFeature instanceof EAttribute - || ((EReference) eStructuralFeature).getEOpposite() == null || !((EReference) eStructuralFeature) - .getEOpposite().isContainment()); + || ((EReference) eStructuralFeature).getEOpposite() == null || + !((EReference) eStructuralFeature).getEOpposite().isContainment() || + ((EReference) eStructuralFeature).getEOpposite().isTransient()); if (aStructuralFeature.getTransient() == null && (eStructuralFeature.isVolatile() || isTransient)) { log.debug("Structural feature " + eStructuralFeature.getName() |