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

xmpp.rtt._0.Rtt 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.rtt._0;

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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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 maxOccurs="unbounded">
 *         <element ref="{urn:xmpp:rtt:0}t" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:xmpp:rtt:0}e" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:xmpp:rtt:0}w" maxOccurs="unbounded" minOccurs="0"/>
 *       </choice>
 *       <attribute name="seq" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
 *       <attribute name="event" default="edit">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="new"/>
 *             <enumeration value="reset"/>
 *             <enumeration value="edit"/>
 *             <enumeration value="init"/>
 *             <enumeration value="cancel"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "tOrEOrW" }) @XmlRootElement(name = "rtt") public class Rtt { @XmlElements({ @XmlElement(name = "t", type = T.class), @XmlElement(name = "e", type = E.class), @XmlElement(name = "w", type = W.class) }) protected List tOrEOrW; @XmlAttribute(name = "seq", required = true) @XmlSchemaType(name = "unsignedInt") protected long seq; @XmlAttribute(name = "event") protected String event; @XmlAttribute(name = "id") protected String id; /** * Gets the value of the tOrEOrW 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 tOrEOrW property. * *

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

     *    getTOrEOrW().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link T } * {@link E } * {@link W } * * */ public List getTOrEOrW() { if (tOrEOrW == null) { tOrEOrW = new ArrayList(); } return this.tOrEOrW; } /** * Gets the value of the seq property. * */ public long getSeq() { return seq; } /** * Sets the value of the seq property. * */ public void setSeq(long value) { this.seq = value; } /** * Gets the value of the event property. * * @return * possible object is * {@link String } * */ public String getEvent() { if (event == null) { return "edit"; } else { return event; } } /** * Sets the value of the event property. * * @param value * allowed object is * {@link String } * */ public void setEvent(String value) { this.event = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }