1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Copyright (c) 2013 hangum.
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the GNU Lesser Public License v2.1
6 which accompanies this distribution, and is available at
7 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10 hangum - initial API and implementation
12 <genmodel:GenModel xmi:
version=
"2.0" xmlns:
xmi=
"http://www.omg.org/XMI" xmlns:
ecore=
"http://www.eclipse.org/emf/2002/Ecore"
13 xmlns:
genmodel=
"http://www.eclipse.org/emf/2002/GenModel" modelDirectory=
"/com.hangum.tadpole.mongodb.model/src" editDirectory=
"/com.hangum.tadpole.mongodb.model.edit/src"
14 editorDirectory=
"/com.hangum.tadpole.mongodb.model.editor/src" modelPluginID=
"com.hangum.tadpole.mongodb.model"
15 redirection=
"" modelName=
"Mongodb" editPluginClass=
"com.hangum.tadpole.mongodb.provider.MongodbEditPlugin"
16 editorPluginClass=
"com.hangum.tadpole.mongodb.presentation.MongodbEditorPlugin"
17 testSuiteClass=
"com.hangum.tadpole.mongodb.tests.MongodbAllTests" importerID=
"org.eclipse.emf.importer.ecore"
18 complianceLevel=
"7.0" copyrightFields=
"false" editPluginID=
"com.hangum.tadpole.mongodb.model.edit"
19 editorPluginID=
"com.hangum.tadpole.mongodb.model.editor">
20 <foreignModel>mongodb.ecore
</foreignModel>
21 <genPackages prefix=
"Mongodb" basePackage=
"com.hangum.tadpole" disposableProviderFactory=
"true"
22 interfacePackageSuffix=
"model" metaDataPackageSuffix=
"model" classPackageSuffix=
"model.impl"
23 utilityPackageSuffix=
"model.util" providerPackageSuffix=
"model.provider" presentationPackageSuffix=
"model.presentation"
24 testsPackageSuffix=
"model.tests" ecorePackage=
"mongodb.ecore#/">
25 <genEnums typeSafeEnumCompatible=
"false" ecoreEnum=
"mongodb.ecore#//RelationKind">
26 <genEnumLiterals ecoreEnumLiteral=
"mongodb.ecore#//RelationKind/ONLY_ONE"/>
27 <genEnumLiterals ecoreEnumLiteral=
"mongodb.ecore#//RelationKind/ZERO_OR_ONE"/>
28 <genEnumLiterals ecoreEnumLiteral=
"mongodb.ecore#//RelationKind/ZERO_OR_MANY"/>
29 <genEnumLiterals ecoreEnumLiteral=
"mongodb.ecore#//RelationKind/ONE_OR_MANY"/>
31 <genDataTypes ecoreDataType=
"mongodb.ecore#//Rectangle"/>
32 <genDataTypes ecoreDataType=
"mongodb.ecore#//Point"/>
33 <genClasses ecoreClass=
"mongodb.ecore#//DB">
34 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/dbType"/>
35 <genFeatures property=
"None" children=
"true" createChild=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//DB/tables"/>
36 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/key"/>
37 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/url"/>
38 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/id"/>
39 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/sid"/>
40 <genFeatures property=
"None" children=
"true" createChild=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//DB/references"/>
41 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//DB/comment"/>
43 <genClasses ecoreClass=
"mongodb.ecore#//Table">
44 <genFeatures property=
"None" children=
"true" createChild=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/columns"/>
45 <genFeatures property=
"None" notify=
"false" createChild=
"false" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/db"/>
46 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Table/name"/>
47 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Table/constraints"/>
48 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/incomingLinks"/>
49 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/outgoingLinks"/>
50 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Table/logicalName"/>
51 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Table/comment"/>
52 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/UserCommentReference"/>
53 <genFeatures property=
"None" children=
"true" createChild=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Table/subDoc"/>
55 <genClasses ecoreClass=
"mongodb.ecore#//Column">
56 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/field"/>
57 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/type"/>
58 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/default"/>
59 <genFeatures property=
"None" notify=
"false" createChild=
"false" ecoreFeature=
"ecore:EReference mongodb.ecore#//Column/table"/>
60 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/logicalField"/>
61 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/key"/>
62 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Column/comment"/>
64 <genClasses ecoreClass=
"mongodb.ecore#//Relation">
65 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Relation/source"/>
66 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//Relation/target"/>
67 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/source_kind"/>
68 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/target_kind"/>
69 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/column_name"/>
70 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/referenced_column_name"/>
71 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/bendpoint"/>
72 <genFeatures property=
"None" notify=
"false" createChild=
"false" ecoreFeature=
"ecore:EReference mongodb.ecore#//Relation/db"/>
73 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/comment"/>
74 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//Relation/constraint_name"/>
76 <genClasses ecoreClass=
"mongodb.ecore#//View">
77 <genFeatures notify=
"false" createChild=
"false" propertySortChoices=
"true" ecoreFeature=
"ecore:EReference mongodb.ecore#//View/tableName"/>
79 <genClasses ecoreClass=
"mongodb.ecore#//ERDInfo">
80 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//ERDInfo/autoLayout"/>
81 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//ERDInfo/version"/>
82 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//ERDInfo/autoLayout_type"/>
84 <genClasses ecoreClass=
"mongodb.ecore#//UserComment">
85 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//UserComment/comment"/>
87 <genClasses ecoreClass=
"mongodb.ecore#//test"/>
88 <genClasses ecoreClass=
"mongodb.ecore#//SubDocument">
89 <genFeatures createChild=
"false" ecoreFeature=
"ecore:EAttribute mongodb.ecore#//SubDocument/name"/>
90 <genFeatures property=
"None" notify=
"false" createChild=
"false" ecoreFeature=
"ecore:EReference mongodb.ecore#//SubDocument/sucDocTable"/>