com.sun.xml.ws.transport.tcp.servicechannel.stubs.OpenChannel Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.ws.transport.tcp.servicechannel.stubs;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for openChannel complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "openChannel", propOrder = {
"targetWSURI",
"negotiatedMimeTypes",
"negotiatedParams"
})
public class OpenChannel {
@XmlElement(required = true)
protected String targetWSURI;
@XmlElement(required = true)
protected List negotiatedMimeTypes;
protected List negotiatedParams;
/**
* Gets the value of the targetWSURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetWSURI() {
return targetWSURI;
}
/**
* Sets the value of the targetWSURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetWSURI(String value) {
this.targetWSURI = value;
}
/**
* Gets the value of the negotiatedMimeTypes property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the negotiatedMimeTypes property.
*
*
* For example, to add a new item, do as follows:
*
* getNegotiatedMimeTypes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNegotiatedMimeTypes() {
if (negotiatedMimeTypes == null) {
negotiatedMimeTypes = new ArrayList();
}
return this.negotiatedMimeTypes;
}
/**
* Gets the value of the negotiatedParams property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the negotiatedParams property.
*
*
* For example, to add a new item, do as follows:
*
* getNegotiatedParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNegotiatedParams() {
if (negotiatedParams == null) {
negotiatedParams = new ArrayList();
}
return this.negotiatedParams;
}
}