Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2007-05-07 15:52:45 +0000
committerkmoore2007-05-07 15:52:45 +0000
commitfbb558a7b717ef2b2031f7993fb6a7bed5c2a7b0 (patch)
treeddfe43469ed39a6a93dba7ad7ffdeb46c37116c9 /jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel
parentf4bf44aa6b97ba82134ba386482bdccefe836e86 (diff)
downloadwebtools.dali-fbb558a7b717ef2b2031f7993fb6a7bed5c2a7b0.tar.gz
webtools.dali-fbb558a7b717ef2b2031f7993fb6a7bed5c2a7b0.tar.xz
webtools.dali-fbb558a7b717ef2b2031f7993fb6a7bed5c2a7b0.zip
added secondary table pk joinColumns support to the model
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel15
1 files changed, 9 insertions, 6 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel b/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel
index 44f0351c69..8482f39ca5 100644
--- a/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel
+++ b/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel
@@ -156,6 +156,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/IEntity/specifiedName"/>
<genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/IEntity/defaultName"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/IEntity/table"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/IEntity/specifiedSecondaryTables"/>
<genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference core.ecore#//mappings/IEntity/primaryKeyJoinColumns"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/IEntity/specifiedPrimaryKeyJoinColumns"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/IEntity/defaultPrimaryKeyJoinColumns"/>
@@ -312,7 +313,12 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/IDiscriminatorColumn/specifiedLength"/>
<genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/IDiscriminatorColumn/length"/>
</genClasses>
- <genClasses ecoreClass="core.ecore#//mappings/ISecondaryTable"/>
+ <genClasses ecoreClass="core.ecore#//mappings/ISecondaryTable">
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference core.ecore#//mappings/ISecondaryTable/primaryKeyJoinColumns"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/ISecondaryTable/specifiedPrimaryKeyJoinColumns"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/ISecondaryTable/defaultPrimaryKeyJoinColumns"/>
+ <genOperations ecoreOperation="core.ecore#//mappings/ISecondaryTable/typeMapping"/>
+ </genClasses>
<genClasses image="false" ecoreClass="core.ecore#//mappings/IPrimaryKeyJoinColumn"/>
<genClasses image="false" ecoreClass="core.ecore#//mappings/IGenerator">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/IGenerator/name"/>
@@ -399,9 +405,7 @@
<nestedGenPackages prefix="JpaJavaMappings" basePackage="org.eclipse.jpt.core.internal.content.java"
disposableProviderFactory="true" ecorePackage="java.ecore#//mappings">
<genClasses image="false" ecoreClass="java.ecore#//mappings/JavaTypeMapping"/>
- <genClasses ecoreClass="java.ecore#//mappings/JavaEntity">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference java.ecore#//mappings/JavaEntity/secondaryTables"/>
- </genClasses>
+ <genClasses ecoreClass="java.ecore#//mappings/JavaEntity"/>
<genClasses ecoreClass="java.ecore#//mappings/JavaMappedSuperclass"/>
<genClasses ecoreClass="java.ecore#//mappings/JavaEmbeddable"/>
<genClasses ecoreClass="java.ecore#//mappings/JavaNullTypeMapping"/>
@@ -503,8 +507,7 @@
</genClasses>
<genClasses ecoreClass="orm.ecore#//XmlEntity">
<genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference orm.ecore#//XmlEntity/secondaryTables"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference orm.ecore#//XmlEntity/specifiedSecondaryTables"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference orm.ecore#//XmlEntity/defaultSecondaryTables"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference orm.ecore#//XmlEntity/virtualSecondaryTables"/>
</genClasses>
<genClasses ecoreClass="orm.ecore#//XmlEmbeddable"/>
<genClasses image="false" ecoreClass="orm.ecore#//XmlAttributeMapping">

Back to the top