jabber.iq.rpc.MethodCall 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 jabber.iq.rpc;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
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">
* <all>
* <element name="methodName">
* <simpleType>
* <restriction base="{jabber:iq:rpc}ASCIIString">
* <pattern value="([A-Za-z0-9]|/|\.|:|_)*"/>
* </restriction>
* </simpleType>
* </element>
* <element name="params" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="param" type="{jabber:iq:rpc}ParamType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "methodCall")
public class MethodCall {
@XmlElement(required = true)
protected String methodName;
protected MethodCall.Params params;
/**
* Gets the value of the methodName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMethodName() {
return methodName;
}
/**
* Sets the value of the methodName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMethodName(String value) {
this.methodName = value;
}
/**
* Gets the value of the params property.
*
* @return
* possible object is
* {@link MethodCall.Params }
*
*/
public MethodCall.Params getParams() {
return params;
}
/**
* Sets the value of the params property.
*
* @param value
* allowed object is
* {@link MethodCall.Params }
*
*/
public void setParams(MethodCall.Params value) {
this.params = value;
}
/**
* 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">
* <sequence>
* <element name="param" type="{jabber:iq:rpc}ParamType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"param"
})
public static class Params {
protected List param;
/**
* Gets the value of the param 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 param property.
*
*
* For example, to add a new item, do as follows:
*
* getParam().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ParamType }
*
*
*/
public List getParam() {
if (param == null) {
param = new ArrayList();
}
return this.param;
}
}
}