diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java | 363 |
1 files changed, 363 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java b/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java new file mode 100644 index 0000000..01d05e3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java @@ -0,0 +1,363 @@ + +package at.gv.util.xsd.zkopf; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PushResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PushResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="FailedDN" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PushResponseType", propOrder = { + "success", + "error" +}) +public class PushResponseType { + + @XmlElement(name = "Success") + protected PushResponseType.Success success; + @XmlElement(name = "Error") + protected PushResponseType.Error error; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link PushResponseType.Success } + * + */ + public PushResponseType.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link PushResponseType.Success } + * + */ + public void setSuccess(PushResponseType.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link PushResponseType.Error } + * + */ + public PushResponseType.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link PushResponseType.Error } + * + */ + public void setError(PushResponseType.Error value) { + this.error = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="FailedDN" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info", + "failedDN" + }) + public static class Error { + + @XmlElement(name = "Code") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected String info; + @XmlElement(name = "FailedDN") + protected List<PushResponseType.Error.FailedDN> failedDN; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + /** + * Gets the value of the failedDN property. + * + * <p> + * 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 <CODE>set</CODE> method for the failedDN property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFailedDN().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PushResponseType.Error.FailedDN } + * + * + */ + public List<PushResponseType.Error.FailedDN> getFailedDN() { + if (failedDN == null) { + failedDN = new ArrayList<PushResponseType.Error.FailedDN>(); + } + return this.failedDN; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dn", + "info" + }) + public static class FailedDN { + + @XmlElement(name = "DN", required = true) + protected String dn; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the dn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDN() { + return dn; + } + + /** + * Sets the value of the dn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDN(String value) { + this.dn = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + +} |