src/share/jaxws_classes/com/sun/xml/internal/ws/runtime/config/TubelineDefinition.java

Sun, 15 Dec 2013 23:35:45 +0100

author
mkos
date
Sun, 15 Dec 2013 23:35:45 +0100
changeset 494
2fcd3ddb57a6
parent 0
373ffda63c9a
permissions
-rw-r--r--

8025152: Enhance activation set up
8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException
Summary: fix also reviewed by Bill Shannon, Alexander Fomin
Reviewed-by: dfuchs, hawtin, mgrebac
Contributed-by: bill.shannon@oracle.com

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

mercurial