xmpp.sm._3.Enabled 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.sm._3;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<urn:xmpp:sm:3>empty">
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="resume" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "enabled")
public class Enabled {
@XmlValue
protected String value;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "location")
protected String location;
@XmlAttribute(name = "max")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger max;
@XmlAttribute(name = "resume")
protected Boolean resume;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = 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;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocation(String value) {
this.location = value;
}
/**
* Gets the value of the max property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMax() {
return max;
}
/**
* Sets the value of the max property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMax(BigInteger value) {
this.max = value;
}
/**
* Gets the value of the resume property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isResume() {
if (resume == null) {
return false;
} else {
return resume;
}
}
/**
* Sets the value of the resume property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setResume(Boolean value) {
this.resume = value;
}
}