xmpp.sec_label.catalog._2.Catalog 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.sec_label.catalog._2;
import java.math.BigInteger;
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 xmpp.sec_label._0.Securitylabel;
/**
* 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="item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <element ref="{urn:xmpp:sec-label:0}securitylabel"/>
* </sequence>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}selector"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}default"/>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}to"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}from"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}name"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}desc"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}id"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}size"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}restrict"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
@XmlRootElement(name = "catalog")
public class Catalog {
protected List item;
@XmlAttribute(name = "to", namespace = "urn:xmpp:sec-label:catalog:2")
protected String to;
@XmlAttribute(name = "from", namespace = "urn:xmpp:sec-label:catalog:2")
protected String from;
@XmlAttribute(name = "name", namespace = "urn:xmpp:sec-label:catalog:2")
protected String name;
@XmlAttribute(name = "desc", namespace = "urn:xmpp:sec-label:catalog:2")
protected String desc;
@XmlAttribute(name = "id", namespace = "urn:xmpp:sec-label:catalog:2")
protected String id;
@XmlAttribute(name = "size", namespace = "urn:xmpp:sec-label:catalog:2")
protected BigInteger size;
@XmlAttribute(name = "restrict", namespace = "urn:xmpp:sec-label:catalog:2")
protected Boolean restrict;
/**
* Gets the value of the item 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 item property.
*
*
* For example, to add a new item, do as follows:
*
* getItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Catalog.Item }
*
*
*/
public List getItem() {
if (item == null) {
item = new ArrayList();
}
return this.item;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = 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 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 size property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSize(BigInteger value) {
this.size = value;
}
/**
* Gets the value of the restrict property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRestrict() {
return restrict;
}
/**
* Sets the value of the restrict property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRestrict(Boolean value) {
this.restrict = 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 minOccurs="0">
* <element ref="{urn:xmpp:sec-label:0}securitylabel"/>
* </sequence>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}selector"/>
* <attribute ref="{urn:xmpp:sec-label:catalog:2}default"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"securitylabel"
})
public static class Item {
@XmlElement(namespace = "urn:xmpp:sec-label:0")
protected Securitylabel securitylabel;
@XmlAttribute(name = "selector", namespace = "urn:xmpp:sec-label:catalog:2")
protected String selector;
@XmlAttribute(name = "default", namespace = "urn:xmpp:sec-label:catalog:2")
protected Boolean _default;
/**
* Gets the value of the securitylabel property.
*
* @return
* possible object is
* {@link Securitylabel }
*
*/
public Securitylabel getSecuritylabel() {
return securitylabel;
}
/**
* Sets the value of the securitylabel property.
*
* @param value
* allowed object is
* {@link Securitylabel }
*
*/
public void setSecuritylabel(Securitylabel value) {
this.securitylabel = value;
}
/**
* Gets the value of the selector property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSelector() {
return selector;
}
/**
* Sets the value of the selector property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSelector(String value) {
this.selector = value;
}
/**
* Gets the value of the default property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDefault() {
return _default;
}
/**
* Sets the value of the default property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDefault(Boolean value) {
this._default = value;
}
}
}