org.jabber.protocol.xdata_validate.Validate 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.xdata_validate;
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;
/**
* 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>
* <choice minOccurs="0">
* <element ref="{http://jabber.org/protocol/xdata-validate}basic"/>
* <element ref="{http://jabber.org/protocol/xdata-validate}open"/>
* <element ref="{http://jabber.org/protocol/xdata-validate}range"/>
* <element ref="{http://jabber.org/protocol/xdata-validate}regex"/>
* </choice>
* <element ref="{http://jabber.org/protocol/xdata-validate}list-range" minOccurs="0"/>
* </sequence>
* <attribute name="datatype" type="{http://www.w3.org/2001/XMLSchema}string" default="xs:string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"basic",
"open",
"range",
"regex",
"listRange"
})
@XmlRootElement(name = "validate")
public class Validate {
protected String basic;
protected String open;
protected Range range;
protected String regex;
@XmlElement(name = "list-range")
protected ListRange listRange;
@XmlAttribute(name = "datatype")
protected String datatype;
/**
* Gets the value of the basic property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBasic() {
return basic;
}
/**
* Sets the value of the basic property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBasic(String value) {
this.basic = value;
}
/**
* Gets the value of the open property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOpen() {
return open;
}
/**
* Sets the value of the open property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOpen(String value) {
this.open = value;
}
/**
* Gets the value of the range property.
*
* @return
* possible object is
* {@link Range }
*
*/
public Range getRange() {
return range;
}
/**
* Sets the value of the range property.
*
* @param value
* allowed object is
* {@link Range }
*
*/
public void setRange(Range value) {
this.range = value;
}
/**
* Gets the value of the regex property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegex() {
return regex;
}
/**
* Sets the value of the regex property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegex(String value) {
this.regex = value;
}
/**
* Gets the value of the listRange property.
*
* @return
* possible object is
* {@link ListRange }
*
*/
public ListRange getListRange() {
return listRange;
}
/**
* Sets the value of the listRange property.
*
* @param value
* allowed object is
* {@link ListRange }
*
*/
public void setListRange(ListRange value) {
this.listRange = value;
}
/**
* Gets the value of the datatype property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDatatype() {
if (datatype == null) {
return "xs:string";
} else {
return datatype;
}
}
/**
* Sets the value of the datatype property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDatatype(String value) {
this.datatype = value;
}
}