From 107930978eefc7234e99bbccd483f4da3a690c0d Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 25 Mar 2014 12:11:34 +0100 Subject: add UR Client version 5 remove UR Client version 1 change egovutils version to 1.0.5 --- .../gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java | 161 +++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java (limited to 'src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java') diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java new file mode 100644 index 0000000..77ccc28 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java @@ -0,0 +1,161 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +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.XmlType; + + +/** + * CustomFault reporting structure + * + *

Java class for CustomFaultType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="CustomFaultType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ *         <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ *         <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}FaultHint" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CustomFaultType", propOrder = { + "code", + "reason", + "help", + "faultHint" +}) +public class CustomFaultType { + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Reason", required = true) + protected List reason; + @XmlElement(name = "Help") + protected String help; + @XmlElement(name = "FaultHint") + protected List faultHint; + + /** + * 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 reason 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 reason property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getReason().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getReason() { + if (reason == null) { + reason = new ArrayList(); + } + return this.reason; + } + + /** + * Gets the value of the help property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHelp() { + return help; + } + + /** + * Sets the value of the help property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHelp(String value) { + this.help = value; + } + + /** + * Gets the value of the faultHint 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 faultHint property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getFaultHint().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getFaultHint() { + if (faultHint == null) { + faultHint = new ArrayList(); + } + return this.faultHint; + } + +} -- cgit v1.2.3