All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.transport.tcp.servicechannel.stubs.OpenChannelResponse Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * 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 openChannelResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "openChannelResponse", propOrder = { "channelId", "negotiatedMimeTypes", "negotiatedParams" }) public class OpenChannelResponse { @XmlElement(name = "channelId") protected int channelId; @XmlElement(required = true) protected List negotiatedMimeTypes; protected List negotiatedParams; /** * Gets the value of the return property. * */ public int getChannelId() { return channelId; } /** * Sets the value of the return property. * */ public void setChannelId(int channelId) { this.channelId = channelId; } /** * 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy