summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java')
-rw-r--r--src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java156
1 files changed, 156 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java
new file mode 100644
index 0000000..d66cddd
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java
@@ -0,0 +1,156 @@
+
+package at.gv.util.xsd.ur_V2.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
+ *
+ * <p>Java class for CustomFaultType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="CustomFaultType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ * &lt;element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ * &lt;element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * &lt;element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "CustomFaultType", propOrder = {
+ "code",
+ "reason",
+ "help",
+ "detail"
+})
+public class CustomFaultType {
+
+ @XmlElement(name = "Code", required = true)
+ protected BigInteger code;
+ @XmlElement(name = "Reason", required = true)
+ protected List<String> reason;
+ @XmlElement(name = "Help")
+ protected String help;
+ @XmlElement(name = "Detail")
+ protected Object detail;
+
+ /**
+ * 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.
+ *
+ * <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 reason property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getReason().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getReason() {
+ if (reason == null) {
+ reason = new ArrayList<String>();
+ }
+ 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 detail property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getDetail() {
+ return detail;
+ }
+
+ /**
+ * Sets the value of the detail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setDetail(Object value) {
+ this.detail = value;
+ }
+
+}