diff options
author | kmoore | 2007-05-08 17:21:41 +0000 |
---|---|---|
committer | kmoore | 2007-05-08 17:21:41 +0000 |
commit | 8d7e9637af1a4d5372d7f5c3d5f54292e843a7c4 (patch) | |
tree | 5b9891cb596194d0cf9d416888f8b9344b8bee9c /jpa/plugins/org.eclipse.jpt.core/model | |
parent | 6bae753eba0cf1d9920a7a3b549f2465de9f4688 (diff) | |
download | webtools.dali-8d7e9637af1a4d5372d7f5c3d5f54292e843a7c4.tar.gz webtools.dali-8d7e9637af1a4d5372d7f5c3d5f54292e843a7c4.tar.xz webtools.dali-8d7e9637af1a4d5372d7f5c3d5f54292e843a7c4.zip |
185983 - added model and UI support for m-1 and 1-1 optional element
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/model')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/model/core.ecore | 1 | ||||
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/model/core.ecore b/jpa/plugins/org.eclipse.jpt.core/model/core.ecore index 3add083978..8c93cfb890 100644 --- a/jpa/plugins/org.eclipse.jpt.core/model/core.ecore +++ b/jpa/plugins/org.eclipse.jpt.core/model/core.ecore @@ -319,6 +319,7 @@ upperBound="-1" eType="#//mappings/IJoinColumn" containment="true"/> <eStructuralFeatures xsi:type="ecore:EReference" name="defaultJoinColumns" upperBound="-1" eType="#//mappings/IJoinColumn" containment="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="optional" eType="#//mappings/DefaultTrueBoolean"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="IManyToOne" abstract="true" interface="true" eSuperTypes="#//mappings/ISingleRelationshipMapping"/> diff --git a/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel b/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel index ce8d67756d..8850b7a79d 100644 --- a/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel +++ b/jpa/plugins/org.eclipse.jpt.core/model/coreModels.genmodel @@ -279,6 +279,7 @@ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference core.ecore#//mappings/ISingleRelationshipMapping/joinColumns"/> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/ISingleRelationshipMapping/specifiedJoinColumns"/> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference core.ecore#//mappings/ISingleRelationshipMapping/defaultJoinColumns"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//mappings/ISingleRelationshipMapping/optional"/> </genClasses> <genClasses ecoreClass="core.ecore#//mappings/IManyToOne"/> <genClasses image="false" ecoreClass="core.ecore#//mappings/IOneToOne"/> |