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.bind.annotation.adapters.CollapsedStringAdapter;
40  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
41  import javax.xml.namespace.QName;
42  import java.util.ArrayList;
43  import java.util.HashMap;
44  import java.util.List;
45  import java.util.Map;
46  
47  
48  /**
49   * <p>Java class for tubelineDefinitionCType complex type.
50   *
51   * <p>The following schema fragment specifies the expected content contained within this class.
52   *
53   * <pre>
54   * &lt;complexType name="tubelineDefinitionCType">
55   *   &lt;complexContent>
56   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
57   *       &lt;sequence>
58   *         &lt;element name="client-side" type="{http://java.sun.com/xml/ns/metro/config}tubeFactoryListCType" minOccurs="0"/>
59   *         &lt;element name="endpoint-side" type="{http://java.sun.com/xml/ns/metro/config}tubeFactoryListCType" minOccurs="0"/>
60   *         &lt;any/>
61   *       &lt;/sequence>
62   *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}ID" />
63   *     &lt;/restriction>
64   *   &lt;/complexContent>
65   * &lt;/complexType>
66   * </pre>
67   *
68   *
69   */
70  @XmlAccessorType(XmlAccessType.FIELD)
71  @XmlType(name = "tubelineDefinitionCType", propOrder = {
72      "clientSide",
73      "endpointSide",
74      "any"
75  })
76  public class TubelineDefinition {
77  
78      @XmlElement(name = "client-side")
79      protected TubeFactoryList clientSide;
80      @XmlElement(name = "endpoint-side")
81      protected TubeFactoryList endpointSide;
82      @XmlAnyElement(lax = true)
83      protected List<Object> any;
84      @XmlAttribute
85      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
86      @XmlID
87      @XmlSchemaType(name = "ID")
88      protected String name;
89      @XmlAnyAttribute
90      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
91  
92      /**
93       * Gets the value of the clientSide property.
94       *
95       * @return
96       *     possible object is
97       *     {@link TubeFactoryList }
98       *
99       */
100     public TubeFactoryList getClientSide() {
101         return clientSide;
102     }
103 
104     /**
105      * Sets the value of the clientSide property.
106      *
107      * @param value
108      *     allowed object is
109      *     {@link TubeFactoryList }
110      *
111      */
112     public void setClientSide(TubeFactoryList value) {
113         this.clientSide = value;
114     }
115 
116     /**
117      * Gets the value of the endpointSide property.
118      *
119      * @return
120      *     possible object is
121      *     {@link TubeFactoryList }
122      *
123      */
124     public TubeFactoryList getEndpointSide() {
125         return endpointSide;
126     }
127 
128     /**
129      * Sets the value of the endpointSide property.
130      *
131      * @param value
132      *     allowed object is
133      *     {@link TubeFactoryList }
134      *
135      */
136     public void setEndpointSide(TubeFactoryList value) {
137         this.endpointSide = value;
138     }
139 
140     /**
141      * Gets the value of the any property.
142      *
143      * <p>
144      * This accessor method returns a reference to the live list,
145      * not a snapshot. Therefore any modification you make to the
146      * returned list will be present inside the JAXB object.
147      * This is why there is not a <CODE>set</CODE> method for the any property.
148      *
149      * <p>
150      * For example, to add a new item, do as follows:
151      * <pre>
152      *    getAny().add(newItem);
153      * </pre>
154      *
155      *
156      * <p>
157      * Objects of the following type(s) are allowed in the list
158      * {@link Element }
159      * {@link Object }
160      *
161      *
162      */
163     public List<Object> getAny() {
164         if (any == null) {
165             any = new ArrayList<Object>();
166         }
167         return this.any;
168     }
169 
170     /**
171      * Gets the value of the name property.
172      *
173      * @return
174      *     possible object is
175      *     {@link String }
176      *
177      */
178     public String getName() {
179         return name;
180     }
181 
182     /**
183      * Sets the value of the name property.
184      *
185      * @param value
186      *     allowed object is
187      *     {@link String }
188      *
189      */
190     public void setName(String value) {
191         this.name = value;
192     }
193 
194     /**
195      * Gets a map that contains attributes that aren't bound to any typed property on this class.
196      *
197      * <p>
198      * the map is keyed by the name of the attribute and
199      * the value is the string value of the attribute.
200      *
201      * the map returned by this method is live, and you can add new attribute
202      * by updating the map directly. Because of this design, there's no setter.
203      *
204      *
205      * @return
206      *     always non-null
207      */
208     public Map<QName, String> getOtherAttributes() {
209         return otherAttributes;
210     }
211 
212 }