diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mzs/ErrorType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/mzs/ErrorType.java | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mzs/ErrorType.java b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java new file mode 100644 index 0000000..9b4d000 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.mzs; + +import java.math.BigInteger; +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 ErrorType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DocumentReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorType", propOrder = { + "code", + "text", + "documentReference" +}) +public class ErrorType + extends MessageType +{ + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Text", required = true) + protected String text; + @XmlElement(name = "DocumentReference") + @XmlSchemaType(name = "anyURI") + protected String documentReference; + + /** + * 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 text property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getText() { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setText(String value) { + this.text = value; + } + + /** + * Gets the value of the documentReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDocumentReference() { + return documentReference; + } + + /** + * Sets the value of the documentReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDocumentReference(String value) { + this.documentReference = value; + } + +} |