View Javadoc
1   /*
2    * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
3    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4    *
5    * This code is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU General Public License version 2 only, as
7    * published by the Free Software Foundation.  Oracle designates this
8    * particular file as subject to the "Classpath" exception as provided
9    * by Oracle in the LICENSE file that accompanied this code.
10   *
11   * This code is distributed in the hope that it will be useful, but WITHOUT
12   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14   * version 2 for more details (a copy is included in the LICENSE file that
15   * accompanied this code).
16   *
17   * You should have received a copy of the GNU General Public License version
18   * 2 along with this work; if not, write to the Free Software Foundation,
19   * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20   *
21   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22   * or visit www.oracle.com if you need additional information or have any
23   * questions.
24   */
25  
26  //
27  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600
28  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
29  // Any modifications to this file will be lost upon recompilation of the source schema.
30  // Generated on: 2008.11.17 at 11:49:55 AM CET
31  //
32  
33  
34  package com.sun.xml.internal.ws.runtime.config;
35  
36  import org.w3c.dom.Element;
37  
38  import javax.xml.bind.annotation.*;
39  import javax.xml.namespace.QName;
40  import java.util.ArrayList;
41  import java.util.HashMap;
42  import java.util.List;
43  import java.util.Map;
44  
45  
46  /**
47   * <p>Java class for tubelinesConfigCType complex type.
48   *
49   * <p>The following schema fragment specifies the expected content contained within this class.
50   *
51   * <pre>
52   * &lt;complexType name="tubelinesConfigCType">
53   *   &lt;complexContent>
54   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55   *       &lt;sequence>
56   *         &lt;element ref="{http://java.sun.com/xml/ns/metro/config}tubeline-mapping" maxOccurs="unbounded" minOccurs="0"/>
57   *         &lt;element ref="{http://java.sun.com/xml/ns/metro/config}tubeline" maxOccurs="unbounded" minOccurs="0"/>
58   *         &lt;any/>
59   *       &lt;/sequence>
60   *       &lt;attribute name="default" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
61   *     &lt;/restriction>
62   *   &lt;/complexContent>
63   * &lt;/complexType>
64   * </pre>
65   *
66   *
67   */
68  @XmlAccessorType(XmlAccessType.FIELD)
69  @XmlType(name = "tubelinesConfigCType", propOrder = {
70      "tubelineMappings",
71      "tubelineDefinitions",
72      "any"
73  })
74  public class Tubelines {
75  
76      @XmlElement(name = "tubeline-mapping")
77      protected List<TubelineMapping> tubelineMappings;
78      @XmlElement(name = "tubeline")
79      protected List<TubelineDefinition> tubelineDefinitions;
80      @XmlAnyElement(lax = true)
81      protected List<Object> any;
82      @XmlAttribute(name = "default")
83      @XmlSchemaType(name = "anyURI")
84      protected String _default;
85      @XmlAnyAttribute
86      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
87  
88      /**
89       * Gets the value of the tubelineMappings property.
90       *
91       * <p>
92       * This accessor method returns a reference to the live list,
93       * not a snapshot. Therefore any modification you make to the
94       * returned list will be present inside the JAXB object.
95       * This is why there is not a <CODE>set</CODE> method for the tubelineMappings property.
96       *
97       * <p>
98       * For example, to add a new item, do as follows:
99       * <pre>
100      *    getTubelineMappings().add(newItem);
101      * </pre>
102      *
103      *
104      * <p>
105      * Objects of the following type(s) are allowed in the list
106      * {@link TubelineMapping }
107      *
108      *
109      */
110     public List<TubelineMapping> getTubelineMappings() {
111         if (tubelineMappings == null) {
112             tubelineMappings = new ArrayList<TubelineMapping>();
113         }
114         return this.tubelineMappings;
115     }
116 
117     /**
118      * Gets the value of the tubelineDefinitions property.
119      *
120      * <p>
121      * This accessor method returns a reference to the live list,
122      * not a snapshot. Therefore any modification you make to the
123      * returned list will be present inside the JAXB object.
124      * This is why there is not a <CODE>set</CODE> method for the tubelineDefinitions property.
125      *
126      * <p>
127      * For example, to add a new item, do as follows:
128      * <pre>
129      *    getTubelineDefinitions().add(newItem);
130      * </pre>
131      *
132      *
133      * <p>
134      * Objects of the following type(s) are allowed in the list
135      * {@link TubelineDefinition }
136      *
137      *
138      */
139     public List<TubelineDefinition> getTubelineDefinitions() {
140         if (tubelineDefinitions == null) {
141             tubelineDefinitions = new ArrayList<TubelineDefinition>();
142         }
143         return this.tubelineDefinitions;
144     }
145 
146     /**
147      * Gets the value of the any property.
148      *
149      * <p>
150      * This accessor method returns a reference to the live list,
151      * not a snapshot. Therefore any modification you make to the
152      * returned list will be present inside the JAXB object.
153      * This is why there is not a <CODE>set</CODE> method for the any property.
154      *
155      * <p>
156      * For example, to add a new item, do as follows:
157      * <pre>
158      *    getAny().add(newItem);
159      * </pre>
160      *
161      *
162      * <p>
163      * Objects of the following type(s) are allowed in the list
164      * {@link Element }
165      * {@link Object }
166      *
167      *
168      */
169     public List<Object> getAny() {
170         if (any == null) {
171             any = new ArrayList<Object>();
172         }
173         return this.any;
174     }
175 
176     /**
177      * Gets the value of the default property.
178      *
179      * @return
180      *     possible object is
181      *     {@link String }
182      *
183      */
184     public String getDefault() {
185         return _default;
186     }
187 
188     /**
189      * Sets the value of the default property.
190      *
191      * @param value
192      *     allowed object is
193      *     {@link String }
194      *
195      */
196     public void setDefault(String value) {
197         this._default = value;
198     }
199 
200     /**
201      * Gets a map that contains attributes that aren't bound to any typed property on this class.
202      *
203      * <p>
204      * the map is keyed by the name of the attribute and
205      * the value is the string value of the attribute.
206      *
207      * the map returned by this method is live, and you can add new attribute
208      * by updating the map directly. Because of this design, there's no setter.
209      *
210      *
211      * @return
212      *     always non-null
213      */
214     public Map<QName, String> getOtherAttributes() {
215         return otherAttributes;
216     }
217 
218 }