1
2
3
4
5
6
7
8 package org.opentrafficsim.road.network.factory.vissim.xsd;
9
10 import java.util.ArrayList;
11 import java.util.List;
12
13 import javax.xml.bind.JAXBElement;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlElementRef;
18 import javax.xml.bind.annotation.XmlElementRefs;
19 import javax.xml.bind.annotation.XmlMixed;
20 import javax.xml.bind.annotation.XmlRootElement;
21 import javax.xml.bind.annotation.XmlSchemaType;
22 import javax.xml.bind.annotation.XmlType;
23
24 import org.opentrafficsim.road.network.factory.vissim.GTUTYPE;
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 @XmlAccessorType(XmlAccessType.FIELD)
55 @XmlType(name = "", propOrder = {"content"})
56 @XmlRootElement(name = "DEFINITIONS")
57 public class DEFINITIONS
58 {
59
60 @XmlElementRefs({
61 @XmlElementRef(name = "LANETYPE", namespace = "http://www.opentrafficsim.org/ots", type = LANETYPE.class,
62 required = false),
63 @XmlElementRef(name = "GTUTYPE", namespace = "http://www.opentrafficsim.org/ots", type = GTUTYPE.class,
64 required = false),
65 @XmlElementRef(name = "GTU", namespace = "http://www.opentrafficsim.org/ots", type = GTU.class, required = false),
66 @XmlElementRef(name = "ROADTYPE", namespace = "http://www.opentrafficsim.org/ots", type = ROADTYPE.class,
67 required = false),
68 @XmlElementRef(name = "ROADLAYOUT", namespace = "http://www.opentrafficsim.org/ots", type = ROADLAYOUT.class,
69 required = false),
70 @XmlElementRef(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class,
71 required = false),
72 @XmlElementRef(name = "GLOBAL", namespace = "http://www.opentrafficsim.org/ots", type = GLOBAL.class,
73 required = false),
74 @XmlElementRef(name = "GTUMIX", namespace = "http://www.opentrafficsim.org/ots", type = GTUMIX.class,
75 required = false)})
76 @XmlMixed
77 protected List<Object> content;
78
79 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
80 @XmlSchemaType(name = "anyURI")
81 protected String base;
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100 public List<Object> getContent()
101 {
102 if (content == null)
103 {
104 content = new ArrayList<Object>();
105 }
106 return this.content;
107 }
108
109
110
111
112
113 public String getBase()
114 {
115 return base;
116 }
117
118
119
120
121
122 public void setBase(String value)
123 {
124 this.base = value;
125 }
126
127 }