blob: bda0d27753901cf9e3403d564d6fa16d20b44259 [file] [log] [blame]
jgrahamc8a1f8c2007-03-05 15:52:18 +00001<?xml version="1.0" encoding="UTF-8"?>
jgraham6dbb4352007-06-22 22:00:25 +00002<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="sqlmodel" nsURI="http:///SQLModel.ecore" nsPrefix="SQLModel">
3 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
4 <details key="documentation" value=""/>
5 </eAnnotations>
6 <eSubpackages name="schema" nsURI="http:///org/eclipse/datatools/modelbase/sql/schema.ecore" nsPrefix="SQLSchema">
7 <eClassifiers xsi:type="ecore:EClass" name="IdentitySpecifier" eSuperTypes="#//schema/SQLObject">
8 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
9 <details key="documentation" value=""/>
10 </eAnnotations>
11 <eStructuralFeatures xsi:type="ecore:EAttribute" name="generationType" eType="#//schema/GenerateType"/>
12 <eStructuralFeatures xsi:type="ecore:EAttribute" name="startValue" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
13 <eStructuralFeatures xsi:type="ecore:EAttribute" name="increment" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
14 <eStructuralFeatures xsi:type="ecore:EAttribute" name="minimum" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
15 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum" eType="ecore:EDataType ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EBigInteger"/>
16 <eStructuralFeatures xsi:type="ecore:EAttribute" name="cycleOption" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
17 </eClassifiers>
18 <eClassifiers xsi:type="ecore:EEnum" name="GenerateType">
19 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
20 <details key="documentation" value=""/>
21 </eAnnotations>
22 <eLiterals name="DEFAULT_GENERATED"/>
23 <eLiterals name="ALWAYS_GENERATED" value="1"/>
24 </eClassifiers>
25 <eClassifiers xsi:type="ecore:EClass" name="TypedElement" abstract="true" eSuperTypes="#//schema/SQLObject">
26 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
27 <details key="documentation" value=""/>
28 </eAnnotations>
29 <eOperations name="setDataType">
30 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
31 <details key="documentation" value=""/>
32 </eAnnotations>
33 <eParameters name="newType" eType="#//datatypes/DataType"/>
34 </eOperations>
35 <eOperations name="getDataType" eType="#//datatypes/DataType">
36 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
37 <details key="documentation" value=""/>
38 </eAnnotations>
39 </eOperations>
40 <eStructuralFeatures xsi:type="ecore:EReference" name="containedType" eType="#//datatypes/SQLDataType" containment="true"/>
41 <eStructuralFeatures xsi:type="ecore:EReference" name="referencedType" eType="#//datatypes/UserDefinedType"/>
42 </eClassifiers>
43 <eClassifiers xsi:type="ecore:EClass" name="Dependency" eSuperTypes="#//schema/SQLObject">
44 <eStructuralFeatures xsi:type="ecore:EReference" name="targetEnd" lowerBound="1" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject"/>
45 <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependencyType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
46 </eClassifiers>
47 <eClassifiers xsi:type="ecore:EClass" name="Schema" eSuperTypes="#//schema/SQLObject">
48 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
49 <details key="documentation" value=""/>
50 </eAnnotations>
51 <eStructuralFeatures xsi:type="ecore:EReference" name="triggers" upperBound="-1" eType="#//tables/Trigger" eOpposite="#//tables/Trigger/schema"/>
52 <eStructuralFeatures xsi:type="ecore:EReference" name="indices" upperBound="-1" eType="#//constraints/Index" eOpposite="#//constraints/Index/Schema"/>
53 <eStructuralFeatures xsi:type="ecore:EReference" name="tables" upperBound="-1" eType="#//tables/Table" eOpposite="#//tables/Table/schema"/>
54 <eStructuralFeatures xsi:type="ecore:EReference" name="sequences" upperBound="-1" eType="#//schema/Sequence" eOpposite="#//schema/Sequence/schema"/>
55 <eStructuralFeatures xsi:type="ecore:EReference" name="database" lowerBound="1" eType="#//schema/Database" eOpposite="#//schema/Database/schemas"/>
56 <eStructuralFeatures xsi:type="ecore:EReference" name="Catalog" lowerBound="1" eType="#//schema/Catalog" eOpposite="#//schema/Catalog/schemas"/>
57 <eStructuralFeatures xsi:type="ecore:EReference" name="assertions" upperBound="-1" eType="#//constraints/Assertion" eOpposite="#//constraints/Assertion/schema"/>
58 <eStructuralFeatures xsi:type="ecore:EReference" name="userDefinedTypes" upperBound="-1" eType="#//datatypes/UserDefinedType" eOpposite="#//datatypes/UserDefinedType/schema"/>
59 <eStructuralFeatures xsi:type="ecore:EReference" name="charSets" upperBound="-1" eType="#//datatypes/CharacterSet" eOpposite="#//datatypes/CharacterSet/schema"/>
60 <eStructuralFeatures xsi:type="ecore:EReference" name="routines" upperBound="-1" eType="#//routines/Routine" eOpposite="#//routines/Routine/schema"/>
61 <eStructuralFeatures xsi:type="ecore:EReference" name="owner" lowerBound="1" eType="#//accesscontrol/AuthorizationIdentifier" eOpposite="#//accesscontrol/AuthorizationIdentifier/ownedSchema"/>
62 </eClassifiers>
63 <eClassifiers xsi:type="ecore:EClass" name="SQLObject" abstract="true" eSuperTypes="../../org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement">
64 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
65 <details key="documentation" value=""/>
66 </eAnnotations>
67 <eOperations name="addEAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation">
68 <eParameters name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
69 </eOperations>
70 <eOperations name="addEAnnotationDetail">
71 <eParameters name="eAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/>
72 <eParameters name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
73 <eParameters name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
74 </eOperations>
75 <eOperations name="getEAnnotationDetail" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
76 <eParameters name="eAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/>
77 <eParameters name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
78 </eOperations>
79 <eOperations name="setAnnotationDetail">
80 <eParameters name="eAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/>
81 <eParameters name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
82 <eParameters name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
83 </eOperations>
84 <eOperations name="removeEAnnotationDetail">
85 <eParameters name="eAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/>
86 <eParameters name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
87 </eOperations>
88 <eOperations name="getEAnnotation" eType="ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation">
89 <eParameters name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
90 </eOperations>
91 <eStructuralFeatures xsi:type="ecore:EReference" name="dependencies" upperBound="-1" eType="#//schema/Dependency" containment="true"/>
92 <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
93 <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
94 <eStructuralFeatures xsi:type="ecore:EReference" name="comments" upperBound="-1" eType="#//schema/Comment" eOpposite="#//schema/Comment/SQLObject"/>
95 <eStructuralFeatures xsi:type="ecore:EReference" name="privileges" upperBound="-1" eType="#//accesscontrol/Privilege" eOpposite="#//accesscontrol/Privilege/object"/>
96 </eClassifiers>
97 <eClassifiers xsi:type="ecore:EClass" name="Sequence" eSuperTypes="#//schema/TypedElement">
98 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
99 <details key="documentation" value=""/>
100 </eAnnotations>
101 <eStructuralFeatures xsi:type="ecore:EReference" name="identity" lowerBound="1" eType="#//schema/IdentitySpecifier" containment="true"/>
102 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/sequences"/>
103 </eClassifiers>
104 <eClassifiers xsi:type="ecore:EClass" name="Database" eSuperTypes="#//schema/SQLObject">
105 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
106 <details key="documentation" value=""/>
107 </eAnnotations>
108 <eOperations name="getUserDefinedTypes" eType="#//schema/List"/>
109 <eStructuralFeatures xsi:type="ecore:EAttribute" name="vendor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
110 <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
111 <eStructuralFeatures xsi:type="ecore:EReference" name="schemas" upperBound="-1" eType="#//schema/Schema" eOpposite="#//schema/Schema/database"/>
112 <eStructuralFeatures xsi:type="ecore:EReference" name="events" upperBound="-1" eType="#//schema/Event" eOpposite="#//schema/Event/Database"/>
113 <eStructuralFeatures xsi:type="ecore:EReference" name="catalogs" upperBound="-1" eType="#//schema/Catalog" eOpposite="#//schema/Catalog/Database"/>
114 <eStructuralFeatures xsi:type="ecore:EReference" name="authorizationIds" upperBound="-1" eType="#//accesscontrol/AuthorizationIdentifier" eOpposite="#//accesscontrol/AuthorizationIdentifier/Database"/>
115 </eClassifiers>
116 <eClassifiers xsi:type="ecore:EDataType" name="Date" instanceClassName="java.util.Date"/>
117 <eClassifiers xsi:type="ecore:EDataType" name="List" instanceClassName="java.util.List"/>
118 <eClassifiers xsi:type="ecore:EEnum" name="ReferentialActionType">
119 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
120 <details key="documentation" value=""/>
121 </eAnnotations>
122 <eLiterals name="NO_ACTION"/>
123 <eLiterals name="RESTRICT" value="1"/>
124 <eLiterals name="CASCADE" value="2"/>
125 <eLiterals name="SET_NULL" value="3"/>
126 <eLiterals name="SET_DEFAULT" value="4"/>
127 </eClassifiers>
128 <eClassifiers xsi:type="ecore:EClass" name="Event" eSuperTypes="#//schema/SQLObject">
129 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
130 <details key="documentation" value=""/>
131 </eAnnotations>
132 <eStructuralFeatures xsi:type="ecore:EAttribute" name="for" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
133 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
134 <details key="documentation" value=""/>
135 </eAnnotations>
136 </eStructuralFeatures>
137 <eStructuralFeatures xsi:type="ecore:EAttribute" name="condition" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
138 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
139 <details key="documentation" value=""/>
140 </eAnnotations>
141 </eStructuralFeatures>
142 <eStructuralFeatures xsi:type="ecore:EAttribute" name="action" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
143 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
144 <details key="documentation" value=""/>
145 </eAnnotations>
146 </eStructuralFeatures>
147 <eStructuralFeatures xsi:type="ecore:EAttribute" name="enabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
148 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
149 <details key="documentation" value=""/>
150 </eAnnotations>
151 </eStructuralFeatures>
152 <eStructuralFeatures xsi:type="ecore:EReference" name="Database" lowerBound="1" eType="#//schema/Database" eOpposite="#//schema/Database/events"/>
153 </eClassifiers>
154 <eClassifiers xsi:type="ecore:EClass" name="Comment">
155 <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
156 <eStructuralFeatures xsi:type="ecore:EReference" name="SQLObject" lowerBound="1" eType="#//schema/SQLObject" eOpposite="#//schema/SQLObject/comments"/>
157 </eClassifiers>
158 <eClassifiers xsi:type="ecore:EClass" name="Catalog" eSuperTypes="#//schema/SQLObject">
159 <eStructuralFeatures xsi:type="ecore:EReference" name="Database" lowerBound="1" eType="#//schema/Database" eOpposite="#//schema/Database/catalogs"/>
160 <eStructuralFeatures xsi:type="ecore:EReference" name="schemas" upperBound="-1" eType="#//schema/Schema" eOpposite="#//schema/Schema/Catalog"/>
161 </eClassifiers>
162 </eSubpackages>
163 <eSubpackages name="constraints" nsURI="http:///org/eclipse/datatools/modelbase/sql/constraints.ecore" nsPrefix="SQLConstraints">
164 <eClassifiers xsi:type="ecore:EClass" name="Assertion" eSuperTypes="#//constraints/Constraint">
165 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
166 <details key="documentation" value=""/>
167 </eAnnotations>
168 <eStructuralFeatures xsi:type="ecore:EReference" name="searchCondition" eType="#//expressions/SearchCondition" containment="true" resolveProxies="false"/>
169 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/assertions"/>
170 <eStructuralFeatures xsi:type="ecore:EReference" name="constrainedTables" lowerBound="1" upperBound="-1" eType="#//tables/BaseTable" derived="true"/>
171 </eClassifiers>
172 <eClassifiers xsi:type="ecore:EClass" name="Constraint" abstract="true" eSuperTypes="#//schema/SQLObject">
173 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
174 <details key="documentation" value=""/>
175 </eAnnotations>
176 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deferrable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
177 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
178 <details key="documentation" value=""/>
179 </eAnnotations>
180 </eStructuralFeatures>
181 <eStructuralFeatures xsi:type="ecore:EAttribute" name="initiallyDeferred" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false">
182 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
183 <details key="documentation" value=""/>
184 </eAnnotations>
185 </eStructuralFeatures>
186 <eStructuralFeatures xsi:type="ecore:EAttribute" name="enforced" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true"/>
187 </eClassifiers>
188 <eClassifiers xsi:type="ecore:EClass" name="TableConstraint" abstract="true" eSuperTypes="#//constraints/Constraint">
189 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
190 <details key="documentation" value=""/>
191 </eAnnotations>
192 <eStructuralFeatures xsi:type="ecore:EReference" name="BaseTable" eType="#//tables/BaseTable" transient="true" eOpposite="#//tables/BaseTable/constraints"/>
193 </eClassifiers>
194 <eClassifiers xsi:type="ecore:EClass" name="ReferenceConstraint" abstract="true" eSuperTypes="#//constraints/TableConstraint">
195 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
196 <details key="documentation" value=""/>
197 </eAnnotations>
198 <eStructuralFeatures xsi:type="ecore:EReference" name="members" lowerBound="1" upperBound="-1" eType="#//tables/Column"/>
199 </eClassifiers>
200 <eClassifiers xsi:type="ecore:EClass" name="CheckConstraint" eSuperTypes="#//constraints/TableConstraint">
201 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
202 <details key="documentation" value=""/>
203 </eAnnotations>
204 <eStructuralFeatures xsi:type="ecore:EReference" name="searchCondition" eType="#//expressions/SearchCondition" containment="true" resolveProxies="false">
205 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
206 <details key="documentation" value=""/>
207 </eAnnotations>
208 </eStructuralFeatures>
209 </eClassifiers>
210 <eClassifiers xsi:type="ecore:EClass" name="ForeignKey" eSuperTypes="#//constraints/ReferenceConstraint">
211 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
212 <details key="documentation" value=""/>
213 </eAnnotations>
214 <eStructuralFeatures xsi:type="ecore:EAttribute" name="match" eType="#//constraints/MatchType" defaultValueLiteral="MATCH_SIMPLE"/>
215 <eStructuralFeatures xsi:type="ecore:EAttribute" name="onUpdate" eType="#//schema/ReferentialActionType" defaultValueLiteral="NO_ACTION"/>
216 <eStructuralFeatures xsi:type="ecore:EAttribute" name="onDelete" eType="#//schema/ReferentialActionType" defaultValueLiteral="NO_ACTION"/>
217 <eStructuralFeatures xsi:type="ecore:EReference" name="uniqueConstraint" eType="#//constraints/UniqueConstraint" eOpposite="#//constraints/UniqueConstraint/ForeignKey"/>
218 <eStructuralFeatures xsi:type="ecore:EReference" name="referencedMembers" lowerBound="1" upperBound="-1" eType="#//tables/Column"/>
219 <eStructuralFeatures xsi:type="ecore:EReference" name="uniqueIndex" eType="#//constraints/Index" eOpposite="#//constraints/Index/ForeignKey"/>
220 <eStructuralFeatures xsi:type="ecore:EReference" name="referencedTable" eType="#//tables/BaseTable" eOpposite="#//tables/BaseTable/referencingForeignKeys"/>
221 </eClassifiers>
222 <eClassifiers xsi:type="ecore:EClass" name="UniqueConstraint" eSuperTypes="#//constraints/ReferenceConstraint">
223 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
224 <details key="documentation" value=""/>
225 </eAnnotations>
226 <eStructuralFeatures xsi:type="ecore:EReference" name="ForeignKey" upperBound="-1" eType="#//constraints/ForeignKey" eOpposite="#//constraints/ForeignKey/uniqueConstraint"/>
227 </eClassifiers>
228 <eClassifiers xsi:type="ecore:EClass" name="PrimaryKey" eSuperTypes="#//constraints/UniqueConstraint">
229 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
230 <details key="documentation" value=""/>
231 </eAnnotations>
232 </eClassifiers>
233 <eClassifiers xsi:type="ecore:EEnum" name="MatchType">
234 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
235 <details key="documentation" value=""/>
236 </eAnnotations>
237 <eLiterals name="MATCH_SIMPLE"/>
238 <eLiterals name="MATCH_FULL" value="1"/>
239 <eLiterals name="MATCH_PARTIAL" value="2"/>
240 </eClassifiers>
241 <eClassifiers xsi:type="ecore:EClass" name="Index" eSuperTypes="#//schema/SQLObject">
242 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
243 <details key="documentation" value=""/>
244 </eAnnotations>
245 <eStructuralFeatures xsi:type="ecore:EReference" name="Schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/indices"/>
246 <eStructuralFeatures xsi:type="ecore:EAttribute" name="clustered" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
247 <eStructuralFeatures xsi:type="ecore:EAttribute" name="fillFactor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
248 <eStructuralFeatures xsi:type="ecore:EAttribute" name="unique" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
249 <eStructuralFeatures xsi:type="ecore:EAttribute" name="systemGenerated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
250 <eStructuralFeatures xsi:type="ecore:EReference" name="members" lowerBound="1" upperBound="-1" eType="#//constraints/IndexMember" containment="true"/>
251 <eStructuralFeatures xsi:type="ecore:EReference" name="table" lowerBound="1" eType="#//tables/Table" eOpposite="#//tables/Table/index"/>
252 <eStructuralFeatures xsi:type="ecore:EReference" name="ForeignKey" upperBound="-1" eType="#//constraints/ForeignKey" eOpposite="#//constraints/ForeignKey/uniqueIndex"/>
253 <eStructuralFeatures xsi:type="ecore:EReference" name="includedMembers" upperBound="-1" eType="#//constraints/IndexMember" containment="true"/>
254 </eClassifiers>
255 <eClassifiers xsi:type="ecore:EClass" name="IndexMember" eSuperTypes="#//schema/SQLObject">
256 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
257 <details key="documentation" value=""/>
258 </eAnnotations>
259 <eStructuralFeatures xsi:type="ecore:EAttribute" name="incrementType" eType="#//constraints/IncrementType"/>
260 <eStructuralFeatures xsi:type="ecore:EReference" name="column" lowerBound="1" eType="#//tables/Column"/>
261 </eClassifiers>
262 <eClassifiers xsi:type="ecore:EEnum" name="IncrementType">
263 <eLiterals name="ASC"/>
264 <eLiterals name="DESC" value="1"/>
265 </eClassifiers>
266 </eSubpackages>
267 <eSubpackages name="datatypes" nsURI="http:///org/eclipse/datatools/modelbase/sql/datatypes.ecore" nsPrefix="SQLDataTypes">
268 <eClassifiers xsi:type="ecore:EClass" name="UserDefinedType" abstract="true" eSuperTypes="#//datatypes/DataType">
269 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
270 <details key="documentation" value=""/>
271 </eAnnotations>
272 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/userDefinedTypes"/>
273 <eStructuralFeatures xsi:type="ecore:EReference" name="ordering" eType="#//datatypes/UserDefinedTypeOrdering" containment="true"/>
274 </eClassifiers>
275 <eClassifiers xsi:type="ecore:EClass" name="DataType" abstract="true" eSuperTypes="#//schema/SQLObject">
276 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
277 <details key="documentation" value=""/>
278 </eAnnotations>
279 <eOperations name="setContainer">
280 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
281 <details key="documentation" value=""/>
282 </eAnnotations>
283 <eParameters name="newContainer" eType="#//schema/TypedElement"/>
284 </eOperations>
285 </eClassifiers>
286 <eClassifiers xsi:type="ecore:EClass" name="PredefinedDataType" abstract="true" eSuperTypes="#//datatypes/SQLDataType">
287 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
288 <details key="documentation" value=""/>
289 </eAnnotations>
290 <eStructuralFeatures xsi:type="ecore:EAttribute" name="primitiveType" eType="#//datatypes/PrimitiveType"/>
291 </eClassifiers>
292 <eClassifiers xsi:type="ecore:EClass" name="CollectionDataType" abstract="true" eSuperTypes="#//datatypes/ConstructedDataType">
293 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
294 <details key="documentation" value=""/>
295 </eAnnotations>
296 <eStructuralFeatures xsi:type="ecore:EReference" name="element" lowerBound="1" upperBound="-1" eType="#//datatypes/DataType"/>
297 </eClassifiers>
298 <eClassifiers xsi:type="ecore:EClass" name="NumericalDataType" abstract="true" eSuperTypes="#//datatypes/PredefinedDataType">
299 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
300 <details key="documentation" value=""/>
301 </eAnnotations>
302 <eStructuralFeatures xsi:type="ecore:EAttribute" name="precision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
303 </eClassifiers>
304 <eClassifiers xsi:type="ecore:EClass" name="CharacterStringDataType" eSuperTypes="#//datatypes/PredefinedDataType">
305 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
306 <details key="documentation" value=""/>
307 </eAnnotations>
308 <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1"/>
309 <eStructuralFeatures xsi:type="ecore:EAttribute" name="coercibility" eType="#//datatypes/CoercibilityType"/>
310 <eStructuralFeatures xsi:type="ecore:EAttribute" name="fixedLength" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" changeable="false"/>
311 <eStructuralFeatures xsi:type="ecore:EAttribute" name="collationName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
312 <eStructuralFeatures xsi:type="ecore:EReference" name="characterSet" lowerBound="1" eType="#//datatypes/CharacterSet"/>
313 </eClassifiers>
314 <eClassifiers xsi:type="ecore:EClass" name="RowDataType" eSuperTypes="#//datatypes/ConstructedDataType">
315 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
316 <details key="documentation" value=""/>
317 </eAnnotations>
318 <eStructuralFeatures xsi:type="ecore:EReference" name="fields" lowerBound="1" upperBound="-1" eType="#//datatypes/Field" containment="true"/>
319 </eClassifiers>
320 <eClassifiers xsi:type="ecore:EClass" name="ArrayDataType" abstract="true" eSuperTypes="#//datatypes/CollectionDataType">
321 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
322 <details key="documentation" value=""/>
323 </eAnnotations>
324 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxCardinality" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
325 </eClassifiers>
326 <eClassifiers xsi:type="ecore:EClass" name="MultisetDataType" abstract="true" eSuperTypes="#//datatypes/CollectionDataType">
327 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
328 <details key="documentation" value=""/>
329 </eAnnotations>
330 </eClassifiers>
331 <eClassifiers xsi:type="ecore:EClass" name="BooleanDataType" eSuperTypes="#//datatypes/PredefinedDataType">
332 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
333 <details key="documentation" value=""/>
334 </eAnnotations>
335 </eClassifiers>
336 <eClassifiers xsi:type="ecore:EClass" name="IntervalDataType" eSuperTypes="#//datatypes/PredefinedDataType">
337 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
338 <details key="documentation" value=""/>
339 </eAnnotations>
340 <eStructuralFeatures xsi:type="ecore:EAttribute" name="leadingQualifier" eType="#//datatypes/IntervalQualifierType"/>
341 <eStructuralFeatures xsi:type="ecore:EAttribute" name="trailingQualifier" eType="#//datatypes/IntervalQualifierType"/>
342 <eStructuralFeatures xsi:type="ecore:EAttribute" name="leadingFieldPrecision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
343 <eStructuralFeatures xsi:type="ecore:EAttribute" name="trailingFieldPrecision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
344 <eStructuralFeatures xsi:type="ecore:EAttribute" name="fractionalSecondsPrecision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
345 </eClassifiers>
346 <eClassifiers xsi:type="ecore:EClass" name="BinaryStringDataType" eSuperTypes="#//datatypes/PredefinedDataType">
347 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
348 <details key="documentation" value=""/>
349 </eAnnotations>
350 <eOperations name="equals" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
351 <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
352 </eClassifiers>
353 <eClassifiers xsi:type="ecore:EClass" name="CharacterSet" eSuperTypes="#//schema/SQLObject">
354 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
355 <details key="documentation" value=""/>
356 </eAnnotations>
357 <eStructuralFeatures xsi:type="ecore:EAttribute" name="repertoire" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
358 <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultCollation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
359 <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
360 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/charSets"/>
361 </eClassifiers>
362 <eClassifiers xsi:type="ecore:EEnum" name="CoercibilityType">
363 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
364 <details key="documentation" value=""/>
365 </eAnnotations>
366 <eLiterals name="IMPLICIT"/>
367 <eLiterals name="EXPLICIT" value="1"/>
368 <eLiterals name="COERCIBILE" value="2"/>
369 <eLiterals name="NO_COLLATION" value="3"/>
370 </eClassifiers>
371 <eClassifiers xsi:type="ecore:EClass" name="TimeDataType" eSuperTypes="#//datatypes/PredefinedDataType">
372 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
373 <details key="documentation" value=""/>
374 </eAnnotations>
375 <eStructuralFeatures xsi:type="ecore:EAttribute" name="fractionalSecondsPrecision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
376 <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeZone" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
377 </eClassifiers>
378 <eClassifiers xsi:type="ecore:EEnum" name="IntervalQualifierType">
379 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
380 <details key="documentation" value=""/>
381 </eAnnotations>
382 <eLiterals name="YEAR"/>
383 <eLiterals name="MONTH" value="1"/>
384 <eLiterals name="DAY" value="2"/>
385 <eLiterals name="HOUR" value="3"/>
386 <eLiterals name="MINUTE" value="4"/>
387 <eLiterals name="SECOND" value="5"/>
388 <eLiterals name="FRACTION" value="6"/>
389 </eClassifiers>
390 <eClassifiers xsi:type="ecore:EClass" name="DistinctUserDefinedType" eSuperTypes="#//datatypes/UserDefinedType">
391 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
392 <details key="documentation" value=""/>
393 </eAnnotations>
394 <eStructuralFeatures xsi:type="ecore:EReference" name="predefinedRepresentation" lowerBound="1" eType="#//datatypes/PredefinedDataType" containment="true"/>
395 </eClassifiers>
396 <eClassifiers xsi:type="ecore:EClass" name="StructuredUserDefinedType" eSuperTypes="#//datatypes/UserDefinedType">
397 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
398 <details key="documentation" value=""/>
399 </eAnnotations>
400 <eStructuralFeatures xsi:type="ecore:EAttribute" name="instantiable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="True"/>
401 <eStructuralFeatures xsi:type="ecore:EAttribute" name="final" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
402 <eStructuralFeatures xsi:type="ecore:EReference" name="super" eType="#//datatypes/StructuredUserDefinedType" eOpposite="#//datatypes/StructuredUserDefinedType/sub"/>
403 <eStructuralFeatures xsi:type="ecore:EReference" name="sub" upperBound="-1" eType="#//datatypes/StructuredUserDefinedType" eOpposite="#//datatypes/StructuredUserDefinedType/super"/>
404 <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1" eType="#//datatypes/AttributeDefinition" containment="true"/>
405 <eStructuralFeatures xsi:type="ecore:EReference" name="methods" upperBound="-1" eType="#//routines/Method" containment="true"/>
406 </eClassifiers>
407 <eClassifiers xsi:type="ecore:EEnum" name="OrderingType">
408 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
409 <details key="documentation" value=""/>
410 </eAnnotations>
411 <eLiterals name="EQUALS"/>
412 <eLiterals name="FULL" value="1"/>
413 </eClassifiers>
414 <eClassifiers xsi:type="ecore:EEnum" name="OrderingCategoryType">
415 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
416 <details key="documentation" value=""/>
417 </eAnnotations>
418 <eLiterals name="RELATIVE"/>
419 <eLiterals name="MAP" value="1"/>
420 <eLiterals name="STATE" value="2"/>
421 </eClassifiers>
422 <eClassifiers xsi:type="ecore:EClass" name="AttributeDefinition" eSuperTypes="#//schema/TypedElement">
423 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
424 <details key="documentation" value=""/>
425 </eAnnotations>
426 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeCheck" eType="#//schema/ReferentialActionType"/>
427 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeChecked" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
428 <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
429 </eClassifiers>
430 <eClassifiers xsi:type="ecore:EClass" name="FixedPrecisionDataType" eSuperTypes="#//datatypes/ExactNumericDataType">
431 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
432 <details key="documentation" value=""/>
433 </eAnnotations>
434 </eClassifiers>
435 <eClassifiers xsi:type="ecore:EEnum" name="PrimitiveType">
436 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
437 <details key="documentation" value=""/>
438 </eAnnotations>
439 <eLiterals name="CHARACTER"/>
440 <eLiterals name="CHARACTER_VARYING" value="1"/>
441 <eLiterals name="CHARACTER_LARGE_OBJECT" value="2"/>
442 <eLiterals name="NATIONAL_CHARACTER" value="3"/>
443 <eLiterals name="NATIONAL_CHARACTER_VARYING" value="4"/>
444 <eLiterals name="NATIONAL_CHARACTER_LARGE_OBJECT" value="5"/>
445 <eLiterals name="BINARY" value="6"/>
446 <eLiterals name="BINARY_VARYING" value="7"/>
447 <eLiterals name="BINARY_LARGE_OBJECT" value="8"/>
448 <eLiterals name="NUMERIC" value="9"/>
449 <eLiterals name="DECIMAL" value="10"/>
450 <eLiterals name="SMALLINT" value="11"/>
451 <eLiterals name="INTEGER" value="12"/>
452 <eLiterals name="BIGINT" value="13"/>
453 <eLiterals name="FLOAT" value="14"/>
454 <eLiterals name="REAL" value="15"/>
455 <eLiterals name="DOUBLE_PRECISION" value="16"/>
456 <eLiterals name="BOOLEAN" value="17"/>
457 <eLiterals name="DATE" value="18"/>
458 <eLiterals name="TIME" value="19"/>
459 <eLiterals name="TIMESTAMP" value="20"/>
460 <eLiterals name="INTERVAL" value="21"/>
461 <eLiterals name="DATALINK" value="22"/>
462 <eLiterals name="XML_TYPE" value="23"/>
463 </eClassifiers>
464 <eClassifiers xsi:type="ecore:EClass" name="Domain" eSuperTypes="#//datatypes/DistinctUserDefinedType">
465 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
466 <details key="documentation" value=""/>
467 </eAnnotations>
468 <eStructuralFeatures xsi:type="ecore:EReference" name="constraint" upperBound="-1" eType="#//constraints/CheckConstraint" containment="true"/>
469 <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
470 </eClassifiers>
471 <eClassifiers xsi:type="ecore:EClass" name="Field" eSuperTypes="#//schema/TypedElement">
472 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
473 <details key="documentation" value=""/>
474 </eAnnotations>
475 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeCheck" eType="#//schema/ReferentialActionType"/>
476 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeChecked" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
477 </eClassifiers>
478 <eClassifiers xsi:type="ecore:EClass" name="ReferenceDataType" abstract="true" eSuperTypes="#//datatypes/ConstructedDataType">
479 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
480 <details key="documentation" value=""/>
481 </eAnnotations>
482 <eStructuralFeatures xsi:type="ecore:EReference" name="scopeTable" lowerBound="1" eType="#//tables/Table"/>
483 <eStructuralFeatures xsi:type="ecore:EReference" name="referencedType" lowerBound="1" eType="#//datatypes/StructuredUserDefinedType"/>
484 </eClassifiers>
485 <eClassifiers xsi:type="ecore:EClass" name="ConstructedDataType" abstract="true" eSuperTypes="#//datatypes/SQLDataType">
486 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
487 <details key="documentation" value=""/>
488 </eAnnotations>
489 </eClassifiers>
490 <eClassifiers xsi:type="ecore:EClass" name="SQLDataType" abstract="true" eSuperTypes="#//datatypes/DataType">
491 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
492 <details key="documentation" value=""/>
493 </eAnnotations>
494 </eClassifiers>
495 <eClassifiers xsi:type="ecore:EClass" name="DataLinkDataType" eSuperTypes="#//datatypes/PredefinedDataType">
496 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
497 <details key="documentation" value=""/>
498 </eAnnotations>
499 <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
500 <eStructuralFeatures xsi:type="ecore:EAttribute" name="linkControl" eType="#//datatypes/LinkControlOption"/>
501 <eStructuralFeatures xsi:type="ecore:EAttribute" name="integrityControl" eType="#//datatypes/IntegrityControlOption"/>
502 <eStructuralFeatures xsi:type="ecore:EAttribute" name="readPermission" eType="#//datatypes/ReadPermissionOption"/>
503 <eStructuralFeatures xsi:type="ecore:EAttribute" name="writePermission" eType="#//datatypes/WritePermissionOption"/>
504 <eStructuralFeatures xsi:type="ecore:EAttribute" name="recovery" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
505 <eStructuralFeatures xsi:type="ecore:EAttribute" name="unlink" eType="#//datatypes/UnlinkOption"/>
506 </eClassifiers>
507 <eClassifiers xsi:type="ecore:EEnum" name="LinkControlOption">
508 <eLiterals name="FILE_LINK_CONTROL"/>
509 <eLiterals name="NO_FILE_LINK_CONTROL" value="1"/>
510 </eClassifiers>
511 <eClassifiers xsi:type="ecore:EEnum" name="IntegrityControlOption">
512 <eLiterals name="ALL"/>
513 <eLiterals name="SELECTIVE" value="1"/>
514 <eLiterals name="NONE" value="2"/>
515 </eClassifiers>
516 <eClassifiers xsi:type="ecore:EEnum" name="ReadPermissionOption">
517 <eLiterals name="FS"/>
518 <eLiterals name="DB" value="1"/>
519 </eClassifiers>
520 <eClassifiers xsi:type="ecore:EEnum" name="WritePermissionOption">
521 <eLiterals name="FS"/>
522 <eLiterals name="ADMIN" value="1"/>
523 <eLiterals name="BLOCKED" value="2"/>
524 </eClassifiers>
525 <eClassifiers xsi:type="ecore:EEnum" name="UnlinkOption">
526 <eLiterals name="RESTORE"/>
527 <eLiterals name="DELETE" value="1"/>
528 <eLiterals name="NONE" value="2"/>
529 </eClassifiers>
530 <eClassifiers xsi:type="ecore:EClass" name="UserDefinedTypeOrdering" eSuperTypes="#//schema/SQLObject">
531 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
532 <details key="documentation" value=""/>
533 </eAnnotations>
534 <eStructuralFeatures xsi:type="ecore:EAttribute" name="orderingForm" eType="#//datatypes/OrderingType"/>
535 <eStructuralFeatures xsi:type="ecore:EAttribute" name="orderingCategory" eType="#//datatypes/OrderingCategoryType"/>
536 <eStructuralFeatures xsi:type="ecore:EReference" name="orderingRoutine" lowerBound="1" eType="#//routines/Routine"/>
537 </eClassifiers>
538 <eClassifiers xsi:type="ecore:EClass" name="DateDataType" eSuperTypes="#//datatypes/PredefinedDataType">
539 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
540 <details key="documentation" value=""/>
541 </eAnnotations>
542 </eClassifiers>
543 <eClassifiers xsi:type="ecore:EClass" name="ExactNumericDataType" abstract="true" eSuperTypes="#//datatypes/NumericalDataType">
544 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
545 <details key="documentation" value=""/>
546 </eAnnotations>
547 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scale" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
548 </eClassifiers>
549 <eClassifiers xsi:type="ecore:EClass" name="ApproximateNumericDataType" eSuperTypes="#//datatypes/NumericalDataType">
550 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
551 <details key="documentation" value=""/>
552 </eAnnotations>
553 </eClassifiers>
554 <eClassifiers xsi:type="ecore:EClass" name="IntegerDataType" eSuperTypes="#//datatypes/ExactNumericDataType">
555 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
556 <details key="documentation" value=""/>
557 </eAnnotations>
558 </eClassifiers>
559 <eClassifiers xsi:type="ecore:EClass" name="XMLDataType" eSuperTypes="#//datatypes/PredefinedDataType">
560 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
561 <details key="documentation" value=""/>
562 </eAnnotations>
563 </eClassifiers>
564 </eSubpackages>
565 <eSubpackages name="expressions" nsURI="http:///org/eclipse/datatools/modelbase/sql/expressions.ecore" nsPrefix="SQLExpressions">
566 <eClassifiers xsi:type="ecore:EClass" name="QueryExpression" abstract="true" interface="true">
567 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
568 <details key="documentation" value=""/>
569 </eAnnotations>
570 <eOperations name="getSQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
571 <eOperations name="setSQL">
572 <eParameters name="sqlText" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
573 </eOperations>
574 </eClassifiers>
575 <eClassifiers xsi:type="ecore:EClass" name="ValueExpression" abstract="true" interface="true">
576 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
577 <details key="documentation" value=""/>
578 </eAnnotations>
579 <eOperations name="getSQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
580 <eOperations name="setSQL">
581 <eParameters name="sqlText" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
582 </eOperations>
583 </eClassifiers>
584 <eClassifiers xsi:type="ecore:EClass" name="SearchCondition" abstract="true" interface="true">
585 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
586 <details key="documentation" value=""/>
587 </eAnnotations>
588 <eOperations name="getSQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
589 <eOperations name="setSQL">
590 <eParameters name="sqlText" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
591 </eOperations>
592 </eClassifiers>
593 <eClassifiers xsi:type="ecore:EClass" name="QueryExpressionDefault" eSuperTypes="#//schema/SQLObject #//expressions/QueryExpression">
594 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
595 <details key="documentation" value=""/>
596 </eAnnotations>
597 <eStructuralFeatures xsi:type="ecore:EAttribute" name="SQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
598 </eClassifiers>
599 <eClassifiers xsi:type="ecore:EClass" name="SearchConditionDefault" eSuperTypes="#//schema/SQLObject #//expressions/SearchCondition">
600 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
601 <details key="documentation" value=""/>
602 </eAnnotations>
603 <eStructuralFeatures xsi:type="ecore:EAttribute" name="SQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
604 </eClassifiers>
605 <eClassifiers xsi:type="ecore:EClass" name="ValueExpressionDefault" eSuperTypes="#//schema/SQLObject #//expressions/ValueExpression">
606 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
607 <details key="documentation" value=""/>
608 </eAnnotations>
609 <eStructuralFeatures xsi:type="ecore:EAttribute" name="SQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
610 </eClassifiers>
611 </eSubpackages>
612 <eSubpackages name="routines" nsURI="http:///org/eclipse/datatools/modelbase/sql/routines.ecore" nsPrefix="SQLRoutines">
613 <eClassifiers xsi:type="ecore:EClass" name="Routine" abstract="true" eSuperTypes="#//schema/SQLObject">
614 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
615 <details key="documentation" value=""/>
616 </eAnnotations>
617 <eStructuralFeatures xsi:type="ecore:EAttribute" name="specificName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
618 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
619 <details key="documentation" value=""/>
620 </eAnnotations>
621 </eStructuralFeatures>
622 <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
623 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
624 <details key="documentation" value=""/>
625 </eAnnotations>
626 </eStructuralFeatures>
627 <eStructuralFeatures xsi:type="ecore:EAttribute" name="parameterStyle" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
628 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
629 <details key="documentation" value=""/>
630 </eAnnotations>
631 </eStructuralFeatures>
632 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deterministic" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
633 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
634 <details key="documentation" value=""/>
635 </eAnnotations>
636 </eStructuralFeatures>
637 <eStructuralFeatures xsi:type="ecore:EAttribute" name="sqlDataAccess" eType="#//routines/DataAccess">
638 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
639 <details key="documentation" value=""/>
640 </eAnnotations>
641 </eStructuralFeatures>
642 <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationTS" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
643 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
644 <details key="documentation" value=""/>
645 </eAnnotations>
646 </eStructuralFeatures>
647 <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastAlteredTS" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
648 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
649 <details key="documentation" value=""/>
650 </eAnnotations>
651 </eStructuralFeatures>
652 <eStructuralFeatures xsi:type="ecore:EAttribute" name="authorizationID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
653 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
654 <details key="documentation" value=""/>
655 </eAnnotations>
656 </eStructuralFeatures>
657 <eStructuralFeatures xsi:type="ecore:EAttribute" name="security" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
658 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
659 <details key="documentation" value=""/>
660 </eAnnotations>
661 </eStructuralFeatures>
662 <eStructuralFeatures xsi:type="ecore:EAttribute" name="externalName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
663 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
664 <details key="documentation" value=""/>
665 </eAnnotations>
666 </eStructuralFeatures>
667 <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1" eType="#//routines/Parameter" containment="true" eOpposite="#//routines/Parameter/routine"/>
668 <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//routines/Source" containment="true"/>
669 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/routines"/>
670 </eClassifiers>
671 <eClassifiers xsi:type="ecore:EClass" name="Source" eSuperTypes="#//schema/SQLObject">
672 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
673 <details key="documentation" value=""/>
674 </eAnnotations>
675 <eStructuralFeatures xsi:type="ecore:EAttribute" name="body" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
676 </eClassifiers>
677 <eClassifiers xsi:type="ecore:EClass" name="Parameter" eSuperTypes="#//schema/TypedElement">
678 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
679 <details key="documentation" value=""/>
680 </eAnnotations>
681 <eStructuralFeatures xsi:type="ecore:EAttribute" name="mode" eType="#//routines/ParameterMode">
682 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
683 <details key="documentation" value=""/>
684 </eAnnotations>
685 </eStructuralFeatures>
686 <eStructuralFeatures xsi:type="ecore:EAttribute" name="locator" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
687 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
688 <details key="documentation" value=""/>
689 </eAnnotations>
690 </eStructuralFeatures>
691 <eStructuralFeatures xsi:type="ecore:EReference" name="routine" lowerBound="1" eType="#//routines/Routine" transient="true" eOpposite="#//routines/Routine/parameters"/>
692 <eStructuralFeatures xsi:type="ecore:EReference" name="stringTypeOption" eType="#//datatypes/CharacterStringDataType" containment="true"/>
693 </eClassifiers>
694 <eClassifiers xsi:type="ecore:EClass" name="Procedure" eSuperTypes="#//routines/Routine">
695 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
696 <details key="documentation" value=""/>
697 </eAnnotations>
698 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxResultSets" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
699 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
700 <details key="documentation" value=""/>
701 </eAnnotations>
702 </eStructuralFeatures>
703 <eStructuralFeatures xsi:type="ecore:EAttribute" name="oldSavePoint" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
704 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
705 <details key="documentation" value=""/>
706 </eAnnotations>
707 </eStructuralFeatures>
708 <eStructuralFeatures xsi:type="ecore:EReference" name="resultSet" upperBound="-1" eType="#//routines/RoutineResultTable" containment="true"/>
709 </eClassifiers>
710 <eClassifiers xsi:type="ecore:EClass" name="Function" eSuperTypes="#//routines/Routine">
711 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
712 <details key="documentation" value=""/>
713 </eAnnotations>
714 <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullCall" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
715 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
716 <details key="documentation" value=""/>
717 </eAnnotations>
718 </eStructuralFeatures>
719 <eStructuralFeatures xsi:type="ecore:EAttribute" name="static" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
720 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
721 <details key="documentation" value=""/>
722 </eAnnotations>
723 </eStructuralFeatures>
724 <eStructuralFeatures xsi:type="ecore:EAttribute" name="transformGroup" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
725 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
726 <details key="documentation" value=""/>
727 </eAnnotations>
728 </eStructuralFeatures>
729 <eStructuralFeatures xsi:type="ecore:EAttribute" name="typePreserving" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
730 <eStructuralFeatures xsi:type="ecore:EAttribute" name="mutator" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
731 <eStructuralFeatures xsi:type="ecore:EReference" name="returnTable" eType="#//routines/RoutineResultTable" containment="true"/>
732 <eStructuralFeatures xsi:type="ecore:EReference" name="returnScalar" eType="#//routines/Parameter" containment="true"/>
733 <eStructuralFeatures xsi:type="ecore:EReference" name="returnCast" eType="#//routines/Parameter" containment="true"/>
734 </eClassifiers>
735 <eClassifiers xsi:type="ecore:EEnum" name="DataAccess">
736 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
737 <details key="documentation" value=""/>
738 </eAnnotations>
739 <eLiterals name="NO_SQL"/>
740 <eLiterals name="CONTAINS_SQL" value="1"/>
741 <eLiterals name="READS_SQL_DATA" value="2"/>
742 <eLiterals name="MODIFIES_SQL_DATA" value="3"/>
743 </eClassifiers>
744 <eClassifiers xsi:type="ecore:EEnum" name="ParameterMode">
745 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
746 <details key="documentation" value=""/>
747 </eAnnotations>
748 <eLiterals name="IN"/>
749 <eLiterals name="OUT" value="1"/>
750 <eLiterals name="INOUT" value="2"/>
751 </eClassifiers>
752 <eClassifiers xsi:type="ecore:EClass" name="RoutineResultTable" eSuperTypes="#//tables/Table">
753 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
754 <details key="documentation" value=""/>
755 </eAnnotations>
756 </eClassifiers>
757 <eClassifiers xsi:type="ecore:EClass" name="Method" eSuperTypes="#//routines/Function">
758 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
759 <details key="documentation" value=""/>
760 </eAnnotations>
761 <eStructuralFeatures xsi:type="ecore:EAttribute" name="overriding" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
762 <eStructuralFeatures xsi:type="ecore:EAttribute" name="constructor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
763 </eClassifiers>
764 <eClassifiers xsi:type="ecore:EClass" name="UserDefinedFunction" eSuperTypes="#//routines/Function">
765 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
766 <details key="documentation" value=""/>
767 </eAnnotations>
768 </eClassifiers>
769 <eClassifiers xsi:type="ecore:EClass" name="BuiltInFunction" eSuperTypes="#//routines/Function">
770 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
771 <details key="documentation" value=""/>
772 </eAnnotations>
773 </eClassifiers>
774 </eSubpackages>
775 <eSubpackages name="statements" nsURI="http:///org/eclipse/datatools/modelbase/sql/statements.ecore" nsPrefix="SQLStatements">
776 <eClassifiers xsi:type="ecore:EClass" name="SQLStatement" abstract="true" interface="true">
777 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
778 <details key="documentation" value=""/>
779 </eAnnotations>
780 <eOperations name="getSQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
781 <eOperations name="setSQL">
782 <eParameters name="sqlText" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
783 </eOperations>
784 </eClassifiers>
785 <eClassifiers xsi:type="ecore:EClass" name="SQLDataStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
786 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
787 <details key="documentation" value=""/>
788 </eAnnotations>
789 </eClassifiers>
790 <eClassifiers xsi:type="ecore:EClass" name="SQLSchemaStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
791 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
792 <details key="documentation" value=""/>
793 </eAnnotations>
794 </eClassifiers>
795 <eClassifiers xsi:type="ecore:EClass" name="SQLControlStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
796 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
797 <details key="documentation" value=""/>
798 </eAnnotations>
799 </eClassifiers>
800 <eClassifiers xsi:type="ecore:EClass" name="SQLDataChangeStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLDataStatement">
801 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
802 <details key="documentation" value=""/>
803 </eAnnotations>
804 </eClassifiers>
805 <eClassifiers xsi:type="ecore:EClass" name="SQLStatementDefault" eSuperTypes="#//schema/SQLObject #//statements/SQLStatement">
806 <eStructuralFeatures xsi:type="ecore:EAttribute" name="SQL" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
807 </eClassifiers>
808 <eClassifiers xsi:type="ecore:EClass" name="SQLConnectionStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
809 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
810 <details key="documentation" value=""/>
811 </eAnnotations>
812 </eClassifiers>
813 <eClassifiers xsi:type="ecore:EClass" name="SQLDiagnosticsStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
814 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
815 <details key="documentation" value=""/>
816 </eAnnotations>
817 </eClassifiers>
818 <eClassifiers xsi:type="ecore:EClass" name="SQLDynamicStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
819 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
820 <details key="documentation" value=""/>
821 </eAnnotations>
822 </eClassifiers>
823 <eClassifiers xsi:type="ecore:EClass" name="SQLSessionStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
824 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
825 <details key="documentation" value=""/>
826 </eAnnotations>
827 </eClassifiers>
828 <eClassifiers xsi:type="ecore:EClass" name="SQLTransactionStatement" abstract="true" interface="true" eSuperTypes="#//statements/SQLStatement">
829 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
830 <details key="documentation" value=""/>
831 </eAnnotations>
832 </eClassifiers>
833 </eSubpackages>
834 <eSubpackages name="tables" nsURI="http:///org/eclipse/datatools/modelbase/sql/tables.ecore" nsPrefix="SQLTables">
835 <eClassifiers xsi:type="ecore:EClass" name="ViewTable" eSuperTypes="#//tables/DerivedTable">
836 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
837 <details key="documentation" value=""/>
838 </eAnnotations>
839 <eStructuralFeatures xsi:type="ecore:EAttribute" name="checkType" eType="#//tables/CheckType"/>
840 </eClassifiers>
841 <eClassifiers xsi:type="ecore:EClass" name="TemporaryTable" eSuperTypes="#//tables/BaseTable">
842 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
843 <details key="documentation" value=""/>
844 </eAnnotations>
845 <eStructuralFeatures xsi:type="ecore:EAttribute" name="local" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
846 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deleteOnCommit" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
847 </eClassifiers>
848 <eClassifiers xsi:type="ecore:EClass" name="Table" abstract="true" eSuperTypes="#//schema/SQLObject">
849 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
850 <details key="documentation" value=""/>
851 </eAnnotations>
852 <eStructuralFeatures xsi:type="ecore:EReference" name="columns" lowerBound="1" upperBound="-1" eType="#//tables/Column" containment="true" eOpposite="#//tables/Column/table"/>
853 <eStructuralFeatures xsi:type="ecore:EReference" name="supertable" eType="#//tables/Table" eOpposite="#//tables/Table/subtables"/>
854 <eStructuralFeatures xsi:type="ecore:EReference" name="subtables" upperBound="-1" eType="#//tables/Table" eOpposite="#//tables/Table/supertable"/>
855 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/tables"/>
856 <eStructuralFeatures xsi:type="ecore:EReference" name="udt" eType="#//datatypes/StructuredUserDefinedType"/>
857 <eStructuralFeatures xsi:type="ecore:EReference" name="triggers" upperBound="-1" eType="#//tables/Trigger" eOpposite="#//tables/Trigger/subjectTable"/>
858 <eStructuralFeatures xsi:type="ecore:EReference" name="index" upperBound="-1" eType="#//constraints/Index" eOpposite="#//constraints/Index/table"/>
859 <eStructuralFeatures xsi:type="ecore:EAttribute" name="selfRefColumnGeneration" eType="#//tables/ReferenceType"/>
860 <eStructuralFeatures xsi:type="ecore:EAttribute" name="insertable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" changeable="false" volatile="true" transient="true" derived="true"/>
861 <eStructuralFeatures xsi:type="ecore:EAttribute" name="updatable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" changeable="false" volatile="true" transient="true" derived="true"/>
862 </eClassifiers>
863 <eClassifiers xsi:type="ecore:EClass" name="PersistentTable" eSuperTypes="#//tables/BaseTable">
864 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
865 <details key="documentation" value=""/>
866 </eAnnotations>
867 </eClassifiers>
868 <eClassifiers xsi:type="ecore:EClass" name="DerivedTable" abstract="true" eSuperTypes="#//tables/Table">
869 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
870 <details key="documentation" value=""/>
871 </eAnnotations>
872 <eStructuralFeatures xsi:type="ecore:EReference" name="queryExpression" eType="#//expressions/QueryExpression" containment="true" resolveProxies="false"/>
873 </eClassifiers>
874 <eClassifiers xsi:type="ecore:EClass" name="BaseTable" abstract="true" eSuperTypes="#//tables/Table">
875 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
876 <details key="documentation" value=""/>
877 </eAnnotations>
878 <eOperations name="getUniqueConstraints" eType="#//schema/List"/>
879 <eOperations name="getForeignKeys" eType="#//schema/List"/>
880 <eOperations name="getPrimaryKey" eType="#//constraints/PrimaryKey"/>
881 <eStructuralFeatures xsi:type="ecore:EReference" name="constraints" upperBound="-1" eType="#//constraints/TableConstraint" containment="true" eOpposite="#//constraints/TableConstraint/BaseTable"/>
882 <eStructuralFeatures xsi:type="ecore:EReference" name="referencingForeignKeys" upperBound="-1" eType="#//constraints/ForeignKey" eOpposite="#//constraints/ForeignKey/referencedTable"/>
883 </eClassifiers>
884 <eClassifiers xsi:type="ecore:EEnum" name="CheckType">
885 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
886 <details key="documentation" value=""/>
887 </eAnnotations>
888 <eLiterals name="CASCADED"/>
889 <eLiterals name="LOCAL" value="1"/>
890 <eLiterals name="NONE" value="2"/>
891 </eClassifiers>
892 <eClassifiers xsi:type="ecore:EEnum" name="ReferenceType">
893 <eLiterals name="SYSTEM_GENERATED"/>
894 <eLiterals name="USER_GENERATED" value="1"/>
895 <eLiterals name="DERIVED_SELF_REF" value="2"/>
896 </eClassifiers>
897 <eClassifiers xsi:type="ecore:EClass" name="Column" eSuperTypes="#//schema/TypedElement">
898 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
899 <details key="documentation" value=""/>
900 </eAnnotations>
901 <eOperations name="isPartOfForeignKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
902 <eOperations name="isPartOfUniqueConstraint" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
903 <eOperations name="isPartOfPrimaryKey" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
904 <eStructuralFeatures xsi:type="ecore:EReference" name="table" lowerBound="1" eType="#//tables/Table" transient="true" eOpposite="#//tables/Table/columns"/>
905 <eStructuralFeatures xsi:type="ecore:EReference" name="identitySpecifier" eType="#//schema/IdentitySpecifier" containment="true"/>
906 <eStructuralFeatures xsi:type="ecore:EReference" name="generateExpression" eType="#//expressions/ValueExpression" containment="true"/>
907 <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementationDependent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="False"/>
908 <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="True"/>
909 <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
910 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeCheck" eType="#//schema/ReferentialActionType" defaultValueLiteral="NO_ACTION"/>
911 <eStructuralFeatures xsi:type="ecore:EAttribute" name="scopeChecked" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
912 </eClassifiers>
913 <eClassifiers xsi:type="ecore:EClass" name="Trigger" eSuperTypes="#//schema/SQLObject">
914 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
915 <details key="documentation" value=""/>
916 </eAnnotations>
917 <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1" eType="#//schema/Schema" eOpposite="#//schema/Schema/triggers"/>
918 <eStructuralFeatures xsi:type="ecore:EReference" name="subjectTable" lowerBound="1" eType="#//tables/Table" eOpposite="#//tables/Table/triggers"/>
919 <eStructuralFeatures xsi:type="ecore:EReference" name="actionStatement" lowerBound="1" upperBound="-1" eType="#//statements/SQLStatement" containment="true"/>
920 <eStructuralFeatures xsi:type="ecore:EReference" name="triggerColumn" upperBound="-1" eType="#//tables/Column"/>
921 <eStructuralFeatures xsi:type="ecore:EAttribute" name="actionGranularity" eType="#//tables/ActionGranularityType" defaultValueLiteral="STATEMENT"/>
922 <eStructuralFeatures xsi:type="ecore:EReference" name="when" eType="#//expressions/SearchCondition" containment="true" resolveProxies="false"/>
923 <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeStamp" eType="#//schema/Date" changeable="false">
924 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
925 <details key="documentation" value=""/>
926 </eAnnotations>
927 </eStructuralFeatures>
928 <eStructuralFeatures xsi:type="ecore:EAttribute" name="actionTime" eType="#//tables/ActionTimeType"/>
929 <eStructuralFeatures xsi:type="ecore:EAttribute" name="updateType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
930 <eStructuralFeatures xsi:type="ecore:EAttribute" name="insertType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
931 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deleteType" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
932 <eStructuralFeatures xsi:type="ecore:EAttribute" name="oldRow" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
933 <eStructuralFeatures xsi:type="ecore:EAttribute" name="newRow" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
934 <eStructuralFeatures xsi:type="ecore:EAttribute" name="oldTable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
935 <eStructuralFeatures xsi:type="ecore:EAttribute" name="newTable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
936 </eClassifiers>
937 <eClassifiers xsi:type="ecore:EEnum" name="ActionTimeType">
938 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
939 <details key="documentation" value=""/>
940 </eAnnotations>
941 <eLiterals name="AFTER"/>
942 <eLiterals name="BEFORE" value="1"/>
943 <eLiterals name="INSTEADOF" value="2"/>
944 </eClassifiers>
945 <eClassifiers xsi:type="ecore:EEnum" name="ActionGranularityType">
946 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
947 <details key="documentation" value=""/>
948 </eAnnotations>
949 <eLiterals name="STATEMENT"/>
950 <eLiterals name="ROW" value="1"/>
951 </eClassifiers>
952 </eSubpackages>
953 <eSubpackages name="accesscontrol" nsURI="http:///org/eclipse/datatools/modelbase/sql/accesscontrol.ecore" nsPrefix="SQLAccessControl">
954 <eClassifiers xsi:type="ecore:EClass" name="AuthorizationIdentifier" abstract="true" eSuperTypes="#//schema/SQLObject">
955 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
956 <details key="documentation" value=""/>
957 </eAnnotations>
958 <eStructuralFeatures xsi:type="ecore:EReference" name="ownedSchema" upperBound="-1" eType="#//schema/Schema" eOpposite="#//schema/Schema/owner"/>
959 <eStructuralFeatures xsi:type="ecore:EReference" name="Database" lowerBound="1" eType="#//schema/Database" eOpposite="#//schema/Database/authorizationIds"/>
960 <eStructuralFeatures xsi:type="ecore:EReference" name="receivedRoleAuthorization" upperBound="-1" eType="#//accesscontrol/RoleAuthorization" eOpposite="#//accesscontrol/RoleAuthorization/grantee"/>
961 <eStructuralFeatures xsi:type="ecore:EReference" name="grantedRoleAuthorization" upperBound="-1" eType="#//accesscontrol/RoleAuthorization" eOpposite="#//accesscontrol/RoleAuthorization/grantor"/>
962 <eStructuralFeatures xsi:type="ecore:EReference" name="grantedPrivilege" upperBound="-1" eType="#//accesscontrol/Privilege" eOpposite="#//accesscontrol/Privilege/grantor"/>
963 <eStructuralFeatures xsi:type="ecore:EReference" name="receivedPrivilege" upperBound="-1" eType="#//accesscontrol/Privilege" containment="true" eOpposite="#//accesscontrol/Privilege/grantee"/>
964 </eClassifiers>
965 <eClassifiers xsi:type="ecore:EClass" name="Privilege" eSuperTypes="#//schema/SQLObject">
966 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
967 <details key="documentation" value=""/>
968 </eAnnotations>
969 <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
970 <eStructuralFeatures xsi:type="ecore:EAttribute" name="action" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
971 <eStructuralFeatures xsi:type="ecore:EAttribute" name="withHierarchy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
972 <eStructuralFeatures xsi:type="ecore:EReference" name="grantor" lowerBound="1" eType="#//accesscontrol/AuthorizationIdentifier" eOpposite="#//accesscontrol/AuthorizationIdentifier/grantedPrivilege"/>
973 <eStructuralFeatures xsi:type="ecore:EReference" name="grantee" eType="#//accesscontrol/AuthorizationIdentifier" transient="true" eOpposite="#//accesscontrol/AuthorizationIdentifier/receivedPrivilege"/>
974 <eStructuralFeatures xsi:type="ecore:EReference" name="actionObjects" upperBound="-1" eType="#//schema/SQLObject"/>
975 <eStructuralFeatures xsi:type="ecore:EReference" name="object" lowerBound="1" eType="#//schema/SQLObject" eOpposite="#//schema/SQLObject/privileges"/>
976 </eClassifiers>
977 <eClassifiers xsi:type="ecore:EClass" name="Group" eSuperTypes="#//accesscontrol/AuthorizationIdentifier">
978 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
979 <details key="documentation" value=""/>
980 </eAnnotations>
981 <eStructuralFeatures xsi:type="ecore:EReference" name="user" upperBound="-1" eType="#//accesscontrol/User" eOpposite="#//accesscontrol/User/group"/>
982 </eClassifiers>
983 <eClassifiers xsi:type="ecore:EClass" name="User" eSuperTypes="#//accesscontrol/AuthorizationIdentifier">
984 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
985 <details key="documentation" value=""/>
986 </eAnnotations>
987 <eStructuralFeatures xsi:type="ecore:EReference" name="group" upperBound="-1" eType="#//accesscontrol/Group" eOpposite="#//accesscontrol/Group/user"/>
988 </eClassifiers>
989 <eClassifiers xsi:type="ecore:EClass" name="Role" eSuperTypes="#//accesscontrol/AuthorizationIdentifier">
990 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
991 <details key="documentation" value=""/>
992 </eAnnotations>
993 <eStructuralFeatures xsi:type="ecore:EReference" name="roleAuthorization" lowerBound="1" upperBound="-1" eType="#//accesscontrol/RoleAuthorization" eOpposite="#//accesscontrol/RoleAuthorization/role"/>
994 </eClassifiers>
995 <eClassifiers xsi:type="ecore:EClass" name="RoleAuthorization" eSuperTypes="#//schema/SQLObject">
996 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
997 <details key="documentation" value=""/>
998 </eAnnotations>
999 <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
1000 <eStructuralFeatures xsi:type="ecore:EReference" name="role" lowerBound="1" eType="#//accesscontrol/Role" eOpposite="#//accesscontrol/Role/roleAuthorization"/>
1001 <eStructuralFeatures xsi:type="ecore:EReference" name="grantee" lowerBound="1" eType="#//accesscontrol/AuthorizationIdentifier" eOpposite="#//accesscontrol/AuthorizationIdentifier/receivedRoleAuthorization"/>
1002 <eStructuralFeatures xsi:type="ecore:EReference" name="grantor" lowerBound="1" eType="#//accesscontrol/AuthorizationIdentifier" eOpposite="#//accesscontrol/AuthorizationIdentifier/grantedRoleAuthorization"/>
1003 </eClassifiers>
1004 </eSubpackages>
jgrahamc8a1f8c2007-03-05 15:52:18 +00001005</ecore:EPackage>