Menu

[r2876]: / trunk / ch.sahits.codegen.java / fragments / table.xsd  Maximize  Restore  History

Download this file

46 lines (41 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://codegen.sahits.ch/java/table" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sahits="http://codegen.sahits.ch/java/table" xmlns:Q1="http://codegen.sahits.ch/java">
<include schemaLocation="input.xsd"></include>
<complexType name="tableType">
<complexContent>
<extension base="Q1:modelType">
<sequence>
<element name="field" type="sahits:fieldType"
minOccurs="1" maxOccurs="unbounded">
</element>
<element name="index" type="sahits:indexType" minOccurs="0" maxOccurs="unbounded"></element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="fieldType">
<attribute name="fieldName" type="string" use="required"></attribute>
<attribute name="nullAllowed" type="boolean" use="optional"></attribute>
<attribute name="type" type="typeType">
</attribute>
</complexType>
<complexType name="typeType" abstract="true">
</complexType>
<complexType name="indexType">
<sequence>
<element ref="sahits:field" minOccurs="1" maxOccurs="unbounded"></element>
</sequence>
<attribute name="indexName" type="string" use="required"></attribute>
<attribute name="type" type="string" use="optional"></attribute>
</complexType>
<element name="field" type="string"></element>
<complexType name="indexTypeType">
<simpleContent>
<restriction base="string">
<enumeration value="UNIQUE"></enumeration>
<enumeration value="BITMAP"></enumeration>
<enumeration value="FOREGIN"></enumeration>
</restriction>
</simpleContent>
</complexType>
</schema>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.