View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v2.3.7 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2024.08.29 at 06:50:16 PM CEST 
6   //
7   
8   
9   package org.opentrafficsim.xml.generated;
10  
11  import java.io.Serializable;
12  import java.math.BigInteger;
13  import java.util.ArrayList;
14  import java.util.List;
15  import javax.annotation.Generated;
16  import javax.xml.bind.annotation.XmlAccessType;
17  import javax.xml.bind.annotation.XmlAccessorType;
18  import javax.xml.bind.annotation.XmlAttribute;
19  import javax.xml.bind.annotation.XmlElement;
20  import javax.xml.bind.annotation.XmlRootElement;
21  import javax.xml.bind.annotation.XmlSchemaType;
22  import javax.xml.bind.annotation.XmlType;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType&gt;
32   *   &lt;complexContent&gt;
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34   *       &lt;sequence maxOccurs="unbounded"&gt;
35   *         &lt;element name="Replication"&gt;
36   *           &lt;complexType&gt;
37   *             &lt;complexContent&gt;
38   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
39   *                 &lt;attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
40   *                 &lt;attribute name="Seed" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
41   *               &lt;/restriction&gt;
42   *             &lt;/complexContent&gt;
43   *           &lt;/complexType&gt;
44   *         &lt;/element&gt;
45   *       &lt;/sequence&gt;
46   *       &lt;attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /&gt;
47   *     &lt;/restriction&gt;
48   *   &lt;/complexContent&gt;
49   * &lt;/complexType&gt;
50   * </pre>
51   * 
52   * 
53   */
54  @XmlAccessorType(XmlAccessType.FIELD)
55  @XmlType(name = "", propOrder = {
56      "replication"
57  })
58  @XmlRootElement(name = "RandomStream")
59  @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
60  public class RandomStream
61      implements Serializable
62  {
63  
64      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
65      private final static long serialVersionUID = 10102L;
66      @XmlElement(name = "Replication", required = true)
67      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
68      protected List<RandomStream.Replication> replication;
69      @XmlAttribute(name = "Id", required = true)
70      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
71      protected String id;
72  
73      /**
74       * Gets the value of the replication property.
75       * 
76       * <p>
77       * This accessor method returns a reference to the live list,
78       * not a snapshot. Therefore any modification you make to the
79       * returned list will be present inside the JAXB object.
80       * This is why there is not a <CODE>set</CODE> method for the replication property.
81       * 
82       * <p>
83       * For example, to add a new item, do as follows:
84       * <pre>
85       *    getReplication().add(newItem);
86       * </pre>
87       * 
88       * 
89       * <p>
90       * Objects of the following type(s) are allowed in the list
91       * {@link RandomStream.Replication }
92       * 
93       * 
94       */
95      @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
96      public List<RandomStream.Replication> getReplication() {
97          if (replication == null) {
98              replication = new ArrayList<RandomStream.Replication>();
99          }
100         return this.replication;
101     }
102 
103     /**
104      * Gets the value of the id property.
105      * 
106      * @return
107      *     possible object is
108      *     {@link String }
109      *     
110      */
111     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
112     public String getId() {
113         return id;
114     }
115 
116     /**
117      * Sets the value of the id property.
118      * 
119      * @param value
120      *     allowed object is
121      *     {@link String }
122      *     
123      */
124     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
125     public void setId(String value) {
126         this.id = value;
127     }
128 
129 
130     /**
131      * <p>Java class for anonymous complex type.
132      * 
133      * <p>The following schema fragment specifies the expected content contained within this class.
134      * 
135      * <pre>
136      * &lt;complexType&gt;
137      *   &lt;complexContent&gt;
138      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
139      *       &lt;attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
140      *       &lt;attribute name="Seed" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
141      *     &lt;/restriction&gt;
142      *   &lt;/complexContent&gt;
143      * &lt;/complexType&gt;
144      * </pre>
145      * 
146      * 
147      */
148     @XmlAccessorType(XmlAccessType.FIELD)
149     @XmlType(name = "")
150     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
151     public static class Replication
152         implements Serializable
153     {
154 
155         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
156         private final static long serialVersionUID = 10102L;
157         @XmlAttribute(name = "Id", required = true)
158         @XmlSchemaType(name = "positiveInteger")
159         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
160         protected BigInteger id;
161         @XmlAttribute(name = "Seed", required = true)
162         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
163         protected BigInteger seed;
164 
165         /**
166          * Gets the value of the id property.
167          * 
168          * @return
169          *     possible object is
170          *     {@link BigInteger }
171          *     
172          */
173         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
174         public BigInteger getId() {
175             return id;
176         }
177 
178         /**
179          * Sets the value of the id property.
180          * 
181          * @param value
182          *     allowed object is
183          *     {@link BigInteger }
184          *     
185          */
186         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
187         public void setId(BigInteger value) {
188             this.id = value;
189         }
190 
191         /**
192          * Gets the value of the seed property.
193          * 
194          * @return
195          *     possible object is
196          *     {@link BigInteger }
197          *     
198          */
199         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
200         public BigInteger getSeed() {
201             return seed;
202         }
203 
204         /**
205          * Sets the value of the seed property.
206          * 
207          * @param value
208          *     allowed object is
209          *     {@link BigInteger }
210          *     
211          */
212         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
213         public void setSeed(BigInteger value) {
214             this.seed = value;
215         }
216 
217     }
218 
219 }