org.jabber.protocol.address.Address 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 org.jabber.protocol.address;
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;
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>
* <simpleContent>
* <extension base="<http://jabber.org/protocol/address>empty">
* <attribute name="delivered" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="true" />
* <attribute name="desc" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="jid" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
* <enumeration value="bcc"/>
* <enumeration value="cc"/>
* <enumeration value="noreply"/>
* <enumeration value="replyroom"/>
* <enumeration value="replyto"/>
* <enumeration value="to"/>
* <enumeration value="ofrom"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "address")
public class Address {
@XmlValue
protected String value;
@XmlAttribute(name = "delivered")
@XmlSchemaType(name = "anySimpleType")
protected String delivered;
@XmlAttribute(name = "desc")
protected String desc;
@XmlAttribute(name = "jid")
protected String jid;
@XmlAttribute(name = "node")
protected String node;
@XmlAttribute(name = "type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "uri")
protected String uri;
/**
* 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 delivered property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDelivered() {
if (delivered == null) {
return "true";
} else {
return delivered;
}
}
/**
* Sets the value of the delivered property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDelivered(String value) {
this.delivered = value;
}
/**
* Gets the value of the desc property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDesc() {
return desc;
}
/**
* Sets the value of the desc property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDesc(String value) {
this.desc = value;
}
/**
* Gets the value of the jid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJid() {
return jid;
}
/**
* Sets the value of the jid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJid(String value) {
this.jid = value;
}
/**
* Gets the value of the node property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNode() {
return node;
}
/**
* Sets the value of the node property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNode(String value) {
this.node = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
}