- 코드 커맨트 추가. -999는 좀 고민해 봐야할듯.
[Tadpole.git] / com.hangum.tadpole.rdb.model / model / rdb.ecore
blob31edb8bc1d7af4df3fd96972afe213dece53873e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="rdb" nsURI="http://com.hangum.tadpole.rdb.model.ERDInfo" nsPrefix="rdb">
4 <eClassifiers xsi:type="ecore:EClass" name="DB" eSuperTypes="#//ERDInfo">
5 <eStructuralFeatures xsi:type="ecore:EAttribute" name="dbType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
6 <eStructuralFeatures xsi:type="ecore:EReference" name="tables" upperBound="-1"
7 eType="#//Table" containment="true" eOpposite="#//Table/db"/>
8 <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
9 <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
10 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
11 <eStructuralFeatures xsi:type="ecore:EAttribute" name="sid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
12 <eStructuralFeatures xsi:type="ecore:EReference" name="references" upperBound="-1"
13 eType="#//Relation" containment="true" eOpposite="#//Relation/db"/>
14 <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
15 <eStructuralFeatures xsi:type="ecore:EReference" name="DBComment" eType="#//UserComment"/>
16 <eStructuralFeatures xsi:type="ecore:EReference" name="styledReference" upperBound="-1"
17 eType="#//Style" containment="true" eOpposite="#//Style/db"/>
18 </eClassifiers>
19 <eClassifiers xsi:type="ecore:EClass" name="Table">
20 <eAnnotations/>
21 <eStructuralFeatures xsi:type="ecore:EReference" name="columns" lowerBound="1"
22 upperBound="-1" eType="#//Column" containment="true" eOpposite="#//Column/table"/>
23 <eStructuralFeatures xsi:type="ecore:EReference" name="db" lowerBound="1" eType="#//DB"
24 eOpposite="#//DB/tables"/>
25 <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
26 <eStructuralFeatures xsi:type="ecore:EAttribute" name="constraints" eType="#//Rectangle"/>
27 <eStructuralFeatures xsi:type="ecore:EReference" name="incomingLinks" upperBound="-1"
28 eType="#//Relation" eOpposite="#//Relation/target"/>
29 <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingLinks" upperBound="-1"
30 eType="#//Relation" eOpposite="#//Relation/source"/>
31 <eStructuralFeatures xsi:type="ecore:EAttribute" name="logicalName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
32 <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
33 <eStructuralFeatures xsi:type="ecore:EReference" name="UserCommentReference" eType="#//UserComment"/>
34 </eClassifiers>
35 <eClassifiers xsi:type="ecore:EClass" name="Column">
36 <eStructuralFeatures xsi:type="ecore:EAttribute" name="field" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
37 <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
38 <eStructuralFeatures xsi:type="ecore:EAttribute" name="null" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
39 <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
40 <eStructuralFeatures xsi:type="ecore:EAttribute" name="extra" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
41 <eStructuralFeatures xsi:type="ecore:EReference" name="table" lowerBound="1" eType="#//Table"
42 eOpposite="#//Table/columns"/>
43 <eStructuralFeatures xsi:type="ecore:EAttribute" name="logicalField" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
44 <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
45 <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
46 </eClassifiers>
47 <eClassifiers xsi:type="ecore:EDataType" name="Rectangle" instanceClassName="org.eclipse.draw2d.geometry.Rectangle"/>
48 <eClassifiers xsi:type="ecore:EClass" name="Relation">
49 <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//Table"
50 eOpposite="#//Table/outgoingLinks"/>
51 <eStructuralFeatures xsi:type="ecore:EReference" name="target" eType="#//Table"
52 eOpposite="#//Table/incomingLinks"/>
53 <eStructuralFeatures xsi:type="ecore:EAttribute" name="source_kind" eType="#//RelationKind"/>
54 <eStructuralFeatures xsi:type="ecore:EAttribute" name="target_kind" eType="#//RelationKind"/>
55 <eStructuralFeatures xsi:type="ecore:EAttribute" name="column_name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
56 <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenced_column_name"
57 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
58 <eStructuralFeatures xsi:type="ecore:EAttribute" name="bendpoint" upperBound="-1"
59 eType="#//Point"/>
60 <eStructuralFeatures xsi:type="ecore:EReference" name="db" lowerBound="1" eType="#//DB"
61 eOpposite="#//DB/references"/>
62 <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
63 <eStructuralFeatures xsi:type="ecore:EAttribute" name="constraint_name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
64 </eClassifiers>
65 <eClassifiers xsi:type="ecore:EDataType" name="Point" instanceClassName="org.eclipse.draw2d.geometry.Point"/>
66 <eClassifiers xsi:type="ecore:EEnum" name="RelationKind">
67 <eLiterals name="ONLY_ONE" value="1"/>
68 <eLiterals name="ZERO_OR_ONE" value="3" literal="ZERO_ONE"/>
69 <eLiterals name="ZERO_OR_MANY" value="4" literal="ZERO_MANY"/>
70 <eLiterals name="ONE_OR_MANY" value="5" literal="ONE_MANY"/>
71 </eClassifiers>
72 <eClassifiers xsi:type="ecore:EClass" name="View" eSuperTypes="#//Table">
73 <eStructuralFeatures xsi:type="ecore:EReference" name="tableName" lowerBound="1"
74 eType="#//Table"/>
75 </eClassifiers>
76 <eClassifiers xsi:type="ecore:EClass" name="ERDInfo">
77 <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoLayout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
78 <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
79 defaultValueLiteral="0.8.1(2012.04.13)"/>
80 <eStructuralFeatures xsi:type="ecore:EReference" name="style" lowerBound="1" eType="#//Style"/>
81 </eClassifiers>
82 <eClassifiers xsi:type="ecore:EClass" name="UserComment">
83 <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
84 </eClassifiers>
85 <eClassifiers xsi:type="ecore:EClass" name="Style">
86 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableTitle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
87 defaultValueLiteral="nameComment"/>
88 <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnPrimaryKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
89 defaultValueLiteral="YES"/>
90 <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
91 defaultValueLiteral="YES"/>
92 <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnComment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
93 defaultValueLiteral="YES"/>
94 <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
95 defaultValueLiteral="YES"/>
96 <eStructuralFeatures xsi:type="ecore:EAttribute" name="columnNullCheck" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
97 defaultValueLiteral="YES"/>
98 <eStructuralFeatures xsi:type="ecore:EAttribute" name="grid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
99 defaultValueLiteral="YES"/>
100 <eStructuralFeatures xsi:type="ecore:EReference" name="db" lowerBound="1" eType="#//DB"
101 eOpposite="#//DB/styledReference"/>
102 </eClassifiers>
103 </ecore:EPackage>