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

xmpp.jingle.transports.s5b._1.Transport Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.10.04 at 01:10:24 PM KST 
//


package xmpp.jingle.transports.s5b._1;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice>
 *         <element ref="{urn:xmpp:jingle:transports:s5b:1}activated" minOccurs="0"/>
 *         <element ref="{urn:xmpp:jingle:transports:s5b:1}candidate" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="candidate-error" type="{urn:xmpp:jingle:transports:s5b:1}empty" minOccurs="0"/>
 *         <element ref="{urn:xmpp:jingle:transports:s5b:1}candidate-used" minOccurs="0"/>
 *         <element name="proxy-error" type="{urn:xmpp:jingle:transports:s5b:1}empty" minOccurs="0"/>
 *       </choice>
 *       <attribute name="dstaddr" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="mode" default="tcp">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="tcp"/>
 *             <enumeration value="udp"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="sid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "activated", "candidate", "candidateError", "candidateUsed", "proxyError" }) @XmlRootElement(name = "transport") public class Transport { protected Activated activated; protected List candidate; @XmlElement(name = "candidate-error") protected String candidateError; @XmlElement(name = "candidate-used") protected CandidateUsed candidateUsed; @XmlElement(name = "proxy-error") protected String proxyError; @XmlAttribute(name = "dstaddr") protected String dstaddr; @XmlAttribute(name = "mode") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String mode; @XmlAttribute(name = "sid", required = true) protected String sid; /** * Gets the value of the activated property. * * @return * possible object is * {@link Activated } * */ public Activated getActivated() { return activated; } /** * Sets the value of the activated property. * * @param value * allowed object is * {@link Activated } * */ public void setActivated(Activated value) { this.activated = value; } /** * Gets the value of the candidate 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 candidate property. * *

* For example, to add a new item, do as follows: *

     *    getCandidate().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Candidate } * * */ public List getCandidate() { if (candidate == null) { candidate = new ArrayList(); } return this.candidate; } /** * Gets the value of the candidateError property. * * @return * possible object is * {@link String } * */ public String getCandidateError() { return candidateError; } /** * Sets the value of the candidateError property. * * @param value * allowed object is * {@link String } * */ public void setCandidateError(String value) { this.candidateError = value; } /** * Gets the value of the candidateUsed property. * * @return * possible object is * {@link CandidateUsed } * */ public CandidateUsed getCandidateUsed() { return candidateUsed; } /** * Sets the value of the candidateUsed property. * * @param value * allowed object is * {@link CandidateUsed } * */ public void setCandidateUsed(CandidateUsed value) { this.candidateUsed = value; } /** * Gets the value of the proxyError property. * * @return * possible object is * {@link String } * */ public String getProxyError() { return proxyError; } /** * Sets the value of the proxyError property. * * @param value * allowed object is * {@link String } * */ public void setProxyError(String value) { this.proxyError = value; } /** * Gets the value of the dstaddr property. * * @return * possible object is * {@link String } * */ public String getDstaddr() { return dstaddr; } /** * Sets the value of the dstaddr property. * * @param value * allowed object is * {@link String } * */ public void setDstaddr(String value) { this.dstaddr = value; } /** * Gets the value of the mode property. * * @return * possible object is * {@link String } * */ public String getMode() { if (mode == null) { return "tcp"; } else { return mode; } } /** * Sets the value of the mode property. * * @param value * allowed object is * {@link String } * */ public void setMode(String value) { this.mode = value; } /** * Gets the value of the sid property. * * @return * possible object is * {@link String } * */ public String getSid() { return sid; } /** * Sets the value of the sid property. * * @param value * allowed object is * {@link String } * */ public void setSid(String value) { this.sid = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy