From f7c97e3423fa51f9f3d32f0285f2468d95d5987d Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 23 Jan 2020 13:47:25 +0100 Subject: add first version of SZR client v4.0 --- src/main/java/at/gv/util/xsd/szr_v4/Fault.java | 85 ++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/szr_v4/Fault.java (limited to 'src/main/java/at/gv/util/xsd/szr_v4/Fault.java') diff --git a/src/main/java/at/gv/util/xsd/szr_v4/Fault.java b/src/main/java/at/gv/util/xsd/szr_v4/Fault.java new file mode 100644 index 0000000..3855b3d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr_v4/Fault.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.szr_v4; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java-Klasse für Fault complex type. + * + *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + *

+ * <complexType name="Fault">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="Code" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="String" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Fault") +public class Fault { + + @XmlAttribute(name = "Code") + protected String code; + @XmlAttribute(name = "String") + protected String string; + + /** + * Ruft den Wert der code-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCode() { + return code; + } + + /** + * Legt den Wert der code-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCode(String value) { + this.code = value; + } + + /** + * Ruft den Wert der string-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getString() { + return string; + } + + /** + * Legt den Wert der string-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setString(String value) { + this.string = value; + } + +} -- cgit v1.2.3