blob: 837fb4c8dc1523cc024f0898a2b55fdff650804b [file] [log] [blame]
Brian Payton1f11bbe2005-12-16 13:16:53 +00001<?xml version="1.0" encoding="UTF-8"?>
2<ecore:EPackage xmi:version="2.0"
3 xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="query"
5 nsURI="http:///org/eclipse/datatools/modelbase/sql/xml/query/SQLXMLQueryModel.ecore"
6 nsPrefix="org.eclipse.datatools.modelbase.sql.xml.query">
7 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
8 <details key="documentation" value="The documentation for this model is adapted from &quot;Information technology -- Database languages -- SQL, Part 14: XML-Related Specifications (SQL/XML)&quot; WG3:WLG-010preview H2-2005-xxx, FDIS ISO/IEC 9075-14:2005 (E) draft published May, 2005.&#xD;&#xA;"/>
9 </eAnnotations>
10 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionConcat" eSuperTypes="#//XMLValueFunction">
11 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
12 <details key="documentation" value="Generates an XML value which is the concatenation of a list of XML values. See ISO SQL/XML sec. 6.11."/>
13 </eAnnotations>
14 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
15 <eStructuralFeatures xsi:type="ecore:EReference" name="concatContentList" lowerBound="1"
16 upperBound="-1" eType="#//XMLValueFunctionConcatContentItem" containment="true"
17 eOpposite="#//XMLValueFunctionConcatContentItem/valueFunctionConcat"/>
18 </eClassifiers>
19 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunction" abstract="true" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//ValueExpressionFunction">
20 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
21 <details key="documentation" value="Specifies a function that yields a value of type XML. See ISO SQL/XML sec. 6.9."/>
22 </eAnnotations>
23 </eClassifiers>
24 <eClassifiers xsi:type="ecore:EClass" name="XMLNamespaceDeclarationPrefix" eSuperTypes="#//XMLNamespaceDeclarationItem">
25 <eStructuralFeatures xsi:type="ecore:EAttribute" name="prefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
26 </eClassifiers>
27 <eClassifiers xsi:type="ecore:EClass" name="XMLNamespaceDeclarationDefault" eSuperTypes="#//XMLNamespaceDeclarationItem">
28 <eStructuralFeatures xsi:type="ecore:EAttribute" name="noDefault" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
29 defaultValueLiteral="false"/>
30 </eClassifiers>
31 <eClassifiers xsi:type="ecore:EClass" name="XMLAttributeDeclarationItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
32 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
33 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
34 containment="true"/>
35 <eStructuralFeatures xsi:type="ecore:EReference" name="attributesDecl" lowerBound="1"
36 eType="#//XMLAttributesDeclaration" transient="true" eOpposite="#//XMLAttributesDeclaration/attributeDeclItem"/>
37 </eClassifiers>
38 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionElement" eSuperTypes="#//XMLValueFunction">
39 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
40 <details key="documentation" value="Generates an XML element with a given element name, list of XML attributes, and list of content values. See ISO SQL/XML sec. 6.13."/>
41 </eAnnotations>
42 <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
43 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
44 <eStructuralFeatures xsi:type="ecore:EReference" name="namespacesDecl" eType="#//XMLNamespacesDeclaration"
45 containment="true" eOpposite="#//XMLNamespacesDeclaration/valueFunctionElement"/>
46 <eStructuralFeatures xsi:type="ecore:EReference" name="attributesDecl" eType="#//XMLAttributesDeclaration"
47 containment="true" eOpposite="#//XMLAttributesDeclaration/valueFunctionElement"/>
48 <eStructuralFeatures xsi:type="ecore:EReference" name="elementContentList" eType="#//XMLValueFunctionElementContentList"
49 containment="true" eOpposite="#//XMLValueFunctionElementContentList/valueFunctionElement"/>
50 </eClassifiers>
51 <eClassifiers xsi:type="ecore:EClass" name="XMLNamespaceDeclarationItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
52 <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
53 <eStructuralFeatures xsi:type="ecore:EReference" name="namespacesDecl" lowerBound="1"
54 eType="#//XMLNamespacesDeclaration" transient="true" eOpposite="#//XMLNamespacesDeclaration/namespaceDecltemList"/>
55 </eClassifiers>
56 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionElementContentItem"
57 eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
58 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
59 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
60 containment="true"/>
61 <eStructuralFeatures xsi:type="ecore:EReference" name="elementContentList" lowerBound="1"
62 eType="#//XMLValueFunctionElementContentList" transient="true" eOpposite="#//XMLValueFunctionElementContentList/elementContentListChildren"/>
63 </eClassifiers>
64 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionForest" eSuperTypes="#//XMLValueFunction">
65 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
66 <details key="documentation" value="Generates an XML value containing a sequence of XML elements. See ISO SQL/XML sec. 6.14."/>
67 </eAnnotations>
68 <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullHandlingOption" eType="#//XMLNullHandlingType"/>
69 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
70 <eStructuralFeatures xsi:type="ecore:EReference" name="forestContentList" upperBound="-1"
71 eType="#//XMLValueFunctionForestContentItem" containment="true" eOpposite="#//XMLValueFunctionForestContentItem/valueFunctionForest"/>
72 <eStructuralFeatures xsi:type="ecore:EReference" name="namespacesDecl" eType="#//XMLNamespacesDeclaration"
73 containment="true" eOpposite="#//XMLNamespacesDeclaration/valueFunctionForest"/>
74 </eClassifiers>
75 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionComment" eSuperTypes="#//XMLValueFunction">
76 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
77 <details key="documentation" value="Generates an XML comment value from a string expression. See ISO SQL/XML sec. 6.10."/>
78 </eAnnotations>
79 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
80 <eStructuralFeatures xsi:type="ecore:EReference" name="commentContent" lowerBound="1"
81 eType="#//XMLValueFunctionCommentContent" containment="true" eOpposite="#//XMLValueFunctionCommentContent/valueFunctionComment"/>
82 </eClassifiers>
83 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionDocument" eSuperTypes="#//XMLValueFunction">
84 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
85 <details key="documentation" value="Generates an XML document node from an XML value expression. See ISO SQL/XML sec. 6.12."/>
86 </eAnnotations>
87 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
88 <eStructuralFeatures xsi:type="ecore:EReference" name="documentContent" lowerBound="1"
89 eType="#//XMLValueFunctionDocumentContent" containment="true" eOpposite="#//XMLValueFunctionDocumentContent/valueFunctionDocument"/>
90 </eClassifiers>
91 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionParse" eSuperTypes="#//XMLValueFunction">
92 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
93 <details key="documentation" value="Generates an XML value by performing a non-validating parse of a given string expression. See ISO SQL/XML sec. 6.15."/>
94 </eAnnotations>
95 <eStructuralFeatures xsi:type="ecore:EAttribute" name="contentOption" eType="#//XMLContentType"/>
96 <eStructuralFeatures xsi:type="ecore:EAttribute" name="whitespaceHandlingOption"
97 eType="#//XMLWhitespaceHandlingType"/>
98 <eStructuralFeatures xsi:type="ecore:EReference" name="parseContent" lowerBound="1"
99 eType="#//XMLValueFunctionParseContent" containment="true" eOpposite="#//XMLValueFunctionParseContent/valueFunctionParse"/>
100 </eClassifiers>
101 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionPI" eSuperTypes="#//XMLValueFunction">
102 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
103 <details key="documentation" value="Generates an XML value consisting of an XML processing instruction based on the given string expression. See ISO SQL/XML sec. 6.16."/>
104 </eAnnotations>
105 <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
106 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
107 <eStructuralFeatures xsi:type="ecore:EReference" name="PIContent" eType="#//XMLValueFunctionPIContent"
108 containment="true" eOpposite="#//XMLValueFunctionPIContent/valueFunctionPI"/>
109 </eClassifiers>
110 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionQuery" eSuperTypes="#//XMLValueFunction">
111 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
112 <details key="documentation" value="Generates an XML value as the result of evaluating a given XQuery expression. See ISO SQL/XML sec. 6.17."/>
113 </eAnnotations>
114 <eStructuralFeatures xsi:type="ecore:EAttribute" name="emptyHandlingOption" eType="#//XMLEmptyHandlingType"/>
115 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryExpr" lowerBound="1"
116 eType="#//XMLQueryExpression" containment="true" eOpposite="#//XMLQueryExpression/valueFunctionQuery"/>
117 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryArgList" eType="#//XMLQueryArgumentList"
118 containment="true" eOpposite="#//XMLQueryArgumentList/valueFunctionQuery"/>
119 <eStructuralFeatures xsi:type="ecore:EReference" name="queryReturning" eType="#//XMLValueFunctionQueryReturning"
120 containment="true" eOpposite="#//XMLValueFunctionQueryReturning/valueFunctionQuery"/>
121 </eClassifiers>
122 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionText" eSuperTypes="#//XMLValueFunction">
123 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
124 <details key="documentation" value="Generates an XML value consisting of a XML text element from a given string expression. See ISO SQL/XML sec. 6.18."/>
125 </eAnnotations>
126 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
127 <eStructuralFeatures xsi:type="ecore:EReference" name="textContent" lowerBound="1"
128 eType="#//XMLValueFunctionTextContent" containment="true" eOpposite="#//XMLValueFunctionTextContent/valueFunctionText"/>
129 </eClassifiers>
130 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidate" eSuperTypes="#//XMLValueFunction">
131 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
132 <details key="documentation" value="Generates an XML value by performing a parse of an XML expression according to a given XML schema. See ISO SQL/XML sec. 6.19."/>
133 </eAnnotations>
134 <eStructuralFeatures xsi:type="ecore:EAttribute" name="contentOption" eType="#//XMLContentType2"/>
135 <eStructuralFeatures xsi:type="ecore:EReference" name="validateContent" lowerBound="1"
136 eType="#//XMLValueFunctionValidateContent" containment="true" eOpposite="#//XMLValueFunctionValidateContent/valueFunctionValidate"/>
137 <eStructuralFeatures xsi:type="ecore:EReference" name="validateAccordingTo" eType="#//XMLValueFunctionValidateAccordingTo"
138 containment="true" eOpposite="#//XMLValueFunctionValidateAccordingTo/valueFunctionValidate"/>
139 </eClassifiers>
140 <eClassifiers xsi:type="ecore:EClass" name="XMLValueExpressionCast" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//ValueExpressionCast">
141 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
142 <details key="documentation" value="Specifies a data conversion whose source or target is a value expressoin with an XML datatype. See ISO SQL/XML sec. 6.5. The &lt;XML cast operand>is handled by the valueExpr relationship of the ValueExpressionCast. &lt;XML target operand> (which is a datatype) is handled by the datatype attribute of QueryValueeExpression. The &lt;null specification> is handled by the ValueExpressionNullValue subtype of QueryValueExpression.&#xD;&#xA;"/>
143 </eAnnotations>
144 <eStructuralFeatures xsi:type="ecore:EAttribute" name="passingMechanism" eType="#//XMLPassingType"/>
145 </eClassifiers>
146 <eClassifiers xsi:type="ecore:EEnum" name="XMLPassingType">
147 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
148 <details key="documentation" value="Represents the possible values for the XML passing mechanism clause. A value of NONE indicates that the passing mechanism clause should be omitted."/>
149 </eAnnotations>
150 <eLiterals name="BY_REF"/>
151 <eLiterals name="BY_VALUE" value="1"/>
152 <eLiterals name="NONE" value="2"/>
153 </eClassifiers>
154 <eClassifiers xsi:type="ecore:EClass" name="XMLPredicate" abstract="true" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//Predicate">
155 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
156 <details key="documentation" value="An XMLPredicate specifies a condition involving an XML value expression that can be evaluated to return true or false. See ISO SQL/XML sec. 8.1.&#xD;&#xA;"/>
157 </eAnnotations>
158 </eClassifiers>
159 <eClassifiers xsi:type="ecore:EClass" name="XMLPredicateContent" eSuperTypes="#//XMLPredicate">
160 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
161 <details key="documentation" value="Tests whether or not a given XML value represents an XML document. See ISO SQL/XML sec. 8.2.&#xD;&#xA;&#xD;&#xA;Note: the elaboration of this element is TBD"/>
162 </eAnnotations>
163 </eClassifiers>
164 <eClassifiers xsi:type="ecore:EClass" name="XMLPredicateDocument" eSuperTypes="#//XMLPredicate">
165 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
166 <details key="documentation" value="Tests whether or not a given XML value represents an XML document which contains exactly one XML element, zero or more XML comments, and zero or more XML processing instructions. See ISO SQL/XML sec. 8.3.&#xD;&#xA;&#xD;&#xA;Note: the elaboration of this element is TBD."/>
167 </eAnnotations>
168 </eClassifiers>
169 <eClassifiers xsi:type="ecore:EClass" name="XMLPredicateExists" eSuperTypes="#//XMLPredicate">
170 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
171 <details key="documentation" value="Tests whether or not a given XQuery expression represents an non-empty sequence. See ISO SQL/XML sec. 8.4."/>
172 </eAnnotations>
173 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryExpr" lowerBound="1"
174 eType="#//XMLQueryExpression" containment="true" eOpposite="#//XMLQueryExpression/predicateExists"/>
175 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryArgList" eType="#//XMLQueryArgumentList"
176 containment="true" eOpposite="#//XMLQueryArgumentList/predicateExists"/>
177 </eClassifiers>
178 <eClassifiers xsi:type="ecore:EClass" name="XMLPredicateValid" eSuperTypes="#//XMLPredicate">
179 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
180 <details key="documentation" value="Tests whether or not a given XML value is valid according to a registered XML schema. See ISO SQL/XML sec. 8.5.&#xD;&#xA;&#xD;&#xA;Note: the elaboration of this element is TBD."/>
181 </eAnnotations>
182 </eClassifiers>
183 <eClassifiers xsi:type="ecore:EClass" name="XMLQueryExpression" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
184 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
185 <details key="documentation" value="Represents an XQuery expression. The content of this element is a literal string which specifies an XML Query. See ISO SQL/XML sec. 6.17."/>
186 </eAnnotations>
187 <eStructuralFeatures xsi:type="ecore:EAttribute" name="xqueryExprContent" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
188 <eStructuralFeatures xsi:type="ecore:EReference" name="predicateExists" lowerBound="1"
189 eType="#//XMLPredicateExists" transient="true" eOpposite="#//XMLPredicateExists/xqueryExpr"/>
190 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionQuery" lowerBound="1"
191 eType="#//XMLValueFunctionQuery" transient="true" eOpposite="#//XMLValueFunctionQuery/xqueryExpr"/>
192 </eClassifiers>
193 <eClassifiers xsi:type="ecore:EClass" name="XMLQueryArgumentList" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
194 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
195 <details key="documentation" value="Represents an XML Query argument list. See ISO SQL/XML sec. 6.17. &lt;note>The list is modelled as an explicit object rather than just as a list of XMLQueryArgument objects attached to the parent so that the list as whole can have an optional passing mechanism clause.&lt;/note>"/>
196 </eAnnotations>
197 <eStructuralFeatures xsi:type="ecore:EAttribute" name="passingMechanism" eType="#//XMLPassingType"/>
198 <eStructuralFeatures xsi:type="ecore:EReference" name="predicateExists" lowerBound="1"
199 eType="#//XMLPredicateExists" transient="true" eOpposite="#//XMLPredicateExists/xqueryArgList"/>
200 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryArgListChildren"
201 lowerBound="1" upperBound="-1" eType="#//XMLQueryArgumentItem" containment="true"
202 eOpposite="#//XMLQueryArgumentItem/xqueryArgList"/>
203 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionQuery" lowerBound="1"
204 eType="#//XMLValueFunctionQuery" transient="true" eOpposite="#//XMLValueFunctionQuery/xqueryArgList"/>
205 <eStructuralFeatures xsi:type="ecore:EReference" name="tableFunction" lowerBound="1"
206 eType="#//XMLTableFunction" transient="true" eOpposite="#//XMLTableFunction/xqueryArgList"/>
207 </eClassifiers>
208 <eClassifiers xsi:type="ecore:EClass" name="XMLQueryArgumentItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
209 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
210 <details key="documentation" value="Represents a single XML Query Argument within an XML Query Argument list. The name attribute, if used, indicates that this argument is an XML Query variable. The attached value expression must resolve to an XML datatype. See ISO SQL/XML sec. 6.17."/>
211 </eAnnotations>
212 <eStructuralFeatures xsi:type="ecore:EAttribute" name="passingMechanism" eType="#//XMLPassingType"/>
213 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryArgList" lowerBound="1"
214 eType="#//XMLQueryArgumentList" transient="true" eOpposite="#//XMLQueryArgumentList/xqueryArgListChildren"/>
215 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
216 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
217 containment="true"/>
218 </eClassifiers>
219 <eClassifiers xsi:type="ecore:EClass" name="XMLSerializeFunction" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//ValueExpressionFunction">
220 <eStructuralFeatures xsi:type="ecore:EAttribute" name="contentOption" eType="#//XMLContentType"/>
221 <eStructuralFeatures xsi:type="ecore:EAttribute" name="serializeVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
222 <eStructuralFeatures xsi:type="ecore:EAttribute" name="declarationOption" eType="#//XMLDeclarationType"/>
223 <eStructuralFeatures xsi:type="ecore:EReference" name="serializeTarget" lowerBound="1"
224 eType="#//XMLSerializeFunctionTarget" containment="true" eOpposite="#//XMLSerializeFunctionTarget/serializeFunction"/>
225 <eStructuralFeatures xsi:type="ecore:EReference" name="serializeEncoding" eType="#//XMLSerializeFunctionEncoding"
226 containment="true"/>
227 </eClassifiers>
228 <eClassifiers xsi:type="ecore:EEnum" name="XMLContentType">
229 <eLiterals name="CONTENT"/>
230 <eLiterals name="DOCUMENT" value="1"/>
231 <eLiterals name="NONE" value="2"/>
232 </eClassifiers>
233 <eClassifiers xsi:type="ecore:EClass" name="XMLSerializeFunctionTarget" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
234 <eStructuralFeatures xsi:type="ecore:EReference" name="serializeFunction" lowerBound="1"
235 eType="#//XMLSerializeFunction" transient="true" eOpposite="#//XMLSerializeFunction/serializeTarget"/>
236 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
237 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
238 containment="true"/>
239 </eClassifiers>
240 <eClassifiers xsi:type="ecore:EEnum" name="XMLDeclarationType">
241 <eLiterals name="EXCLUDING_XMLDECLARATION"/>
242 <eLiterals name="INCLUDING_XMLDECLARATION" value="1"/>
243 <eLiterals name="NONE" value="2"/>
244 </eClassifiers>
245 <eClassifiers xsi:type="ecore:EClass" name="XMLAggregateFunction" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//ValueExpressionFunction">
246 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
247 <details key="documentation" value="Specifies a value computed from a collection of rows. See ISO SQL/XML sec. 11.2. The &lt;XML value expression> clause is handled by the parameterList relationship in ValueExpressionFunction, but is restricted to a single element in this case."/>
248 </eAnnotations>
249 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
250 <eStructuralFeatures xsi:type="ecore:EReference" name="sortSpecList" upperBound="-1"
251 eType="#//XMLAggregateSortSpecification" containment="true" eOpposite="#//XMLAggregateSortSpecification/aggregateFunction"/>
252 </eClassifiers>
253 <eClassifiers xsi:type="ecore:EEnum" name="XMLReturningType">
254 <eLiterals name="RETURNING_CONTENT"/>
255 <eLiterals name="RETURNING_SEQUENCE" value="1"/>
256 <eLiterals name="NONE" value="2"/>
257 </eClassifiers>
258 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionConcatContentItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
259 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
260 <details key="documentation" value="Represents an XML value expression within an XMLCONCAT function. See ISO SQL/XML sec. 6.11. Contains a value expression which must resolve to an XML datatype.&#xD;&#xA;"/>
261 </eAnnotations>
262 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionConcat" lowerBound="1"
263 eType="#//XMLValueFunctionConcat" transient="true" eOpposite="#//XMLValueFunctionConcat/concatContentList"/>
264 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
265 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
266 containment="true"/>
267 </eClassifiers>
268 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionCommentContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
269 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
270 <details key="documentation" value="Represents the &lt;string value expression> within an &lt;XML comment> function. See ISO SQL/XML sec. 6.10. Contains a value expression which must resolve to an string datatype."/>
271 </eAnnotations>
272 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionComment" lowerBound="1"
273 eType="#//XMLValueFunctionComment" transient="true" eOpposite="#//XMLValueFunctionComment/commentContent"/>
274 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
275 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
276 containment="true"/>
277 </eClassifiers>
278 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionDocumentContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
279 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
280 <details key="documentation" value="Represents an &lt;XML value expression> within an &lt;XML document> function. See ISO SQL/XML sec. 6.12. The value expression contained by this element must resolve to an XML datatype.&#xD;&#xA;"/>
281 </eAnnotations>
282 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionDocument"
283 lowerBound="1" eType="#//XMLValueFunctionDocument" transient="true" eOpposite="#//XMLValueFunctionDocument/documentContent"/>
284 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
285 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
286 containment="true"/>
287 </eClassifiers>
288 <eClassifiers xsi:type="ecore:EClass" name="XMLAggregateSortSpecification" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
289 <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
290 <details key="documentation" value="Specifies an ordering within the values returned by the aggregation function. See ISO SQL/XML sec. 11.2."/>
291 </eAnnotations>
292 <eStructuralFeatures xsi:type="ecore:EReference" name="aggregateFunction" lowerBound="1"
293 eType="#//XMLAggregateFunction" transient="true" eOpposite="#//XMLAggregateFunction/sortSpecList"/>
294 <eStructuralFeatures xsi:type="ecore:EReference" name="orderBySpec" lowerBound="1"
295 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//OrderBySpecification"
296 containment="true"/>
297 </eClassifiers>
298 <eClassifiers xsi:type="ecore:EEnum" name="XMLNullHandlingType">
299 <eLiterals name="ABSENT_ON_NULL"/>
300 <eLiterals name="EMPTY_ON_NULL" value="1"/>
301 <eLiterals name="NIL_ON_NO_CONTENT" value="2"/>
302 <eLiterals name="NIL_ON_NULL" value="3"/>
303 <eLiterals name="NULL_ON_NULL" value="4"/>
304 <eLiterals name="NONE" value="5"/>
305 </eClassifiers>
306 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionForestContentItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
307 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionForest" lowerBound="1"
308 eType="#//XMLValueFunctionForest" transient="true" eOpposite="#//XMLValueFunctionForest/forestContentList"/>
309 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
310 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
311 containment="true"/>
312 </eClassifiers>
313 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionParseContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
314 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionParse" lowerBound="1"
315 eType="#//XMLValueFunctionParse" transient="true" eOpposite="#//XMLValueFunctionParse/parseContent"/>
316 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
317 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
318 containment="true"/>
319 </eClassifiers>
320 <eClassifiers xsi:type="ecore:EEnum" name="XMLWhitespaceHandlingType">
321 <eLiterals name="PRESERE_WHITESPACE"/>
322 <eLiterals name="STRIP_WHITESPACE" value="1"/>
323 <eLiterals name="NONE" value="2"/>
324 </eClassifiers>
325 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionPIContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
326 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionPI" lowerBound="1"
327 eType="#//XMLValueFunctionPI" transient="true" eOpposite="#//XMLValueFunctionPI/PIContent"/>
328 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
329 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
330 containment="true"/>
331 </eClassifiers>
332 <eClassifiers xsi:type="ecore:EEnum" name="XMLEmptyHandlingType">
333 <eLiterals name="EMPTY_ON_EMPTY"/>
334 <eLiterals name="NULL_ON_EMPTY" value="1"/>
335 <eLiterals name="NONE" value="2"/>
336 </eClassifiers>
337 <eClassifiers xsi:type="ecore:EClass" name="XMLTableFunction" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//TableFunction">
338 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableRowPattern" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
339 <eStructuralFeatures xsi:type="ecore:EReference" name="xqueryArgList" eType="#//XMLQueryArgumentList"
340 containment="true" eOpposite="#//XMLQueryArgumentList/tableFunction"/>
341 <eStructuralFeatures xsi:type="ecore:EReference" name="columnDefList" lowerBound="1"
342 upperBound="-1" eType="#//XMLTableColumnDefinitionItem" containment="true"
343 eOpposite="#//XMLTableColumnDefinitionItem/tableFunction"/>
344 <eStructuralFeatures xsi:type="ecore:EReference" name="namespacesDecl" eType="#//XMLNamespacesDeclaration"
345 containment="true" eOpposite="#//XMLNamespacesDeclaration/tableFunction"/>
346 </eClassifiers>
347 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionTextContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
348 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionText" lowerBound="1"
349 eType="#//XMLValueFunctionText" transient="true" eOpposite="#//XMLValueFunctionText/textContent"/>
350 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
351 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
352 containment="true"/>
353 </eClassifiers>
354 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateContent" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
355 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionValidate"
356 lowerBound="1" eType="#//XMLValueFunctionValidate" transient="true" eOpposite="#//XMLValueFunctionValidate/validateContent"/>
357 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
358 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
359 containment="true"/>
360 </eClassifiers>
361 <eClassifiers xsi:type="ecore:EEnum" name="XMLContentType2">
362 <eLiterals name="CONTENT"/>
363 <eLiterals name="DOCUMENT" value="1"/>
364 <eLiterals name="SEQUENCE" value="2"/>
365 <eLiterals name="NONE" value="3"/>
366 </eClassifiers>
367 <eClassifiers xsi:type="ecore:EClass" name="XMLTableColumnDefinitionItem" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
368 <eStructuralFeatures xsi:type="ecore:EReference" name="tableFunction" lowerBound="1"
369 eType="#//XMLTableFunction" transient="true" eOpposite="#//XMLTableFunction/columnDefList"/>
370 </eClassifiers>
371 <eClassifiers xsi:type="ecore:EClass" name="XMLTableColumnDefinitionRegular" eSuperTypes="#//XMLTableColumnDefinitionItem">
372 <eStructuralFeatures xsi:type="ecore:EReference" name="dataType" eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql/src/model/sqlmodel.ecore#//datatypes/DataType"
373 containment="true"/>
374 <eStructuralFeatures xsi:type="ecore:EAttribute" name="passingOption" eType="#//XMLPassingType"/>
375 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tableColumnPattern" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
376 <eStructuralFeatures xsi:type="ecore:EReference" name="columnDefinitionDefault"
377 eType="#//XMLTableColumnDefinitionDefault" containment="true" eOpposite="#//XMLTableColumnDefinitionDefault/columnDefinitionRegular"/>
378 </eClassifiers>
379 <eClassifiers xsi:type="ecore:EClass" name="XMLTableColumnDefinitionOrdinality"
380 eSuperTypes="#//XMLTableColumnDefinitionItem"/>
381 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateAccordingTo"
382 eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
383 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionValidate"
384 lowerBound="1" eType="#//XMLValueFunctionValidate" transient="true" eOpposite="#//XMLValueFunctionValidate/validateAccordingTo"/>
385 <eStructuralFeatures xsi:type="ecore:EReference" name="validateElement" eType="#//XMLValueFunctionValidateElement"
386 containment="true" eOpposite="#//XMLValueFunctionValidateElement/validateAccordingTo"/>
387 </eClassifiers>
388 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateAccordingToURI"
389 eSuperTypes="#//XMLValueFunctionValidateAccordingTo">
390 <eStructuralFeatures xsi:type="ecore:EAttribute" name="noNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
391 defaultValueLiteral="false"/>
392 <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetNamespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
393 <eStructuralFeatures xsi:type="ecore:EAttribute" name="schemaLocationURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
394 </eClassifiers>
395 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateAccordingToIdentifier"
396 eSuperTypes="#//XMLValueFunctionValidateAccordingTo">
397 <eStructuralFeatures xsi:type="ecore:EAttribute" name="schemaName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
398 <eStructuralFeatures xsi:type="ecore:EAttribute" name="registeredXMLSchemaName"
399 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
400 </eClassifiers>
401 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateElementName"
402 eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
403 <eStructuralFeatures xsi:type="ecore:EReference" name="validateElement" lowerBound="1"
404 eType="#//XMLValueFunctionValidateElement" transient="true" eOpposite="#//XMLValueFunctionValidateElement/validateElementName"/>
405 </eClassifiers>
406 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateElementNamespace"
407 eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
408 <eStructuralFeatures xsi:type="ecore:EAttribute" name="noNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
409 defaultValueLiteral="false"/>
410 <eStructuralFeatures xsi:type="ecore:EAttribute" name="namespaceURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
411 <eStructuralFeatures xsi:type="ecore:EReference" name="validateElement" lowerBound="1"
412 eType="#//XMLValueFunctionValidateElement" transient="true" eOpposite="#//XMLValueFunctionValidateElement/validateElementNamespace"/>
413 </eClassifiers>
414 <eClassifiers xsi:type="ecore:EClass" name="XMLNamespacesDeclaration" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
415 <eStructuralFeatures xsi:type="ecore:EReference" name="namespaceDecltemList" lowerBound="1"
416 upperBound="-1" eType="#//XMLNamespaceDeclarationItem" containment="true"
417 eOpposite="#//XMLNamespaceDeclarationItem/namespacesDecl"/>
418 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionElement" lowerBound="1"
419 eType="#//XMLValueFunctionElement" transient="true" eOpposite="#//XMLValueFunctionElement/namespacesDecl"/>
420 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionForest" lowerBound="1"
421 eType="#//XMLValueFunctionForest" transient="true" eOpposite="#//XMLValueFunctionForest/namespacesDecl"/>
422 <eStructuralFeatures xsi:type="ecore:EReference" name="tableFunction" lowerBound="1"
423 eType="#//XMLTableFunction" transient="true" eOpposite="#//XMLTableFunction/namespacesDecl"/>
424 </eClassifiers>
425 <eClassifiers xsi:type="ecore:EClass" name="XMLAttributesDeclaration">
426 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionElement" lowerBound="1"
427 eType="#//XMLValueFunctionElement" transient="true" eOpposite="#//XMLValueFunctionElement/attributesDecl"/>
428 <eStructuralFeatures xsi:type="ecore:EReference" name="attributeDeclItem" lowerBound="1"
429 upperBound="-1" eType="#//XMLAttributeDeclarationItem" containment="true"
430 eOpposite="#//XMLAttributeDeclarationItem/attributesDecl"/>
431 </eClassifiers>
432 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionElementContentList"
433 eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
434 <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullHandlingOption" eType="#//XMLNullHandlingType"/>
435 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionElement" lowerBound="1"
436 eType="#//XMLValueFunctionElement" transient="true" eOpposite="#//XMLValueFunctionElement/elementContentList"/>
437 <eStructuralFeatures xsi:type="ecore:EReference" name="elementContentListChildren"
438 upperBound="-1" eType="#//XMLValueFunctionElementContentItem" containment="true"
439 eOpposite="#//XMLValueFunctionElementContentItem/elementContentList"/>
440 </eClassifiers>
441 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionQueryReturning" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
442 <eStructuralFeatures xsi:type="ecore:EAttribute" name="returningOption" eType="#//XMLReturningType"/>
443 <eStructuralFeatures xsi:type="ecore:EAttribute" name="passingOption" eType="#//XMLPassingType"/>
444 <eStructuralFeatures xsi:type="ecore:EReference" name="valueFunctionQuery" lowerBound="1"
445 eType="#//XMLValueFunctionQuery" transient="true" eOpposite="#//XMLValueFunctionQuery/queryReturning"/>
446 </eClassifiers>
447 <eClassifiers xsi:type="ecore:EClass" name="XMLValueFunctionValidateElement" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
448 <eStructuralFeatures xsi:type="ecore:EReference" name="validateElementNamespace"
449 eType="#//XMLValueFunctionValidateElementNamespace" containment="true" eOpposite="#//XMLValueFunctionValidateElementNamespace/validateElement"/>
450 <eStructuralFeatures xsi:type="ecore:EReference" name="validateElementName" eType="#//XMLValueFunctionValidateElementName"
451 containment="true" eOpposite="#//XMLValueFunctionValidateElementName/validateElement"/>
452 <eStructuralFeatures xsi:type="ecore:EReference" name="validateAccordingTo" lowerBound="1"
453 eType="#//XMLValueFunctionValidateAccordingTo" transient="true" eOpposite="#//XMLValueFunctionValidateAccordingTo/validateElement"/>
454 </eClassifiers>
455 <eClassifiers xsi:type="ecore:EClass" name="XMLTableColumnDefinitionDefault" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression">
456 <eStructuralFeatures xsi:type="ecore:EReference" name="valueExpr" lowerBound="1"
457 eType="ecore:EClass ../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//QueryValueExpression"
458 containment="true"/>
459 <eStructuralFeatures xsi:type="ecore:EReference" name="columnDefinitionRegular"
460 lowerBound="1" eType="#//XMLTableColumnDefinitionRegular" transient="true"
461 eOpposite="#//XMLTableColumnDefinitionRegular/columnDefinitionDefault"/>
462 </eClassifiers>
463 <eClassifiers xsi:type="ecore:EClass" name="XMLSerializeFunctionEncoding" eSuperTypes="../../org.eclipse.datatools.modelbase.sql.query/model/SQLQueryModel.ecore#//SQLQueryObject">
464 <eStructuralFeatures xsi:type="ecore:EAttribute" name="encodingName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
465 </eClassifiers>
466</ecore:EPackage>