xref: /AOO41X/main/offapi/com/sun/star/xsd/DataTypeClass.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_xsd_DataTypeClass_idl__
24#define __com_sun_star_xsd_DataTypeClass_idl__
25
26//=============================================================================
27
28module com {  module sun {  module star {  module xsd {
29
30//=============================================================================
31
32/** These constants specify the class used of an <type>XDataType</type>
33*/
34constants DataTypeClass
35{
36    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#string">XSD compliant string type</a>
37    */
38    const short STRING = 1;
39
40    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#boolean">XSD compliant boolean type</a>
41    */
42    const short BOOLEAN = 2;
43
44    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#decimal">XSD compliant decimal type</a>
45    */
46    const short DECIMAL = 3;
47
48    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#float">XSD compliant float type</a>
49    */
50    const short FLOAT = 4;
51
52    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#double">XSD compliant double type</a>
53    */
54    const short DOUBLE = 5;
55
56    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#duration">XSD compliant duration type</a>
57    */
58    const short DURATION = 6;
59
60    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#datetime">XSD compliant datetime type</a>
61    */
62    const short DATETIME = 7;
63
64    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#time">XSD compliant time type</a>
65    */
66    const short TIME = 8;
67
68    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#date">XSD compliant date type</a>
69    */
70    const short DATE = 9;
71
72    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">XSD compliant gYearMonth type</a>
73    */
74    const short gYearMonth = 10;
75
76    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gYear">XSD compliant gYear type</a>
77    */
78    const short gYear = 11;
79
80    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">XSD compliant gMonthDay type</a>
81    */
82    const short gMonthDay = 12;
83
84    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gDay">XSD compliant gDay type</a>
85    */
86    const short gDay = 13;
87
88    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gMonth">XSD compliant gMonth type</a>
89    */
90    const short gMonth = 14;
91
92    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#hexBinary">XSD compliant hexBinary type</a>
93    */
94    const short hexBinary = 15;
95
96    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#base64Binary">XSD compliant base64Binary type</a>
97    */
98    const short base64Binary = 16;
99
100    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#anyURI">XSD compliant anyURI type</a>
101    */
102    const short anyURI = 17;
103
104    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#QName">XSD compliant QName type</a>
105    */
106    const short QName = 18;
107
108    /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#NOTATION">XSD compliant NOTATION type</a>
109    */
110    const short NOTATION = 19;
111
112};
113
114//=============================================================================
115
116}; }; }; };
117
118/*=============================================================================
119
120=============================================================================*/
121#endif
122